Community Central
Community Central

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
importArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:UsefulDropdown/code.js',
        'u:dev:MediaWiki:WHAM/code.2.js',
        'u:dev:MediaWiki:RecentChangesModule/code.js',
        'u:dev:MediaWiki:FindAndReplace/code.js',
        'u:dev:MediaWiki:ToggleDebugMode/code.js',
    ]
});

// Global nav menu
function createLink( target, label, type ) {
    return {
        href: mw.util.getUrl( target ),
        text: label,
        class: ( type === 'nav' ? 'wds-global-navigation__link' : null ),
    };
}
$('.wds-global-navigation__links').empty().append(
    $( '<a>', createLink( 'Special:ListAdmins', 'Admini', 'nav' ) ),
    $( '<a>', createLink( 'Special:Contact/general', 'Kontakt', 'nav' ) ),
    $( '<a>', createLink( 'Special:Community', 'Społeczność', 'nav' ) ),
    $( '<a>', createLink( 'Special:WikiActivity', 'OZ', 'nav' ) )
);