Extension:YetAnotherKeywords

This page is a translated version of the page Extension:YetAnotherKeywords and the translation is 40% complete.
Manual för MediaWikitillägg
YetAnotherKeywords
Utgivningsstatus: inte underhållen
Genomförande Tagg
Beskrivning Extension tag for adding a custom ‎<meta> keywords to the document header.
Författare http://jehy.ru/index.en.html (Jehydiskussion)
Senaste versionen 0.2 (2012-09-18)
MediaWiki 1.6+
Förändringar i databasen Nej
Licenser MIT-licens
Ladda ner
README
Exempel All pages with keywords
‎<metakeywords>
Quarterly downloads 5 (Ranked 144th)
Översätt tillägget YetAnotherKeywords

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

Installation

  • Ladda ner och placera filen/filerna i en katalog som heter YetAnotherKeywords i din extensions/-mapp.
    Utvecklare och personer som bidrar med kod borde istället installera tillägget från Git, med:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/YetAnotherKeywords
  • Lägg till följande kod längst ner i din LocalSettings.php -fil:
    require_once "$IP/extensions/YetAnotherKeywords/YetAnotherKeywords.php";
    
  •   Klart – Ta dig till Special:Version på din wiki för att bekräfta att tillägget har installerats ordentligt.

Användning

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

Se även