User:Sophiedp/global.js

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

/* Script configs */ //UserAccountAge var UAAeditcount = true; //QuickCreateUserPage var qtEnableUserPageOverwrite = true; //FastDelete var fdButtons = [{summary: 'Housekeeping', label: 'HK'}];

//Imports 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', 'UserAccountAge', 'GlobalEditcount', 'AjaxThreadDelete', 'WallGreetingButton', 'QuickCreateUserPage', 'QuickCreateMessageWallGreeting' ]; importArticles({   type: 'script',    articles: ScriptArray.map(function(name) { return 'u:dev:' + name + '/code.js'; }) });