Redaktor:Mercy/monobook.js: Rozdiel medzi revíziami

Odobraných 5 561 bajtov ,  pred 7 mesiacmi
-
(+)
(-)
Značka: vyprázdnenie
 
/*************
*** Ajax sysop
*** by [[m:user:Pathoschild]] <http://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/Ajax_sysop>
*************/
importScriptURI('http://meta.wikimedia.org/w/index.php?title=User:Pathoschild/Scripts/Ajax_sysop.js&action=raw&ctype=text/javascript');
 
 
//Mass rollback function
//Written by John254
//Adapted from User:Mr.Z-man/rollbackSummary.js
//Instructions: Selecting the "rollback all" tab when viewing a user's contributions history
//will open all rollback links displayed there. (Use with caution)
function rollbackEverythingButton() {
var hasRollback = getElementsByClassName(document, "span", "mw-rollback-link");
if (hasRollback[0] && (document.title.indexOf("Príspevky redaktora") != -1) ) {
addPortletLink('p-cactions', 'javascript:rollbackEverything()', "vrátit všetko", "ca-rollbackeverything", "vrátit všetky úpravy v zozname");
}
}
addOnloadHook(rollbackEverythingButton);
function rollbackEverything() {
for (var i in document.links) {
if (document.links[i].href.indexOf('action=rollback') != -1) {
window.open(document.links[i].href);
}
}
}
 
 
// --------- popups ---------
 
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
// --------- custom edit toolbar ---------
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b4/Button_category03.png",
"speedTip": "Kategorie",
"tagOpen": "[[Kategória:",
"tagClose": "]]",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/3/33/Button_exclamation.png",
"speedTip": "Copyvio",
"tagOpen": "\x7b\x7bCopyvio|zdroj=",
"tagClose": "}}",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4b/Button_nbsp.png",
"speedTip": "Nedělitelná mezera",
"tagOpen": "&nbsp;",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/42/Buttonsablona.png",
"speedTip": "Šablona",
"tagOpen": "\x7b\x7bTl|",
"tagClose": "}}",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/b0/EXPBT1.png",
"speedTip": "Experimenty",
"tagOpen": "\x7b\x7bExperimenty}} --\x7E\x7E\x7E\x7E",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/ae/EXPBT2.png",
"speedTip": "Experimenty2",
"tagOpen": "\x7b\x7bExperimenty2}} --\x7E\x7E\x7E\x7E",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons [mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/84/Warn3.png",
"speedTip": "Vandalizmus",
"tagOpen": "\x7b\x7bVandalizmus",
"tagClose": "}} --\x7e\x7e\x7e\x7e",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/ec/Button_aviso.png",
"speedTip": "Spam",
"tagOpen": "\x7b\x7bsubst:Reklama}} --\x7E\x7E\x7E\x7E",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/2e/Button_broom.png",
"speedTip": "Smazat",
"tagOpen": "\x7b\x7bZL|",
"tagClose": "}}",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a9/Button_tournesol.png",
"speedTip": "Vitajte",
"tagOpen": "\x7b\x7bVitajte|redaktor=Mercy|reg=regáno}}",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/9f/Button_defaultsort.png",
"speedTip": "Defaultsort",
"tagOpen": "\x7b\x7bDEFAULTSORT:",
"tagClose": "}}",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1b/Button_hide_wiki_tag.png",
"speedTip": "Skrytý text",
"tagOpen": "<!--",
"tagClose": "-->",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/41/Button_hr_halfwidth.png",
"speedTip": "Pomlčka",
"tagOpen": "–",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/e/e9/Button_preview.png",
"speedTip": "Zobraz náhľad",
"tagOpen": "\x7b\x7bZobraz náhľad}} --\x7E\x7E\x7E\x7E",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/16/Button_fairuse.png",
"speedTip": "Potvrdenie OTRS",
"tagOpen": "\x7b\x7bOTRS dual|otrs=",
"tagClose": "|zdroj=}}",
"sampleText": ""};
};
8 541

úprav