Jump to content

Extension:YetAnotherKeywords

From mediawiki.org
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
‎<metakeywords>
License MIT License
Ladda ner
README
Exempel All pages with keywords
Ö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";
    
  • Yes 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