Utente:Pfenner/monobook.js: differenze tra le versioni
Vai alla navigazione
Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
Pfenner (rosica | curriculum) Nessun oggetto della modifica |
Pfenner (rosica | curriculum) mNessun oggetto della modifica |
||
Riga 3: | Riga 3: | ||
wpUserName = ' |
wpUserName = 'Pfenner'; // User name to display in signatures |
||
wpShowImages = true; // Enable downloading and displaying of images |
wpShowImages = true; // Enable downloading and displaying of images |
Versione delle 13:37, 26 apr 2008
// Live Preview customization,
// edit this to your own liking.
wpUserName = 'Pfenner'; // User name to display in signatures
wpShowImages = true; // Enable downloading and displaying of images
// Include Live Preview...
document.write('<script type="text/javascript" src="index.php?title=Nonciclopedia:Live_Preview/Javascript.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// Now set everything up
window.onload = Main;
function Main()
{
LivePreviewInstall();
// You may include here other "extensions"
}
/* This is to keep track of who is using the Live Preview: [[Nonciclopedia:Live Preview/Install]] */
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/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/central/images/1/12/Button_gallery.png",
"speedTip": "Galleria di immagini",
"tagOpen": "\n<gallery>\n",
"tagClose": "\n</gallery>",
"sampleText": "Immagine:Example.jpg|Caption1\nImmagine:Example.jpg|Caption2"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://images.wikia.com/nonciclopedia/images/3/34/Button_MrX.png",
"speedTip": "Amico immaginario",
"tagOpen": "{{BTA|firma=--~~" + "~~}" + "}\n\n",
"tagClose": "",
"sampleText": ""};
}
disablehideEdit = 1;
disablealertLoad = 1;
disableaprilfish = 1;
addOnloadHook(function() {
if(wgCurRevisionId)
mwEditButtons[9].tagOpen = '--{{utente:Pfenner/firma|' + wgCurRevisionId + '}' + '} ~~' + '~~' + '~';
else
mwEditButtons[9].tagOpen = '--{{utente:Pfenner/firma|}' + '} ~~' + '~~' + '~';
}
);