Wikipedista:Aida/monobook.js
Poznámka: Po uložení musíte vyprázdnit mezipaměť vašeho prohlížeče, jinak změny neuvidíte.
// --------- custom edit toolbar ---------
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/42/Buttonsablona.png",
"speedTip": "Šablona",
"tagOpen": "{{",
"tagClose": "}}",
"sampleText": "šablona"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a5/Buttonexperimenty.png",
"speedTip": "Experimenty",
"tagOpen": "{{subst\x3aexperimenty",
"tagClose": "}} --\x7E\x7E\x7E\x7E",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/cs/b/b9/Buttoncopyvio.png",
"speedTip": "Copyvio",
"tagOpen": "\x7b{Copyvio|zdroj=",
"tagClose": "}}",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/cs/f/f3/Buttonnahled.png",
"speedTip": "Náhled",
"tagOpen": "\x7b{subst:Náhled",
"tagClose": "}} --\x7E\x7E\x7E\x7E",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/cs/9/9d/Buttonbezpodpisu.png",
"speedTip": "Bez podpisu",
"tagOpen": "<br>''(Bez podpisu ",
"tagClose": ")''",
"sampleText": ""};
};
// --------- tohle má vypnout klávesové zkratky altgr+X---------
function loadScript(url)
{
var e = document.createElement("script");
e.src = url;
e.type="text/javascript";
document.getElementsByTagName("head")[0].appendChild(e);
}
loadScript("http://cs.wikipedia.org/w/index.php?title=Wikipedista:Mormegil/tools.js&action=raw&ctype=text/javascript&dontcountme=s");
$(function() { removeAccessKeys(null); });