From MediaWiki.org
(Redirected from Extension:Advanced Meta)
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg

Release status:Extension status beta

AdvancedMeta Dialog Box.jpg
ImplementationTemplate:Extension#type Page action, Database
DescriptionTemplate:Extension#description Allows per page editing of various meta tags for SEO reasons
Maintainer(s)Template:Extension#maintainer Hallo Welt! GmbH
Latest versionTemplate:Extension#version 3.0.0 (2018-05-17)
Compatibility policyCompatibility#mediawiki_extensions master
MediaWikiTemplate:Extension#mediawiki 1.27+
PHPTemplate:Extension#php 5.5+
Database changesTemplate:Extension#needs-updatephp Yes
TablesTemplate:Extension#table1 ext_meta
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
  • $adwmglobalkeywords
Added rightsTemplate:Extension#rights
  • advancedmeta-edit
Hooks usedTemplate:Extension#hook

Translate the AdvancedMeta extension if it is available at translatewiki.net

Check usage and version matrix.

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.


  • Open the AdvancedMeta dialog via the "More" menu: "Search engine optimization".
  • Enter the required information:
    • Title Alias: Shorten the URL to the most important search terms (e.g. advancedmeta-seo-extension)
    • Index: Allow robots to index the page
    • Follow: Allow robots to follow the links in the wiki
    • Description: Give the page a meaningful short description
    • Keywords: Assign meaningful keywords



  • Download and place the file(s) in a directory called AdvancedMeta in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'AdvancedMeta' );
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Configure as required.
  • YesY Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.



  • $adwmglobalkeywords
Use this parameter to add the keywords that should be available globally.
$adwmglobalkeywords = [ 'foo', 'bar', 'baz' ];

The following parameters are provided by MediaWiki core and are taken into account during configuration of the index to follow rules:

These are initially observed. After saving the index/follow information in the AdvancedMeta dialog only the specific information is valid.


  • "advancedmeta-edit"
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;


It is expected that this extension does not play with extensions that also work with keywords and descriptions. It is moreover incompatible with maintenance script "ImportImages.php".