Snippets:Site Name

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

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:-