User:Sophiedp/global.js

//Add the pagename to the prefixindex link in the toolbar document.querySelector('a[data-name="prefixindex"]').href += '/' + wgPageName;

//Scripts var qtEnableUserPageOverwrite = true; var fdButtons = [{summary: 'Housekeeping', label: 'HK'}]; importScriptPage('MediaWiki:UserAccountAge/code2.js', 'dev'); importScriptPage('MediaWiki:RecentChangesMultiple/code.2.js', 'dev'); importScriptPage('User:KockaAdmiralac/UnhideUserMasthead.javascript', 'kocka'); importScriptURI('https://orionhub.org/file/terracodes-OrionContent/test/html.js'); var ScriptArray = [ 'AjaxUndo', 'QuickDiff', 'FastDelete', 'CacheCheck', 'LastEdited', 'ViewRemoved', 'PurgeButton', 'OldFilePages', 'NullEditButton', 'CodeQuickLinks', 'HoverEditCount', 'AjaxThreadDelete', 'WallGreetingButton', 'QuickCreateUserPage', 'QuickCreateMessageWallGreeting' ]; for (var i = 0; i < ScriptArray.length; i++) { importScriptPage('MediaWiki:' + ScriptArray[i] + '/code.js', 'dev'); }