User:ReverieCode/global.js

// Stuff and things

importArticles({   type: 'script',    articles: [    	'u:dev:MediaWiki:DupeArgs.js',        'u:dev:MediaWiki:Stella.js',        'u:dev:MediaWiki:ThemeToggler.js',        // 'u:dev:MediaWiki:AjaxBatchDelete.js',        // 'u:dev:MediaWiki:AjaxBatchUndelete.js',        // 'u:dev:MediaWiki:UploadMultipleFiles.js',		'u:dev:MediaWiki:ShowWROnToolbar.js',		'u:dev:MediaWiki:DiscussionsViewer.js',		'u:dev:MediaWiki:IgnoreNotifications.js'    ] });

window.andrewds1021.ignore_notifications.filters = { types: "announcement-target", not: {wiki_ids: 646325} };

/* Attempting to use part of the LangSwitch script (originally created by TheGoldenPatrik1 at Dev Wiki) to load other skins instead (fandommobile) (function {    if (window.SkinSwitchLoaded) {        return;    }    window.SkinSwitchLoaded = true;    var placement;

function click { var page = mw.config.get('wgPageName'); window.location.href = new mw.Uri.extend({           useskin: 'fandommobile'        }).toString; }

function init { $(placement.element('tools'))[placement.type('prepend')](           $('').append( $('', {                   id: 'skin',                    text: 'Switch to FandomMobile',                    click: click,                    css: {                        cursor: 'pointer'                    }                }) )       );    }

function preload { placement = window.dev.placement.loader; placement.script('SkinSwitch'); init; }

mw.hook('dev.placement').add(preload); importArticles({       type: 'script',        articles: [            'u:dev:MediaWiki:Placement.js'        ]    }); });

/* Other scripts */ importScriptURI('https://internal-soap.fandom.com/index.php?title=User:ReverieCode/scripts.js&action=raw&ctype=text/javascript');