User:GerritH/global.js

importArticles({   type: "script",    articles: [        'u:dev:MediaWiki:UCXSearchBar.js',        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:AllPagesHideRedirect/code.js',        'u:dev:MediaWiki:RecentChangesMultiple/code.2.js',        'u:dev:MediaWiki:RedirectManagement/code.js',        'u:dev:MediaWiki:MultiUpload.js',        'u:dev:MediaWiki:AjaxEditPreview.js'    ] }); //Quickbar and My Tools $(function { var c = mw.config.get([ 'wgPageName', 'wgScriptPath', 'wgCityId', 'wgSiteName' ]); //Add links to My Tools $('DoubleRedirects' + 'Global.js' + 'ListGroupRights' + 'Log/rights' + 'ListUsers</a></li>' + 'ListAdmins</a></li>' + 'WhatLinksHere</a></li>').insertBefore('.WikiaBarWrapper .tools-menu li:first'); $('div.wiki-tools.wds-button-group > div > div.wds-dropdown__content.wds-is-not-scrollable.wds-is-right-aligned > ul').prepend ('Statistics</a></li>' + 'MediaWiki:ImportJS</a></li>' + 'JSPages</a></li>' + //'MediaWiki:Fandomdesktop.js</a></li>' + 'MediaWiki:Fandomdesktop.css?action=edit</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/MediaWiki:Common.js">MediaWiki:Common.js</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/MediaWiki:Common.css?action=edit">MediaWiki:Common.css?action=edit</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/MediaWiki:Wikia.css?action=edit">MediaWiki:Wikia.css?action=edit</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/MediaWiki:Wiki-navigation?action=edit">MediaWiki:Wiki-navigation?action=edit</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/MediaWiki:Recentchangestext?action=history">MediaWiki:Recentchangestext?action=history</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/Special:Announcements">Announcement</a></li>'); //Additions to Quickbar $('.tools').append('<li><a href="' + c.wgScriptPath + '/wiki/Special:PrefixIndex">Index</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/Special:LongPages">Long</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/Special:ShortPages">Short</a></li>' + '<li><a href="' + c.wgScriptPath + '/wiki/Special:Analytics">Analytics</a></li>' + '<li><a href="https://community.fandom.com/wiki/Special:WikiConfig/' + c.wgCityId + '">WikiConfig</a></li>' + '<li><a target="_new" href="https://community.fandom.com/wiki/Special:WikiConfig/' + c.wgCityId + '/domains">domain</a></li>' + '<li><a target="_new" href="https://community.fandom.com/wiki/Special:WikiConfig/' + c.wgCityId + '/hubs">hub</a></li>' + '<li><a target="_new" href="https://community.fandom.com/wiki/Special:WikiConfig/' + c.wgCityId + '/variables?variable=3">sitename</a></li>' + '<li><a target="_new" href="https://community.fandom.com/wiki/Special:WikiConfig/' + c.wgCityId + '/variables?variable=535">permissions</a></li>' + '<li><a target="_new" href="https://community.fandom.com/wiki/Special:WikiConfig/' + c.wgCityId + '/close">close</a></li>' + '<li><a target="_new" href="https://community.fandom.com/wiki/Special:WikiConfig/' + c.wgCityId + '/changelog">changelog</a></li>'); }) (this.jQuery, this.mediaWiki);