Extension:YetAnotherKeywords

From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
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>
Translate the YetAnotherKeywords extension

Check usage and version matrix.

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

Installation

  • Download and place the file(s) in a directory called YetAnotherKeywords in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    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

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