Vejatz lo contengut

MediaWiki:JSScripts/caractères/magic words

Un article de Wikipèdia, l'enciclopèdia liura.

//

/*
 * Magic_words
 * 
 * Ajusta los Magic Words Mediawiki dins la lista dels caractèrs especials
 * 
 * Autor : ??
 * Data de darrièra revision : 23 de junh de 2006
 */

addOnloadHook(function() {
  // Magic words
  addSpecialCharsetHTML("Magic words",
        "<a href=\"//meta.wikimedia.org/wiki/Help:Magic_words\">Ajuda</a>" +
        "<br />TOC / Section :" +
        "<span>" +
        "__NOTOC__ __TOC__ __FORCETOC__ __NOEDITSECTION__ __NEWSECTIONLINK__ __NOGALLERY__" +
        "</span>" +
        "<br />Data / Ora (UTC) : " +
        "<span>" +
        "{{CURRENTDAY}} {{CURRENTDAY2}} {{CURRENTDAYNAME}} {{CURRENTMONTH}} {{CURRENTMONTHNAME}} {{CURRENTMONTHABBREV}} {{CURRENTWEEK}} {{CURRENTYEAR}} {{CURRENTTIME}} {{CURRENTHOUR}} {{CURRENTTIMESTAMP}}" +
        "</span>" +
        "<br />Data / Ora (local) : " +
        "<span>" +
        "{{LOCALDAY}} {{LOCALDAY2}} {{LOCALDAYNAME}} {{LOCALMONTH}} {{LOCALMONTHNAME}} {{LOCALMONTHABBREV}} {{LOCALWEEK}} {{LOCALYEAR}} {{LOCALTIME}} {{LOCALHOUR}} {{LOCALTIMESTAMP}}" +
        "</span>" +
        "<br />Pages : " +
        "<span>" +
        "{{PAGENAME}} {{SUBPAGENAME}} {{BASEPAGENAME}} {{NAMESPACE}} {{FULLPAGENAME}} {{TALKSPACE}} {{SUBJECTSPACE}} {{ARTICLESPACE}} {{TALKPAGENAME}} {{SUBJECTPAGENAME}} {{ARTICLEPAGENAME}} {{REVISIONID}} {{REVISIONDAY}} {{REVISIONDAY2}} {{REVISIONMONTH}} {{REVISIONYEAR}} {{REVISIONTIMESTAMP}} {{SITENAME}} {{SERVER}} {{SCRIPTPATH}} {{SERVERNAME}}" +
        "</span>" +
        "<br />Stats : " +
        "<span>" +
        "{{CURRENTVERSION}} {{NUMBEROFEDITS}} {{NUMBEROFARTICLES}} {{NUMBEROFPAGES}} {{NUMBEROFFILES}} {{NUMBEROFUSERS}} {{NUMBEROFADMINS}} {{PAGESINNS:+}}" +
        "</span>");
});

//