User:NalexandruN/global.js

/** * * DisableCode * @file DisableCode is a JavaScript userscript that adds a number of buttons to * the user's "My Tools" menu that permit the addition/removal of query strings * in the URL. These query strings are used to deactivate various user/site * JavaScript/CSS code for testing purposes. * @author Eizen  * @author Parkour2906  */

"use strict";
 * (function (module, window, $, mw) {

// Respect prior double-load protection convention if (!window || !$ || !mw || module.isLoaded || window.isDisableCodeLoaded) { return; } module.isLoaded = window.isDisableCodeLoaded = true;

// Namespace protected properties Object.defineProperties(this, {

/**    * @description The   pseudo-enum is used to store the *  names of custom selectors applied to the script's     * generated HTML elements and extant selectors of element already existing * on the page for targetting purposes. *    * @readonly * @enum {Object} */   Selectors: { enumerable: true, writable: false, configurable: false, value: Object.freeze({       CLASS_OVERFLOW: "overflow",        CLASS_LIST: "disableCode-li",        CLASS_LINK: "disableCode-a",        ID_BAR: "WikiaBar",        ID_MY_TOOLS: "my-tools-menu",        ID_LIST: "disableCode",        ID_LINK_PREFIX: "disableCode-",      }) },

/**    * @description The   pseudo-enum is used to store * individual s related to each of the types of query * strings available for insertion into the URL. These include strings for * activation/deactivation of user CSS and JavaScipt and a catchall * "safemode" setting that deactivates all custom code on the viewed wiki. *    * @readonly * @enum {Object} */   Params: { enumerable: true, writable: false, configurable: false, value: Object.freeze({       SAFE_MODE: Object.freeze({ QUERY: "safemode", VALUE: 1, MESSAGE: "safemode" }),       SITEJS: Object.freeze({ QUERY: "sitejs", VALUE: 0, MESSAGE: "sitejs" }),       SITECSS: Object.freeze({ QUERY: "sitecss", VALUE: 0, MESSAGE: "sitecss" }),       USERJS: Object.freeze({ QUERY: "useuserjs", VALUE: 0, MESSAGE: "userJS" }),       USERCSS: Object.freeze({ QUERY: "useusercss", VALUE: 0, MESSAGE: "userCSS" })     })    },

/**    * @description The   pseudo-enum is a catchall enum used * store various values that see use in the script. These include the * name of the script in  form, the I18n-js messages * cache value, and the name of the hook that is fired at the end of the * script initialization. *    * @readonly * @enum {Object} */   Utility: { enumerable: true, writable: false, configurable: false, value: Object.freeze({       SCRIPT: "DisableCode",        CACHE_VERSION: 2,        HOOK_NAME: "dev.disableCode"      }), }, });

/**  * @description As the name implies, the   method is   * used to construct a simple custom link element for inclusion into the * containing list element in the "My Tools" dropdown menu. It applies a  * number of custom selectors and attaches the desired href location before * determining the display text by means of I18n-js. *  * @function * @param {string} message - The name of the I18n-js message to display * @param {string} href - The link location to which the button points * @returns {string} - The assembled  HTML output */ this.assembleLink = function (message, href) { return mw.html.element("a", {     "id": this.Selectors.ID_LINK_PREFIX + message.toLowerCase,      "class": this.Selectors.CLASS_LINK,      "href": href,      "title": this.i18n.msg(message).plain    }, this.i18n.msg(message).plain); };

/**  * @description The   method is used to remove * any vestigial query strings added by this script from the URL. The * resultant target URL is the href of the "reset" button's link element. The * idea of using regex for this part was initially developed by Parkour2906, * with Eizen simplifying the regex slightly. *  * @function * @returns {string} - The href to which the "reset" button will point */ this.defineResetLocation = function  { return this.config.wgArticlePath.replace("$1", this.config.wgPageName +     window.location.search.replace( new RegExp("([?&])" + Object.values(this.Params).map(function (entry) { return entry.QUERY + "[^&]*(?:&|$)"; }).join("|"), "gmi"), "$1" )   );  };

/**  * @description The   function serves as the beating heart of   * the script, serving to configure i18n data, define the script-global * scope's own properties, build and add the list container element to the * "My Tools" menu, fire the hook, and establish an    * property for the. *

*

* In the script's original implementation, a custom "My Tools" clone was * added to the toolbar. However, Parkour2906 scrapped this (admittedly  * janky) approach in favor of adding the various buttons to one sole overflow * list element that would constitute a single entry in the "My Tools" menu, * a design choice retained by Eizen. *  * @function * @param {Object} paramLang - i18n  belonging to I18n-js * @returns {void} */ this.init = function (paramLang) {

// Declarations var content, target, search;

// Add i18n data as local property (this.i18n = paramLang).useContentLang;

// Cache globals as object property this.config = mw.config.get([     "wgArticlePath",      "wgPageName"    ]);

// Definitions target = "#" + this.Selectors.ID_BAR + " #" + this.Selectors.ID_MY_TOOLS; search = (window.location.search.length) ? "&" : "?";

// Build tools list element and populate with buttons content = mw.html.element("li", {     "id": this.Selectors.ID_LIST,      "class": [        this.Selectors.CLASS_OVERFLOW,        this.Selectors.CLASS_LIST      ].join(" ")    }, new mw.html.Raw( this.assembleLink("reset", this.defineResetLocation) + Object.values(this.Params).map(function (entry) {       return this.assembleLink( entry.MESSAGE, this.config.wgArticlePath.replace("$1", this.config.wgPageName +           window.location.search + search + entry.QUERY + "=" + entry.VALUE) );     }.bind(this)).join("") ));

// Add to "My Tools" menu $(target).prepend(content);

// Expose public methods for external debugging Object.defineProperty(module, "exports", {     enumerable: true,      writable: false,      configurable: false,      value: Object.freeze({ observeScript: window.console.dir.bind(this, this), })   });

// Attach hook once complete mw.hook(this.Utility.HOOK_NAME).fire(module); };

// Attach hook listener, load script's messages, then pass to init mw.hook("dev.i18n").add(function (i18n) {   $.when( i18n.loadMessages(this.Utility.SCRIPT, {       cacheVersion: this.Utility.CACHE_VERSION,      }), $.ready )   .done(this.init.bind(this))    .fail(window.console.error.bind(null, this.Utility.SCRIPT));  }.bind(this));

// Import I18n-js if not already loaded if (!window.dev || !window.dev.i18n) { window.importArticle({     type: "script",      article: "u:dev:MediaWiki:I18n-js/code.js"    }); }

}.call(Object.create(null), (this.dev = this.dev || {}).disableCode = this.dev.disableCode || {}, this, this.jQuery, this.mediaWiki)); $(function { if (mw.config.get('skin') !== 'fandomdesktop') return; var theme = mw.util.getParamValue('usetheme'); if (['light','dark'].indexOf(theme) === -1) return; $.get(mw.util.wikiScript('wikia')+'?controller=ThemeApi&method=themeVariables&variant='+theme+'&cb='+(new Date.getTime)).done(function(data){	   var $s = $('#pcjThemeSwitch')[0] || $(' ').attr('id','pcjThemeSwitch').appendTo('body');	    $($s).text(data);	    $('body').removeClass('theme-fandomdesktop-light theme-fandomdesktop-dark').addClass('theme-fandomdesktop-'+theme);	}); });

/* Change RecentChanges layout to not-ugly */ /* Remove if https://phabricator.wikimedia.org/T202916 ever gets fixed */ mw.loader.using("mediawiki.user", function {	if ( mw.user.options.get('usenewrc') !== 0 ) {		mw.loader.load("mediawiki.notify");		( new mw.Api ).postWithToken( 'options', { action: "options", change: "usenewrc=0" } ).done( function { mw.loader.using("mediawiki.notify", function{				mw.notify( "RecentChanges formatting has been reset. You may need to change the URL to remove 'enhanced=1'." );			} );		} );	} } );

/**window.flakesMax = 1024; window.flakesMaxActive= 1024; window.snowStick = false; window.freezeOnBlur = false;**/

window.DisplayClockJS = { location: 'header', hoverText: ':smil:' }; importArticle({type:'script', article:'w:c:dev:DisplayClock/code.js'})

window.rwaOptions = { limit : 5000, themeName : "main", showBotEdits : true, refresh : true };

window.dev = $.extend(true, window.dev, {   i18n: {        overrides: {            Rollback: {                'summary': 'Reverted edits by $1 (talk) to last revision by $2 (script)',                'summaryShort': 'Reverted edits by $1 (talk) to last revision by $2 (script)'            }        }    } });

window.dev = window.dev || {}; /* window.dev.editSummaries = { select: 'MediaWiki:Custom-StandardEditSummary' }; */

window.TokenRefreshInterval = 360000; window.YouTubePlayerSettings = { defaultTheme: 'dark', }; window.fdButtons = []; window.fdButtons.push(   {        summary: 'Housekeeping',        label: 'HK'    },    {        summary: 'Vandalism',        label: 'VA'    },    {        summary: 'Spam',        label: 'SP'    } );

window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:WikiActivity","Special:Contributions"]; window.lastEdited = { timezone: 'EET', }; window.pageCreatorConfig = { useUTC: false, }; window.BackToTopModern = true; window.batchDeleteDelay = 1000; TBL_WIKIS = [ "gta" ]; TBL_PATROL = true; window.UserAndIPTools = { enable: { MultiLookup: true, LookupContribs: true, LookupUser: true, },	openInNewPage: true, disableDebug: true, }; window.autoPurgePages = ["User:NalexandruN/global.js", "User:NalexandruN/global.css"];

importArticles({   type: "script",    articles: [        "w:c:dev:RevealAnonIP/usercode.js"    ] });

importArticles({   type: 'script',    articles: [ /**         'u:dev:MediaWiki:ArticlesCounter.js',**/        'u:dev:MediaWiki:LangSwitch.js',        'u:dev:MediaWiki:UTCClock/code.js',        'u:dev:MediaWiki:AnalyticsShortcut.js',        'u:community:User:NalexandruN/Testcode.js',        'u:community:User:Ursuul/AnalyticsToolbar.js',        'u:dev:MediaWiki:MassRenameRevert/code.js',        'u:dev:MediaWiki:DateInserter/code.js',        'u:dev:MediaWiki:AjaxRC.js',        'u:dev:MediaWiki:SandboxLink/code.js',        'u:dev:MediaWiki:AddBlockUserTag/code.js',        'u:dev:MediaWiki:AddUserRightsTag/code.js',        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:BlockLookup.js',        'u:dev:MediaWiki:MoreDropdown/code.js',        'u:dev:MediaWiki:DPLforumBoardCustomization.js',        'u:dev:MediaWiki:NewPagesUser.js',        'u:dev:MediaWiki:CorrectFileHeadings.js',        'u:dev:MediaWiki:ContribsButtons.js', 'u:dev:MediaWiki:CheckJStatus.js', 'u:dev:MediaWiki:FirstEditDate.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:CopyCodeButton.js', 'u:dev:MediaWiki:TopicBlockLog/code.js', 'u:dev:MediaWiki:AbuseLogRC.js', 'u:dev:MediaWiki:DeleteTalkpage.js', 'u:dev:MediaWiki:OrganizedSocialActivity.js', 'u:dev:MediaWiki:AjaxRename/code.js', 'u:dev:MediaWiki:ThemeToggler.js', 'u:dev:MediaWiki:ToDoList.js', 'u:dev:MediaWiki:AjaxRedirect/code.js', 'u:dev:MediaWiki:AjaxAbuseLog.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:DemoScripts.js', 'u:dev:MediaWiki:CopyTitle.js', 'u:dev:MediaWiki:WikiaURL/beta.js', 'u:dev:MediaWiki:Matrix.js', 'u:dev:MediaWiki:LanguageSearch.js', 'u:dev:MediaWiki:TokenRefresh.js', 'u:dev:MediaWiki:ClearSandbox/code.js', 'u:dev:MediaWiki:ArchiveTool/code.js', 'u:dev:MediaWiki:AllPagesHideRedirect/code.js', 'u:dev:MediaWiki:CollapsiblePageTools.js', 'u:dev:MediaWiki:InfoboxEditorPreview.js', 'u:dev:Countdown/code.js', 'u:dev:MediaWiki:FloatingTableHeader/Code.js', 'u:dev:MediaWiki:TopEditors/code.js', 'u:dev:MediaWiki:QuickTitle/code.js', 'u:dev:MediaWiki:TopArticles/code.js', 'u:korniux:SpeedRaw/code.js', 'u:dev:MediaWiki:UnhideUserMasthead/code.js', /**       'u:dev:MediaWiki:ImprovedFooter/code.js',**/ 'u:dev:QuickThreads/code.js', 'u:dev:MediaWiki:GadgetsStateToggler.js', 'u:dev:MediaWiki:PortableListUsers.js', 'u:dev:MediaWiki:QuickAccessToCSSAndJS/code.js', 'u:dev:MediaWiki:BlogLink/code.js', 'u:dev:MediaWiki:QuickDelete/code.js', 'u:dev:MediaWiki:DedicatedTalkButton.js', 'u:dev:MediaWiki:EntityConvert/code.js', 'u:kocka:MediaWiki:Emoticons/code.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', 'u:dev:MediaWiki:ReferencePopups/code.js', 'u:dev:MediaWiki:MastheadGender/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:MorePageActions/code.js', 'u:dev:ViewRemoved/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:UserInfo.js', 'u:dev:MediaWiki:UserUnusedFiles/code.js', 'u:vstf:User:Joeyaa/wham.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:AjaxEditPreview.js', 'u:dev:MediaWiki:AjaxDelete/code.js', 'u:dev:MediaWiki:AjaxBlock/code.js', 'u:dev:MediaWiki:AjaxBatchDelete.js', 'u:dev:MediaWiki:AjaxBatchUndelete.js', 'u:dev:MediaWiki:SearchEnhancements.js', 'u:dev:MediaWiki:EditorColorPicker.js', 'u:dev:MediaWiki:ColoredColors/code.js', 'u:dev:MediaWiki:QuickIW/code.js', 'u:dev:MediaWiki:BulkVideoUpload.js', 'u:dev:MediaWiki:DraggableYouTubePlayer/code.js', 'u:dev:MediaWiki:CatFilter/code.js', 'u:dev:MediaWiki:AjaxTemplate/code.js', 'u:dev:MediaWiki:AjaxUserRights.js', 'u:dev:MediaWiki:NavCodeLinks/code.js', 'u:dev:MediaWiki:MercuryPreview/code.js', 'u:dev:MediaWiki:SandboxTab/code.js', 'u:dev:MediaWiki:ColorPreview/code.js', 'u:dev:MediaWiki:ToggleSideBar/code.js', 'u:thegoldenpatrik1:Rollback.js', 'u:dev:MediaWiki:MarkForDeletion/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:GlobalNavButtons.js', 'u:dev:MediaWiki:CustomHeaderDropdown.js', 'u:dev:MediaWiki:FastCreate.js', 'u:dev:MediaWiki:MassPatrol/code.js', 'u:dev:MediaWiki:BotManagement.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MassNullEdit/code.js', 'u:dev:MediaWiki:DeleteUserpage.js', 'u:dev:MediaWiki:MinimalTestModeAlert.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:WikiActivity.js', 'u:dev:MediaWiki:SeeMoreActivityButton/code.js', 'u:dev:MediaWiki:BackToTopButton/code.js', 'u:dev:MediaWiki:ListFiles/code.js', 'u:dev:MediaWiki:CacheCheck/code.js', 'u:dev:MediaWiki:UserAccountAge/code2.js', 'u:dev:MediaWiki:EditIntroButton/code.js', 'u:dev:MediaWiki:UserActivityTab/code.js', 'u:dev:MediaWiki:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:UserActivityLink.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:EditcountTab.js', 'u:dev:MediaWiki:Standard Edit Summary/code.js', 'u:dev:MediaWiki:LakeLinks.js', 'u:dev:MediaWiki:ImageMapEdit.js', 'u:dev:MediaWiki:ImageMapHighlight.js', 'u:dev:MediaWiki:ImageCategory/code.js', 'u:dev:MediaWiki:ImageCompare.js', 'u:dev:MediaWiki:AddSectionButton/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:ChromeToolbarColor.js', 'u:dev:MediaWiki:FixPhalanxBlockLinks.js', 'u:dev:MediaWiki:Translator/Translator.js', 'u:dev:MediaWiki:ShareMenu/code.js', 'u:dev:MediaWiki:FileLogs.js', 'u:dev:MediaWiki:UsernameAvailability/code.js', 'u:dev:MediaWiki:EditcountTag/code.js', 'u:dev:MediaWiki:CodeLinksDropdown.js', 'u:dev:MediaWiki:ViewNotificationsUsers.js', 'u:dev:MediaWiki:Bang.js', 'u:dev:MediaWiki:SmoothGlobalNav/code.js', 'u:dev:MediaWiki:UserAndIPTools.js', 'u:dev:MediaWiki:AdminDashboard_JS-Button/code.js', 'u:dev:MediaWiki:FloatingToc/code.js', 'u:dev:MediaWiki:ShowUserGroups.js', 'u:dev:MediaWiki:EditsShare.js', 'u:dev:MediaWiki:CodeQuickLinks/code.js', 'u:dev:MediaWiki:View_Raw/code.js', 'u:dev:MediaWiki:DisplayTimer/code.js', 'u:dev:MediaWiki:MultipleActivity.js', 'u:dev:MediaWiki:MessageBlock/code.js', 'u:dev:MediaWiki:Tooltips.js', 'u:dev:MediaWiki:SOAPReport.js', 'u:dev:MediaWiki:AntiUnicruft/code.js', 'u:dev:MediaWiki:AutoPurge/code.js', 'u:dev:MediaWiki:Discussions Delete All/code.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:DisableInfoboxBuilder.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:Discussions Restore All.js', 'u:dev:MediaWiki:HideClearCache.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:ProtectionIcons.js', 'u:dev:MediaWiki:FollowDropdown/code.js', 'u:dev:MediaWiki:MarkBlocked.js', 'u:dev:MediaWiki:AdminDashboard_block/code.js', 'u:dev:MediaWiki:ContribsLink/code.js', 'u:dev:MediaWiki:LinkPreview/code.js', /**       'u:dev:MediaWiki:SnowStorm.js',**/ /** (SUCKS, TEST) * 'u:dev:MediaWiki:PowerPageMaker/code.js', (BROKEN) * 'w:User:Monchoman45/ChatHacks.js', (BLOCKED) * 'u:dev:MediaWiki:CopyCodeButton.js', (BROKEN) * 'u:dev:MediaWiki:AjaxThreadUnfollow/code.js', (BROKEN) * 'u:dev:MediaWiki:AjaxEdit.js', (BROKEN) * 'u:dev:MediaWiki:PageRenameAuto-update/code.js', (BROKEN) * 'u:dev:MediaWiki:FileUsageAuto-update/code.js', (BROKEN) * 'u:dev:MediaWiki:GlobalEditcount/code.js', (BLOCKED) * 'u:dev:MediaWiki:SkinSwitch.js', (BROKEN) * 'u:dev:MediaWiki:EditConflictAlert/code.js', (BROKEN) * 'u:dev:MediaWiki:AjaxDiff/code.js', (BROKEN) * 'u:dev:MediaWiki:ImportJSPage/code.js', (BROKEN) * 'u:dev:MediaWiki:ViewDeleted/code.js', (BROKEN, MODERATOR) * 'u:dev:MediaWiki:QuickTools/code.js', (BROKEN) * 'u:dev:MediaWiki:VanguardTools.js', (BLOCKED) * 'u:dev:MediaWiki:QuickToolsv2/code.js', (BROKEN) * 'u:c:User:Cap123/ChatHacks2.js', (BLOCKED) * 'u:dev:MediaWiki:DiscussionsViewer.js', (BROKEN) * 'u:dev:MediaWiki:MultipleFileDelete/code.js', (BROKEN) * 'u:c:User:Monchoman45/ChatHacks.js', (BLOCKED) * 'u:c:User:Joeytje50/ChatPMs.js', (BLOCKED) * 'u:cod:User:Madnessfan34537/multikick.js', (BLOCKED) * 'u:dev:MediaWiki:DiscussionsRailModule/code.js', (BLOCKED) * 'u:dev:MediaWiki:UserCheck/code.js', (BROKEN) * 'u:dev:MediaWiki:PageMakerPro/code.js', (BROKEN) * importScriptPage('MediaWiki:PowerPageMaker/code.js', 'dev'); (BROKEN) * 'u:dev:MediaWiki:FastOldImageDelete/code.js', (BROKEN) * 'u:dev:MediaWiki:CategoryRenameAuto-update/code.js', (BROKEN) * 'u:dev:MediaWiki:TabKeyInserter/code.js', (BROKEN) * * import chat options * var options=document.createElement('script'); * options.setAttribute('src','https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js'); * options.type='text/javascript'; (BLOCKED) * * 'u:dev:MediaWiki:AutoCreateUserPages.js', (4 NOW, CONFIG) * 'u:dev:MediaWiki:RedirectMaker/code.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:DupImageList/code.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:UnifiedControlPanel.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:PatrolRC/code.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:LangSwitch.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:SearchSuggest/code.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:DiscussionsActivity.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:AdvancedOasisUI/code.js', (AWAITING-CHECK, PERSONAL) * 'u:dev:MediaWiki:CategoryQuickRemove.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:ListSubpages.js', (AWAITING-CHECK, COMMON) * 'u:dev:MediaWiki:QuickLogs/code.js', (SUCKS) * 'u:dev:MediaWiki:ArticlePreview/code.js', (SUCKS) * 'u:dev:MediaWiki:QuickDiff/code.js', (SUCKS) * 'u:dev:MediaWiki:CheckImgSize.js', (SUCKS) * 'u:dev:MediaWiki:NavButtonsDropdown.js', (POINTLESS, NEEDS UPDATE) * 'u:dev:MediaWiki:PageEditInfo/code.js', (TEST) **/ 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:PageCreator/code2.js' ] })

importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:RansomTime/links.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Grunny/rollbacktool.js&action=raw&ctype=text/javascript'); importScriptURI('http://vstf.wikia.com/index.php?title=User:Sactage/EasyCURangeCalc.js&action=raw&ctype=text/javascript'); importScriptURI('http://community.wikia.com/index.php?title=User:Ozuzanna/chatconnect.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Kopcap94/FastActions.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Kopcap94/FileTools.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Kopcap94/rt.js&action=raw&ctype=text/javascript'); importScriptURI('https://internal.wikia-inc.com/index.php?title=MediaWiki:ForcePreview.js&action=raw&ctype=text/javascript'); importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Cacycle/diff.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Pyrrha Omega/scripts.js&action=raw&ctype=text/javascript'); importScriptURI('http://community.wikia.com/index.php?title=User:Callofduty4/OldFilePages.js&action=raw&ctype=text/javascript') importScriptPage('Interwiki.js', 'community') importScriptPage('User:Wedkarski/SpongeKiller.js', 'wed'); importScriptPage( 'User:Grunny/powerdelete.js', 'internal.vstf' ); importScriptPage('User:Kopcap94/check.js','ru.siegenax'); importScriptPage('MediaWiki:Benutzerseiten.js', 'de.rain'); importScriptPage("MediaWiki:Gadget-HotCat.js", "de.disney"); importScriptPage('ChatCount/code', 'korniux'); importScriptPage("MediaWiki:OldWindowTitles.js", "de.trollocool"); importScriptPage('User:Wedkarski/blogfix.js', 'wed'); importScriptPage('User:Wedkarski/chatpack.js', 'wed'); importScriptPage('User:Wedkarski/chatpack.js', 'wedkarski'); importScriptPage('User:White_torch/naviscript.js','ru.siegenax'); importScriptPage('User:White_torch/naviscript.js/vstfext.js','ru.siegenax'); importScriptPage('User:Kopcap94/FastWarning.js','ru.siegenax'); importScriptPage('MediaWiki:ChatTags/code.js', 'shining-armor'); importScriptPage('User:MarkvA/WikiFactoryEnable.js', 'c');

$.getScript('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/Advanced%20Tools.js'); $.getScript('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/WantedPagesBatchRedlinks.js'); $.getScript('https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js');