Release status: beta
|Implementation||Page action, Database|
|Description||Allows per page editing of various meta tags for SEO reasons|
|Maintainer(s)||Hallo Welt! GmbH|
|Latest version||3.0.0 (2018-05-17)|
|License||GNU General Public License 2.0 or later|
|Translate the RichardHeigl extension if it is available at translatewiki.net|
The AdvancedMeta extension allows setting the robots, keywords and description meta tags for MediaWiki, for SEO purposes. Meta settings can be edited for individual pages, or entire namespaces can be denied from indexing by robots.
Pages that are not excluded from indexing (see Installation) will have an extra section in their edit pages, as shown in the screenshot. These forms allow you to add meta keywords and a description, as well as setting the robots meta tag to index and/or follow your page. If the "index"-checkbox is disabled, keywords and descriptions are of no use obviously, but they will be saved in case you want to have the page indexed later.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'RichardHeigl' );
- Run the update script which will automatically create the necessary database tables that this extension needs.
- Configure as required.
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Note: The following section has to be updated and moved to the ExtensionInstall template:
Add the page Mediawiki:Globalkeywords into your own wiki and write the global keywords there, splitted in commas (,).
There are some settings you can change in LocalSettings.php. Possible settings are namespaces that are indexed by default (default setting: NS_MAIN and NS_PROJECT), and users/usergroups that are allowed to edit the meta settings (default: sysop and bureaucrat).
The following MediaWiki variables are taken into account during configuration of the index and follow rules.
These are initially observed. After saving the index/follow information in the AdvancedMeta dialog only the specific information is valid.
- By default sysops and bureaucrats have this permission allowing to edit meta elements. To give the group user edit permissions, set
- $wgGroupPermissions['user']['advancedmeta-edit'] = true;
Ii is not sure how this extension works combined with other extensions. It is however expected that the ones that also work with keywords and descriptions will collide.
It is incompatible with maintenance script "ImportImages.php".