MarioWiki
MarioWiki
11.592
Seiten
Keine Bearbeitungszusammenfassung
K (Änderungen von Mariofan13 (Diskussion | Blockieren) rückgängig gemacht und letzte Version von Mira84 wiederhergestellt)
Zeile 27: Zeile 27:
 
]
 
]
 
});
 
});
 
 
window.location.replace("http://www.mariowiki.net");
 

Version vom 13. Oktober 2013, 13:28 Uhr

$(function() {
    var rights = {};
/*Quelle: http://candybox.wikia.com/wiki/MediaWiki:Wikia.js */ 
    rights["Mariofan13"]           = ["Admin", "Bureaukrat"],
    rights["Wikia"]                = ["Wikia-Bot"],
    rights["MarioBot13"]           = ["Bot"],
    rights["MarioWiki Bot"]        = ["Bot"],
    rights["BossoBot"]             = ["Bot"];
 
     if (typeof rights[wgTitle] != "undefined") {
        // remove old rights
        $('.UserProfileMasthead .masthead-info span.tag').remove();
 
        for (var i = 0, len = rights[wgTitle].length; i < len; i++) {
            // add new rights
            $('<span class="tag" style="margin-left:10px;">' + rights[wgTitle][i] + '</span>').appendTo('.masthead-info hgroup');
        }
    }
});
 
// </source>

importArticles({
    type: 'script',
    articles: [
        'u:dev:SexyUserPage/code.js'
    ]
});