Configure the Site Name

From mw.mh370.wiki
Jump to navigation Jump to search


A Guide to Using MediaWiki in a Hosted Environment

An instructional website by the developer of mh370wiki.net - a MediaWiki site about Malaysia Airlines Flight MH370.


Site Name

The Site Name is configured in LocalSettings.php using information supplied during installation.

When MediaWiki was being installed for this site I entered 'My Site Name' and that became the configuration in LocalSettings.php.

To display the site name of your choice just change the values of $wgSitename and $wgMetaNamespace in LocalSettings.php. Here is the configuration for this site:-


The name of the meta namespace (also known as the project namespace), used for pages regarding the wiki itself. If set to false, the value of $wgSitename is assumed. An alias for this namespace is "Project".

The configuration for mh370wiki.net is a bit clearer:-

$wgSitename = "mh370wiki";
$wgMetaNamespace = "MH370wiki";

The Site Name appears in other places, for example in the Search box:-