Extension:MetaKeywords

This extension allows the addition of &lt;meta keywords=""> and &lt;meta description=""> tags based on namespace. To configure it, you would need to edit Mediawiki:Metakeywords and Mediawiki:Metadescription according to the following format.

The keywords provided are added into the metatag keyword that is automatically generated after the first term, which is the page title, and before the nine other auto-generated words. Both the (all) keywords and the namespace keywords are included.

The description is a new meta-tag, which has a value of either the Namespace specific line OR the (all) line. You can use $1 to represent the page title. namespace_name|content to add to tag For example. //Mediawiki:Metakeywords (all)|Wiktionary,free,dictionary,online (main)|definition,translation,define Talk|discussion,about

//Mediawiki:Metadescription (all)|Wiktionary, a GFDL dictionary, thesaurus and general word forum. (main)|Free definition of $1 from Wiktionary. Wiktionary|Discussion about the leading online GFDL dictionary

Installation

 * 1) Download a snapshot and extract it to your extensions directory.  Choose the version that matches your version of MediaWiki.
 * 2) Add   to the bottom of LocalSettings.php.
 * 3) Installation can now be verified through Special:Version of your wiki.