Użytkownik:Michał56/common.js: Różnice pomiędzy wersjami
Z Nonsensopedii, polskiej encyklopedii humoru
M (zmiana czasu) Znacznik: edytor źródłowy |
M (porządki) Znacznik: edytor źródłowy |
||
Linia 16: | Linia 16: | ||
}; |
}; |
||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "https:// |
"imageFile": "https://upload.wikimedia.org/wikipedia/commons/f/f9/BoutonsDefaut10.png", |
||
"speedTip": "Wstaw podpis", |
"speedTip": "Wstaw podpis", |
||
"tagOpen": "{{Michał56}} <nowiki>{{subst:#time:H:i, M d, Y|+1 hours}}</nowiki> (CET)", |
"tagOpen": "{{Michał56}} <nowiki>{{subst:#time:H:i, M d, Y|+1 hours}}</nowiki> (CET)", |
||
"tagClose": "", |
"tagClose": "", |
||
"sampleText": "" |
|||
}; |
|||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
|||
"imageFile": "https://upload.wikimedia.org/wikipedia/commons/f/f9/BoutonsDefaut10.png", |
|||
"speedTip": "Wstaw Podpis", |
|||
"tagOpen": "{{Michał56", |
|||
"tagClose": "}}", |
|||
"sampleText": "" |
"sampleText": "" |
||
}; |
}; |
||
} |
} |
||
/* |
|||
//FastDelete buttons |
//FastDelete buttons |
||
window.fdButtons = []; |
window.fdButtons = []; |
||
Linia 53: | Linia 47: | ||
] |
] |
||
} ); |
} ); |
||
*/ |
|||
$('<img src="http://wstaw.org/m/2015/04/10/Tupolew.png">').load(function() { |
|||
$(this).css({'position':'fixed','bottom':'25px','z-index':'1000','left':'-465px','-webkit-animation':'samolot 6s linear infinite','animation':'samolot 6s linear infinite'}).appendTo('body'); |
|||
}); |
Wersja z 13:50, 30 paź 2016
//dodatkowe przyciski w edytorze
if (typeof (mwCustomEditButtons) != 'undefined') {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/26/Button_latinas.png",
"speedTip": "Wstaw polskie cudzysłowy",
"tagOpen": "„",
"tagClose": "”",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Button_headline_-_2.png",
"speedTip": "Wstaw półpauzę",
"tagOpen": "–",
"tagClose": "",
"sampleText": ""
};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "https://upload.wikimedia.org/wikipedia/commons/f/f9/BoutonsDefaut10.png",
"speedTip": "Wstaw podpis",
"tagOpen": "{{Michał56}} <nowiki>{{subst:#time:H:i, M d, Y|+1 hours}}</nowiki> (CET)",
"tagClose": "",
"sampleText": ""
};
}
/*
//FastDelete buttons
window.fdButtons = [];
window.fdButtons.push(
{
summary: '[[Nonsensopedia:Bo tak|Bo tak]]',
label: 'Bo tak'
},
{
summary: '[[Nonsensopedia:Wandalizm|Wandalizm]]',
label: 'Wandalizm'
},
{
summary: '[[Nonsensopedia:Prywata|Prywata]]',
label: 'Prywata'
}
);
importArticles( {
type: 'script',
articles: [
'u:dev:FastDelete/code.js',
]
} );
*/