User:Friendly Mountain12/global.js

window.AutoCreateUserPagesConfig = { content:{ 2:,       3:,        1202:''    },    summary:'Introducing myself to the wiki' };

window.SS = { skins: [ 'PseudoMonobook = u:dev:MediaWiki:PseudoMonobook.css', 'Modernization = u:dev:MediaWiki:FandomizedActivityFeed.css'] };

window.BackToTopModern = true;

window.fdButtons = [ {   summary: 'Requested by a user', label: 'Requested' }, {   summary:'Spam', label:'Spam' }, {   summary:'Vandalism', label:'Vandalism' }, {   summary:'Cleaning up blank page', label:'Blank page' } ];

window.MassEditConfig = { interval: 3500, placement: { element: 'toolbar', type: 'append' } };

window.AjaxSpecialPages; ('recentchanges', 'watchlist') window.AjaxIndicator = 'https://vignette.wikia.nocookie.net/central/images/a/a9/3D5388A4-57F5-45CD-A3B9-30B1EF504F6B.gif/revision/latest?cb=20200829025255'; window.AjaxRefresh = 20000;

window.announcementsIgnore = { option: 'opt-out-all' };

/**The imports**/ importArticles({   type:'script',    articles: [        'u:dev:MediaWiki:RailWAM/code.js',        'u:dev:MediaWiki:GlobalEditcount/code.js',        'u:dev:MediaWiki:AutoCreateUserPages.js',        'u:dev:MediaWiki:SkinSwitch.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:ProfileIcons.js',        'u:dev:MediaWiki:PortableListUsers.js',        'u:dev:MediaWiki:ListAdmins/code.js',        'u:dev:MediaWiki:Quotes.js',        'u:dev:MediaWiki:MastheadGender/code.js',        'u:dev:MediaWiki:QuickAccessToCSSAndJS/code.js',        'u:dev:MediaWiki:EditBio/code.js',        'u:dev:MediaWiki:SOAPReport.js',        'u:dev:MediaWiki:EditConflictAlert/code.js',        'u:dev:MediaWiki:UserAccountAge/code2.js',        'u:dev:MediaWiki:PageCreator/code2.js',        'u:dev:MediaWiki:UserActivityTab/code.js',        'u:dev:MediaWiki:UserActivityLink.js',        'u:dev:ListUsers/code2.js', 'u:dev:MediaWiki:Matrix.js', 'u:dev:MediaWiki:ListSubpages.js', 'u:dev:MediaWiki:ListFiles/code.js', 'u:dev:MediaWiki:RedirectMaker/code.js', 'u:dev:MediaWiki:AjaxEdit.js', 'u:dev:MediaWiki:ShowUserGroups.js', 'u:dev:MediaWiki:PiniginsUserInfo/code.js', 'u:dev:MediaWiki:AjaxTemplate/code.js', 'u:dev:MediaWiki:BackToTopButton/code.js', 'u:dev:MediaWiki:MessageBlock/code.js', 'u:dev:MediaWiki:EditsShare.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:ModernButtons/code.js', 'u:dev:MediaWiki:UserAndIPTools.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:dev:MediaWiki:CategoryQuickRemove.js', 'u:dev:MediaWiki:SourceEditButton.js', 'u:dev:MediaWiki:AddSectionButton/code.js', 'u:dev:MediaWiki:Translator/Translator.js', 'u:dev:MediaWiki:MoreDropdown/code.js', 'u:dev:MediaWiki:ProtectedHighlight/code.js', 'u:dev:MediaWiki:MastheadRightsBadge.js', 'u:dev:MediaWiki:SandboxTab/code.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:MediaWiki:CategoryRenameAuto-update/code.js', 'u:dev:MediaWiki:LinkPreview/code.js', 'u:dev:MediaWiki:EditUserTalkArchive.js', 'u:dev:MediaWiki:PowerDelete.js', 'u:dev:MediaWiki:AvatarLink.js', 'u:dev:MediaWiki:AjaxRC.js', 'u:dev:MediaWiki:AnnouncementsIgnore.js', 'u:dev:MediaWiki:DivEditor/code.js', 'u:dev:MediaWiki:SnowStorm.js' ] });

/**Because my Sandbox page has a different name - CC only**/ if (mw.config.get('wgCityId') === '177') window.dev = $.extend (true, window.dev, {   i18n: {        overrides: {            SandboxTab: {                'sandbox':'Testing page'            }        }    } });

/**Custom dropdown links**/

/***Guestbook***/

if (mw.config.get ('wgCityId') == '177') $('', {   text: 'Guestbook',    href: mw.util.getUrl('User:' + mw.config.get('wgUserName') + '/Guestbook'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('');

/***Matrix***/

if (mw.config.get ('wgCityId') == '177') $('', {   text: 'Matrix',    href: mw.util.getUrl('User:' + mw.config.get('wgUserName') + '/matrix'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('');

/***ViacomCBS Wiki***/ $('', {   text: 'ViacomCBS Wiki',    href: mw.util.getUrl('w:c:viacomcbs:User:Paramount1106'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('');

/***CBS Wiki***/ $('',{  text: 'CBS Wiki',   href: mw.util.getUrl('w:c:cbs:User:Paramount1106'),   appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('');

/***ABC Wiki***/ $('', {   text: 'ABC Wiki',    href: mw.util.getUrl('w:c:abc:Paramount1106'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('');

/***Paramount Wiki***/ $('', {   text: 'Paramount Pictures Wiki',    href: mw.util.getUrl('w:c:paramount;User:Paramount1106'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('</li>');

/***20th Century Studios Wiki***/ $('<a>', {   text: '20th Century Studios Wiki',    href: mw.util.getUrl('w:c:20thcenturystudios:User:Paramount1106'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('</li>');

/***Dunderpedia***/

$('<a>', {   text: 'Dunderpedia',    href: mw.util.getUrl('w:c:theoffice:User:Paramount1106'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('</li>');

/***Recent Changes***/ $('<a>', {   text: 'Recent Changes Log',    href: mw.util.getUrl('Special:RecentChanges'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('</li>');

/***Logs***/ $('<a>', {   text: 'Logs',    href: mw.util.getUrl('Special:Log'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('</li>');

/***The CW Wiki***/ $('<a>', {   text: 'The CW Wiki',    href: mw.util.getUrl('w:c:thecw:User:Paramount1106'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('</li>');

/***Logopedia***/ $('<a>', {   text: 'Logopedia',    href: mw.util.getUrl('w:c:logos:User:Paramount1106'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('</li>');

/***User list***/ $('<a>', {   text: 'User List',    href: mw.util.getUrl('Special:ListUsers'),    appendTo: $('.wds-list', '.wds-global-navigation__user-menu') }).wrap('</li>');

/**Blocked user message**/

var MessageBlock = { title : 'You have been blocked', message : ' \\Block notice:\\ This user has been blocked by me. If you think that the block was unfair, please let me know on my message wall. If I don\t unblock you, do not circumvent the current block.' };

/**No WAM logging on SOAP Wiki**/ if (mw.config.get ('wgCityId') == '65099') window.railWAM = { showLogAlert: false };