User:K6ka/global.js

// Code on this page will load on all Wikia wikis.

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

// Adds NavigationPopups // wikipedia:User:Lupin/popups mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&oldid=805924409&action=raw&ctype=text/javascript'); mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css', 'text/css'); 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'; popupRedlinkRemoval = 'false'; 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

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'}); window.hotcat_no_autocommit = true;

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

// Non-existent categories show up as redlinks

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

// END Non-existent categories show up as redlinks

// FIX LAZY LOADING FOR IMAGES // Fixes annoying problem when you scroll a scrollable element and the images inside don't load importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:FixLazyloadingInsideOfScrollable.js',    ] }); // END FIX LAZY LOADING

// Enable display of move/delete logs on non-existent file pages // I have no idea why Wikia changed/broke this importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:FileLogs.js',    ] }); // END Enable display of move/delete logs on non-existent file pages

// BYE BYE FEATURED VIDEOS $(".featured-video__wrapper").remove;