User:Emperor Jarjarkine/global.js

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

importScriptPage('MediaWiki:Gadget-purgebutton.js', 'starwars'); importScriptPage('MediaWiki:Gadget-ajaxundo.js', 'starwars'); importScriptPage('MediaWiki:Gadget-inactiveusers..js', 'starwars'); importArticles({    type: 'script',     articles: [         'u:dev:Quick_Management/code.js'     ] });

importScriptPage('WHAM/code.2.js', 'dev'); importScriptPage('ContribsLink/code.js', 'dev'); importArticles( {    type: 'script',     articles: [         // ...         'u:dev:LastEdited/code.js',         // ...     ] } ); importArticles({   type: 'script',    articles: [        // ...        'w:c:dev:ReferencePopups/code.js',        // ...    ] });

/** * Ajoute les contributions et la liste de suivi au menu déroulant des comptes utilisateurs * Auteur original inconnu * * Autres auteurs : Ryan PM et Cqm de RuneScape Wiki + Hulothe */ (function ($, console, document, rswiki) {   'use strict';    // make sure the gadgets property exists    rswiki.gadgets = rswiki.gadgets || {};    rswiki.gadgets.addContribs = function  {        $('#AccountNavigation > li > .subnav > li:first-child').after( $('').attr({               'id': 'MyContribs'            }).append(                $('').attr({ 'href': '/wiki/Special:MyContributions' }).text('Contributions')           ), $('').attr({               'id': 'Liste'            }).append(                $('').attr({ 'href': 'http://starwars.wikia.com/wiki/Special:WikiActivity' }).text('Wook')           ), $('').attr({               'id': 'Liste'            }).append(                $('').attr({ 'href': 'http://fr.onepiece.wikia.com/wiki/Special:WikiActivity' }).text('OPE')           ),

$('').attr({               'id': 'SNK'            }).append(                $('').attr({ 'href': 'http://fr.shingekinokyojin/wiki/Special:WikiActivity' }).text('SNK')           ) );   };    $(rswiki.gadgets.addContribs); }(this.jQuery, this.console, this.document, this.rswiki = this.rswiki || {}));