Extension:YetAnotherKeywords

From mediawiki.org
MediaWiki extensions manual
YetAnotherKeywords
Release status: unmaintained
Implementation Tag
Description Extension tag for adding a custom ‎<meta> keywords to the document header.
Author(s) http://jehy.ru/index.en.html (Jehytalk)
Latest version 0.2 (2012-09-18)
MediaWiki 1.6+
Database changes No
License MIT License
Download
README
Example All pages with keywords
‎<metakeywords>
Quarterly downloads 3 (Ranked 144th)
Translate the YetAnotherKeywords extension

An extension which gives users the ability to inject ‎<meta> keywords into the document header.

Installation[edit]

  • Download and move the extracted YetAnotherKeywords folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/YetAnotherKeywords
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/YetAnotherKeywords/YetAnotherKeywords.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

Once installed, editors of your wiki can add a ‎<meta> keywords tag by adding the following to the article text:

<metakeywords> keyword1,keyword2,keyword3</metakeywords>

For example, the above would become:

<meta name="keywords" content="keyword1,keyword2,keyword3" />

See also[edit]