User:©TriMoon™/global.js

/** * WikEd */ switch(wgDBname){ // Selective disable case "shopheroes": break; default: // install wikipedia:User:Cacycle/wikEd in-browser text editor importScriptURI("https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Cacycle/wikEd.js");

// Change the presets of the toggle buttons in the wikEd control bar: var wikEdConfig = { 'useWikEdPreset': true, 'highlightSyntaxPreset': false, 'closeToolbarPreset': false, // Display a button to automatically append "…using wikEd" (or another text) to the edit summaries: 'showUsingButton': true, 'usingPreset': true, 'summaryUsing': '', // 'summaryUsing': 'Dropping A-Bom on Charitwo's head. come fucking change this!', 'refHidePreset': false, 'diffPreset': false, 'fullScreenModePreset': false, // Change the history lengths: 'historyLength': { 'find': 15, 'replace': 15, 'summary': 20 } };

// Disable ctrl-clickable followable links in edit text: //var wikEdFollowLinks = false;

// Add your own summary presets: wikEdConfig.comboPresetOptions = {}; wikEdConfig.comboPresetOptions.summary = [ 'Initial Setup', 'Moving into sub-tree', 'Layout editorial', 'Added Category', 'Changed Category', 'Linkified words', 'my reply', 'linkfix', 'fixing typos', 'removing linkspam', 'reverting test', 'reverting vandalism', 'Code-Cleanup', 'Code-Fixup', 'formatting source text', 'Copy-over from w:c:templates', 'Updated to latest version on w:c:templates', '{wikEdUsing}' ];

/* My addition to enable per-site config changes */ if( typeof(wikEdConfigSite) == 'undefined' ){ var wikEdConfigSite = {}; wikEdConfigSite["wikicities"] = true; } /* per site use: * if( typeof(wikEdConfigSite[wgDBname]) == 'undefined' ){ wikEdConfigSite[wgDBname] = true; wikEdConfig.comboPresetOptions.summary.push("--new text--"); }
 * per site use: */

/* My addition to enable per-site config changes */ } /** * /WikEd */

/** * Wikipedia:Tools/Navigation popups * https://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups#Installation_on_remote_MediaWiki_installations,_or_via_your_global.js */ switch(wgDBname){ // Selective disable case "shopheroes": break; default: // wikipedia:Wikipedia:Tools/Navigation_popups mw.loader.load('https://en.wikipedia.org/w/load.php?modules=ext.gadget.Navigation_popups'); window.popupStructure='menus'; window.popupDelay=1.5; window.popupPreviewKillTemplates=false; } /** * /Wikipedia:Tools/Navigation popups */

/** * Purgetab */ switch(wgDBname){ // Selective disable case "shopheroes": break; default: // w:c:dev:Purgetab if(!window.PurgeButtonsLoaded) importScriptPage('Purgetab/code.js', 'dev'); } /** * /Purgetab */

/** * Skinswitch */ switch(wgDBname){ // Selective disable default: // w:c:dev:SkinSwitchButton importScriptPage('SkinSwitchButton/code.js', 'dev'); } /** * /Skinswitch */

/** * LastEdited * https://dev.wikia.com/wiki/LastEdited */ importArticles({	type: 'script',	articles: [		'u:dev:MediaWiki:LastEdited/code.js',	] }); /** * /LastEdited */

/** * TabViewEditLinks * https://dev.wikia.com/wiki/TabViewEditLinks */ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:TabViewEditLinks/code.js',    ] }); /** * /TabViewEditLinks */