Extension:MetaKeywordsTag

An extension tag which gives users the ability to inject custom &lt;meta&gt; keywords into the document header.

Note: The article Doing more with MediaWiki parser extensions contains a lengthy discussion of how this extension works.


 * Project Homepage: MetaKeywordsTag Extension - Jimbojw.com
 * Source Code: MetaKeywordsTag.php
 * Licensing: MetaKeywordsTag is released under The MIT License.

Installation

 * 1) Download MetaKeywordsTag, and be sure to rename the downloaded file to MetaKeywordsTag.php.
 * 2) Drop this script in $IP/extensions
 * Note: $IP is your MediaWiki install dir.
 * 1) Enable the extension by adding this line to your LocalSettings.php: require_once('extensions/MetaKeywordsTag.php');

Usage
Once installed, editors of your wiki can add &lt;meta&gt; keyword tags by adding the following to the article text: &lt;keywords content="ListOfKeywords" /&gt; Where ListOfKeywords would be replaced by the chosen meta keywords.

For example, the above would become: &lt;meta name="keywords" content="ListOfKeywords" /&gt;