|
|
| (Не показані 27 проміжних версій 3 користувачів) |
| Рядок 1: |
Рядок 1: |
| if (document.URL.indexOf("action=edit") > 0 || document.URL.indexOf("action=submit") > 0)
| |
| {
| |
| if (wgCanonicalNamespace != "Special")
| |
| {
| |
| document.write('<script type="text/javascript" src="'
| |
| + 'http://lurkmore.com.ua/w/index.php?title=MediaWiki:Onlyifediting.js'
| |
| + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
| |
| addOnloadHook(function(){
| |
| if (mwEditButtons.length < 3) return;
| |
| mwEditButtons[0].imageFile = 'http://upload.wikimedia.org/wikipedia/commons/f/fa/Button_bold_ukr.png';
| |
| mwEditButtons[1].imageFile = 'http://upload.wikimedia.org/wikipedia/commons/f/f3/Button_italic_ukr.png';
| |
| mwEditButtons[2].imageFile = 'http://upload.wikimedia.org/wikipedia/commons/0/03/Button_internal_link_ukr.png';
| |
| })
| |
| }
| |
| }
| |
|
| |
|
| function ukrbash()
| |
| {
| |
| if (document.getElementById('ukrbash')) document.write('<script src="http://i.ukrbash.org/export/random.js" type="text/javascript"> </scri'+'pt>');
| |
| }
| |
| function analytics()
| |
| {
| |
| document.write('<script src="http://www.google-analytics.com/ga.js" type="text/javascript"> </scri'+'pt>');
| |
| try {
| |
| var pageTracker = _gat._getTracker("UA-7117465-1");
| |
| pageTracker._trackPageview();
| |
| } catch(err) {}
| |
| }
| |
| addOnloadHook( ukrbash );
| |
| addOnloadHook( analytics );
| |