Open main menu
MediaWiki extensions manual
OOjs UI icon advanced.svg
AdvancedMeta
Release status: beta
AdvancedMeta-screenshot.png
Implementation Page action , Database
Description Allows per page editing of various meta tags for SEO reasons
Author(s)
Maintainer(s) Hallo Welt! GmbH
Latest version 3.0.0 (2018-05-17)
Compatibility policy master
MediaWiki 1.27+
PHP 5.5+
Database changes Yes
License GNU General Public License 2.0 or later
Download
  • $adwmglobalkeywords
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.

UsageEdit

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.

InstallationEdit

  • Download and place the file(s) in a directory called RichardHeigl in your extensions/ folder.
  • 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).

NoteEdit

The following MediaWiki variables are taken into account during configuration of the index and follow rules.

$DefaultRobotPolicy
$NamespaceRobotPolicies
$ArticleRobotPolicies

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

ConfigurationEdit

PermissionEdit

"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;

CompatibilityEdit

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".