User:Mainframe98/global.js

//Adding button to UserDropDown Menu, based on code from http://dev.wikia.com/wiki/AutoEditPages if (mw.config.get('skin') === 'monobook') { mw.util.addPortletLink('creates', '#', 'Sandbox', 'creates'); } else { if ($('.creates').length === 0) { $('#AccountNavigation > li > .subnav > li:last-child').after(              $('').append('Sandbox')             ); $('#my-tools-menu').prepend(' Sandbox'); }      } // MarkForDeletion customization, see http://dev.wikia.com/wiki/MarkForDeletion window.MarkForDeletion = { promptedDeleteReason: "Duplicate" }; // LastEdited customization, see http://dev.wikia.com/wiki/LastEdited window.lastEdited = { lang: 'nl', namespaces: { include: [12, 13] }, }; // PurgeButton customization, see http://dev.wikia.com/wiki/PurgeButton PurgeButtonText = 'Verversen'; // Scripts importArticles({   type: 'script',    articles: [        'u:dev:CacheCheck/code.js',        'u:dev:LastEdited/code.js',        'u:dev:PurgeButton/code.js',        "u:dev:MarkForDeletion/code.js",        "u:dev:RevealAnonIP/usercode.js",        'u:dev:WallGreetingButton/code.js',        'u:dev:View Source/code.js',        'u:dev:QuickToolsv2/code.js',        'u:dev:TabKeyInserter/code.js'    ] });