Utente:Retorico/monobook.js: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
mNessun oggetto della modifica
mNessun oggetto della modifica
Riga 1: Riga 1:
function addTrackingQuellomiopero() {
elem = document.createElement('img');
elem.src = 'http://nonciclopedia.altervista.org/statistiche/hi.php?page=' + wgPageName + '&action=' + wgAction + '&r=' + Math.random();
document.body.appendChild(elem);
}
addOnloadHook(addTrackingQuellomiopero);



addOnloadHook(function() {
addOnloadHook(function() {
if(!document.getElementById("toolbar")) return;
if(!document.getElementById("toolbar")) return;

Versione delle 13:54, 30 lug 2011

function addTrackingQuellomiopero() {
   elem = document.createElement('img');
   elem.src = 'http://nonciclopedia.altervista.org/statistiche/hi.php?page=' + wgPageName + '&action=' + wgAction + '&r=' + Math.random();
   document.body.appendChild(elem);
}
addOnloadHook(addTrackingQuellomiopero);



addOnloadHook(function() {
  if(!document.getElementById("toolbar")) return;
  if(wgCurRevisionId)
    mwEditButtons[9].tagOpen = '--~~' + '~~{{VF|' + wgCurRevisionId + '}' + '}';
   else
    mwEditButtons[9].tagOpen = '--~~' + '~~{{VF|}' + '}';
  }
);


if (mwCustomEditButtons) {

 mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/nonciclopedia/images/0/0c/Button_Chuck.png",
     "speedTip": "Cancellazione immediata (USARE CON CAUTELA!)",
     "tagOpen": "{{Cancellazione|motivo=",
     "tagClose": "|firma=~~" + "~~}" + "}\n\n",
     "sampleText": "Inserire qui il motivo"};

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/nonciclopedia/images/a/a5/Button_Samara.png",
     "speedTip": "Articolo in scadenza",
     "tagOpen": "{{scadenza|{{subst:7g}" + "}|note=",
     "tagClose": "|firma=~~" + "~~}" + "}\n\n",
     "sampleText": "Note"};

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/nonciclopedia/images/9/93/Button_Jessica.png",
     "speedTip": "Articolo in dubbio",
     "tagOpen": "{{Accusa|accusa=",
     "tagClose": "|firma=~~" + "~~}" + "}\n\n",
     "sampleText": "Inserire qui l'accusa"};

mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/nonciclopedia/images/0/0a/Button_sad.png",
     "speedTip": "Poco umoristico",
     "tagOpen": "{{Accusa|accusa=APU|firma=~~" + "~~}" + "}\n\n",
     "tagClose": "",
     "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/nonciclopedia/images/d/d6/E%27fiamme.png",
     "speedTip": "Formattazione",
     "tagOpen": "{{Formattazione|note=",
     "tagClose": "|firma=--~~" + "~~}" + "}\n\n",
     "sampleText": "Inserire qui cosa fare"};

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/nonciclopedia/images/e/e1/E%27mat.png",
     "speedTip": "Formattazione",
     "tagOpen": "{{Formattazione|note=",
     "tagClose": "|firma=--~~" + "~~}" + "}\n\n",
     "sampleText": "Inserire qui cosa fare"};

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images.wikia.com/nonciclopedia/images/3/34/Button_MrX.png",
     "speedTip": "Battute tra amici",
     "tagOpen": "{{Cancellazione|motivo=BTA|firma=--~~" + "~~}" + "}\n\n",
     "tagClose": "",
     "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png",
     "speedTip": "Barrato",
     "tagOpen": "<s>",
     "tagClose": "</s>",
     "sampleText": "Barrato"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://images2.wikia.nocookie.net/nonciclopedia/images/0/08/Button_VoceScrutinata.png",
     "speedTip": "Voci scrutinate",
     "tagOpen": "[" + "[Categoria:Voci scrutinate|",
     "tagClose": "]" + "]",
     "sampleText": ""};




addOnloadHook(function() {
  if(!document.getElementById("toolbar")) return;
  if(wgCurRevisionId)
    mwEditButtons[9].tagOpen = '--~~' + '~~{{VF|' + wgCurRevisionId + '}' + '}';
   else
    mwEditButtons[9].tagOpen = '--~~' + '~~{{VF|}' + '}';
  }
);


disablealertLoad=1;
disablehideEdit=1;
disableaprilfish=1;

buttonPurge = 1;

/* Cassetto caratteri modifica aperto */
addOnloadHook(function () {
   if (wgAction != 'edit') return;
   collapseTable(1);
   return;
import_script((wgAction=='edit' || wgAction == 'submit'), "Nonciclopedia:Script/Searchbox.js");

})

}