User:Clash.Bikash/global.js

/*global-navigation*/ $(function {  $(' Admin  ').insertBefore('.wds-global-navigation__search');    }); $('.wds-global-navigation__link.wds-is-games').text('SPages').attr('href', mw.util.wikiGetlink('Special:SpecialPages')); $('.wds-global-navigation__link.wds-is-movies').text('Flowing').attr('href', mw.util.wikiGetlink('Special:Following')); $('.wds-global-navigation__link.wds-is-tv').text('R.C.').attr('href', mw.util.wikiGetlink('Special:RecentChanges'));

/*Imports*/ $(window).load(function {   importArticles({ type: "script", articles: [ 'u:kocka:MediaWiki:AjaxThreadDelete/code.js', 'u:dev:MediaWiki:AjaxBatchUndelete/code.js', 'u:dev:BackToTopButton/code.js', 'u:dev:ContribsLink/code.js', 'u:dev:LastEdited/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:starmanw:MediaWiki:MultiUpload/code.js', 'u:dev:PortableCSSPad/code.js', 'u:dev:RailWAM/code.js', 'u:dev:RecentChangesMultiple/code.2.js', 'u:dev:Rollback/code.js', 'u:dev:SearchSuggest/code.js', 'u:dev:MediaWiki:UserAccountAge/code.js', 'u:dev:ViewDeleted/code.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:PurgeButton/code.js', 'u:dev:MediaWiki:View Raw/code.js' ]   }); }); /*End Impotrs*/ /* Auto Refresh */ AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = [ 'Special:WikiActivity', 'Special:RecentChanges', 'Special:Contributions', 'Special:Log', 'Special:Log/move', 'Special:NewFiles', 'Special:NewPages', 'Special:Watchlist', 'Special:Statistics', 'Special:ListFiles' ]; importScriptPage('AjaxRC/code.js', 'dev'); PurgeButtonText = 'Refresh'; // END AUTO-REFRESH //MassCat massCategorizationDelay = 500; //MassRename massRenameDelay = 500;

window.AjaxDelete = { deleteReasons: { 'Housekeeping': 'Housekeeping', 'Marked for deletion': 'Marked for deletion', 'Author request': 'Author request', 'Empty page': 'Empty', 'Broken Redirect': 'Broken Redirect', 'Help:Vandalism': 'Vandalism', 'Help:Spam': 'Spam', 'Other': 'Other' },   imageDeleteReasons: { 'Innapropiate': 'Innapropiate', 'Harassment': 'Harassment', 'Housekeeping/Unused': 'Housekeeping', 'Copyright infringement': 'Copyright', 'Author request': 'Author request', 'Refuse Image': 'Refuse Image' },   autoCheckWatch: true, noUndelete: false } //View deleted var ViewDeleted = { noPrompt: false, rc: true, logs: true, modal: { preview: { width: 800 },       content: { width: 600 }   } };