User:MSBAH/global.js

//Import JS importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AjaxDiff/code.js', //AjaxDiff        'u:dev:MediaWiki:AjaxPatrol/code.js', //AjaxPatrol        'u:dev:MediaWiki:BlogLink/code.js', //BlogLink        //'u:dev:MediaWiki:CustomHeaderDropdown.js', //CustomHeaderDropdown        'u:dev:MediaWiki:EditBio/code.js', //EditBio        'u:dev:MediaWiki:FastBlock.js', //FastBlock        'u:dev:MediaWiki:FastCreate.js', //FastCreate        'u:dev:MediaWiki:FluidButton.js', //FluidButton        'u:dev:MediaWiki:NavButtonsDropdown.js', //NavButtonsDropdown        'u:dev:MediaWiki:NavCodeLinks/code.js', //NavCodeLinks        'u:dev:MediaWiki:NavLinks/code.js', //NavLinks        //'u:dev:MediaWiki:PatrolPanel.js', //PatrolPanel        'u:dev:MediaWiki:PiniginsUserInfo/code.js', //PiniginsUserInfo        'u:dev:MediaWiki:QuickAccessToCSSAndJS/code.js', //QuickAccessToCSSAndJS 'u:dev:MediaWiki:VSTFReport.js', //VSTFReport 'u:dev:MediaWiki:VideoToggle/code.js' //VideoToggle ] });

//CustomHeaderDropdown window.CustomHeaderLinks = [ {       text: 'Best Wiki', href: 'https://dev.fandom.com' },   {        text: 'Discussions RC', href: mw.util.getUrl('Special:DiscussionsRC') },   {        text: 'Alert', click: function { alert('Huzzah, this is useless!'); }   } ];

//FastBlock window.FastBlock = [ {       label: 'V', expiry: '2 weeks', reason: 'Vandalism' },   {        label: 'H', expiry: '1 year', reason: 'Harassment', nocreate: 1 } ];

//FastCreate window.FCButtons = [ {       label: 'Create userpage', target: 'User:TheGoldenPatrik1', summary: 'Creating', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list' },   {        label: 'Sandbox', target: 'User:TheGoldenPatrik1/Sandbox', summary: 'Creating via Script', content: 'This is my Sandbox.', prepend: true, require: mw.config.get('wgPageName') === 'User:TheGoldenPatrik1' } ];

//NavLinks window.NavLinksConfig = { title: "NavLinks", placement: "global", // Alternative is "header" links: [ {           text: "Portability Hub", address: "w:c:portability:Special:WikiActivity" },       {            text: "VSTF", address: "w:c:vstf:Special:RecentChanges" }   ] };