User:Real-JK/global.js

window.railWAM = { loadOnPage:"Special:WikiActivity" };

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RailWAM/code.js',    ] });

// AJAX Recent Changes var ajaxPages = ["Служебная:Contributions","Служебная:NewPages","Служебная:RecentChanges","Служебная:WikiActivity","Служебная:NewFiles","Служебная:Log","Служебная:Видео"]; var AjaxRCRefreshText = 'Автообновление'; var AjaxRCRefreshHoverText = 'Включить автообновление';

importArticles({   type: "script",    articles: [        'u:dev:AjaxRC/code.js'    ] });

/* $('.wds-global-navigation__content-bar .wds-global-navigation__logo').remove; $('.wds-global-navigation__content-bar').prepend('<path fill-rule="evenodd" d="M28.82 19.085v-17h3.827v9.526l1.02-1.27 2.2-2.59h5.47l-4.588 4.48 4.78 6.858h-4.96l-2.608-4.31-1.318 1.25v3.06H28.82M7.297 7.748L5.442 15.49l-1.45-7.743H.004l2.948 11.338h5.126L9.514 13.2l1.436 5.885h5.126l2.956-11.338h-4.005l-1.442 7.743L11.7 7.747H7.297m55.486 3.297l.213-3.297h-3.492L59.24 8.99c-.804-.847-1.804-1.547-3.563-1.547-3.184 0-4.923 2.055-4.923 5.952 0 3.898 1.74 5.953 4.923 5.953 1.76 0 2.76-.7 3.563-1.545l.274 1.282h3.482l-.213-3.337v-4.704zm-3.817 3.793c-.49.635-1.253 1.06-2.25 1.06-1.145 0-2.057-.744-2.057-2.502 0-1.758.91-2.5 2.052-2.5.998 0 1.762.425 2.25 1.06v2.882zM23.113 2.147a2.186 2.186 0 1 0 0 4.372 2.184 2.184 0 1 0 0-4.367m3.294 7.988V7.75h-5.48v11.338h5.48v-2.38H24.69V10.14h1.717m18.06-5.807c0 1.208.98 2.186 2.188 2.186a2.186 2.186 0 0 0 2.188-2.184c0-1.203-.98-2.18-2.188-2.18a2.185 2.185 0 0 0-2.187 2.183m.612 12.374h-1.72v2.38h5.483V7.746H43.36v2.39h1.72"> ') $('.wds-global-navigation__links-and-search .wds-global-navigation__link:first').remove; $(".wds-global-navigation__links-and-search").prepend('ВидеоигрыКиноТелевидиниеКомиксы');

/* +кнопки в редакторе */ if ( mwCustomEditButtons ) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Стиль", "tagOpen": " ", "tagClose": " ", "sampleText": "Введите текст" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "Зачеркнуть", "tagOpen": " ", "tagClose": " ", "sampleText": "Введите текст" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png", "speedTip": "На другую строку", "tagOpen": " ", "tagClose": "", "sampleText": "" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Комментарий виден только для редакторов", "tagOpen": "", "sampleText": "Введите свой комментарий" }; }