Community Central
Community Central
No edit summary
No edit summary
Line 55: Line 55:
 
window.globalJSAlreadyLoaded = true;
 
window.globalJSAlreadyLoaded = true;
   
window.qtUserPageTemplate = '{{w:User:Paramount1106/VanguardProfile}}';
+
window.qtUserPageTemplate = '{{w:User:Friendly Mountain12/VanguardProfile}}';
 
window.qtEnableUserPageOverwrite = true;
 
window.qtEnableUserPageOverwrite = true;
   

Revision as of 00:10, 29 September 2021

/**Import Configurations**/

window.AutoCreateUserPagesConfig = {
    content:{
        2:'{{w:User:Friendly Mountain12}}',
        3:false,
        1202:false
    },
    summary:'Userpage creation'
};

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'
};

window.globalJSAlreadyLoaded = true;

window.qtUserPageTemplate = '{{w:User:Friendly Mountain12/VanguardProfile}}';
window.qtEnableUserPageOverwrite = true;

/**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'
            }
        }
    }
});

/**Imoorts from Paramount1106 Test Wiki**/
importScriptPage('User:Paramount1106/ParamountScriptImports.js','paramount1106test');

/**The content below was created by HM100:**/
var HeaderIcons = ['page','upload','dashboard','gear','poll','controls'];
var HeaderMatches = ['add-new-page', 'upload-new-file','admin-dashboard','special-pages','analytics','theme-designer'];
var higlighteditems = document.querySelectorAll('.fandom-sticky-header .wiki-tools.wds-button-group .wds-dropdown .wds-list > li a');
		higlighteditems.forEach(function(x) {
		$('.wiki-tools.wds-button-group').append(
			'<a href="' +  $(x).attr('href') + '" class="wds-button wds-is-secondary ' + $(x).attr('class') + '" title="' + $(x).html()  + ' " data-tracking="' + $(x).attr('data-tracking') + '">' +
			'<svg class="wds-icon wds-icon-small"> <use href="#wds-icons-' + HeaderIcons[HeaderMatches.indexOf($(x).attr('data-tracking'))] + '-small"> </use></svg>' +
			'</a>'
		);
	});
	$('.wiki-tools .wds-dropdown').remove();