User:K6ka/global.js

// CODE ON THIS PAGE WILL LOAD FOR ALL OF WIKIA! Just keep that in mind. // If you're wondering about whether you can use the code on this page - you can! You don't need to ask me, just take what you want and add it to your own global.js file!

// Display Clock importArticle({type:'script', article:'w:c:dev:MediaWiki:DisplayClock/code.js'}); // END Display Clock

// Adds NavigationPopups // wikipedia:User:Lupin/popups mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400"); popupRevertSummary = 'Revert to revision dated %s by %s, oldid %s using popups'; popupQueriedRevertSummary = 'Revert to revision $1 dated $2 by $3 using popups'; popupExtendedRevertSummary = 'Revert to revision dated %s by %s, oldid %s using popups'; popupQueriedRevertToPreviousSummary = 'Revert to the revision prior to revision $1 dated $2 by $3 using popups'; popupRevertToPreviousSummary = 'Revert to the revision prior to revision %s using popups'; popupRevertSummaryPrompt = true; popupStructure = 'menus'; popupFixDabs = 'true'; popupFixDabsSummary = 'Disambiguate %s to %s using popups' popupRmDabLinkSummary = 'Remove link to dab page %s using popups' popupRedlinkSummary = 'Remove link to empty page %s using popups' // END Adds NavigationPopups

// install User:Cacycle/wikEdDiff enhanced diff importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEdDiff.js&action=raw&ctype=text/javascript');

// Add RevealAnonIP importArticle({type:'script', article:'w:c:dev:MediaWiki:RevealAnonIP/code.js'}); // END Add RevealAnonIP

// Batch Delete V2 by Ozuzanna importScriptPage('MediaWiki:AjaxBatchDelete/code.2.js', 'dev'); // END Batch Delete V2 by Ozuzanna

// AJAX UNDO importScriptPage( 'MediaWiki:AjaxUndo/code.js', 'dev' ); // END AJAX UNDO

// Hide Rail importScriptPage('MediaWiki:HideRail/code.js', 'dev'); // END Hide Rail

// Adds WHAM, see w:c:dev:WHAM importScriptPage('WHAM/code.2.js', 'dev'); // END Adds WHAM

importScriptPage('MediaWiki:SkinSwitchButton/code.js', 'dev');

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:HeaderLinks/code.js'    ] });

importScriptPage("MediaWiki:FileUsageAuto-update/code.js", "dev"); LIRoptions = { editSummary: 'Updating file links using a script', }

OFPoptions = {'showlinks': true}; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:OldFilePages/code.js'    ] });

importArticle({type:'script', article:'w:c:k6ka-test:User:K6ka/scripts/Gadget-HotCat.js'});

var QuickToolsAdvancedtop = false; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:QuickToolsv2/code.js'    ] });

window.NoImageLightbox = { novideo: true }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:NoImageLightbox/code.js'    ] });

// ROLLBACK importScriptPage('MediaWiki:Rollback/code.js', 'dev'); // END ROLLBACK

// NUKE importScriptPage('MediaWiki:Nuke/code.js', 'dev'); // END NUKE

// AUTOEDITDROPDOWN // AutoEditDropdown config - http://dev.wikia.com/wiki/AutoEditDropdown window.AutoEditDropdownConfig = { expandedAreaContribute: true, expandedAreaEdit: false }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AutoEditDropdown/code.js'    ] }); // END AUTOEDITDROPDOWN

// Non-existent categories show up as redlinks

{			$('.newcategory').addClass('new'); }

// END Non-existent categories show up as redlinks