User:Mihawk Moha/global.js

//ça va $(function {    $(' OPE  ').insertBefore('.wds-global-navigation__search');    $(' VD  ').insertBefore('.wds-global-navigation__search');    $(' IMG  ').insertBefore('.wds-global-navigation__search');    $(' GS  ').insertBefore('.wds-global-navigation__search'); });

var qtEnableUserPageOverwrite = true; var qtUserPageTemplate = ''; importArticles({   type: 'script',    articles: [        'w:dev:QuickCreateUserPage/code.js',        'u:dev:DupImageList/code.js',        'u:dev:GlobalChatJS.js',        "u:dev:MassEdit/code.js",        'u:dev:LastEdited/code.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:MediaWiki:Rollback/code.js',        'u:dev:MediaWiki:MultiUpload/code.js',        'u:dev:MediaWiki:MassBlock/code.js',        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:PageRenameAuto-update/code.js',        'u:dev:View_Source/code.js',        'u:dev:AutoEditDropdown/code.js',        'u:dev:QuickContribs/code.js',        "u:ozank:MediaWiki:Chatconnect.js",        'u:dev:EditBio/code.js',        'u:kocka:MediaWiki:AjaxThreadDelete/code.js',        'u:dev:ShowUserGroups.js',        'u:dev:SkinSwitchButton/code.js',        'u:dev:UserCheck/code.js', 'u:dev:WhatLinksHere/code.js', "u:dev:UsernameAvailability/code.js", 'u:dev:AjaxCommentDelete/code.js', 'u:dev:QuickComments/code.js', 'u:dev:DiscussionsFeed.js', 'u:dev:MediaWiki:AjaxRC/code.js', 'u:dev:MediaWiki:WorkingMoreUsersCount.js', 'u:dev:ContribsLink/code.js', 'u:dev:ViewRemoved/code.js', 'u:dev:MassCategorization/code.js', 'u:dev:AjaxUndo/code.js', "u:dev:UserAccountAge/code2.js", 'u:dev:ViewDeleted/code.js', 'u:dev:AbuseLogRC.js' ] });

WHAMDelay = 1000; importScriptPage('MediaWiki:WHAM/code.2.js', 'dev');

// LastEdited // http://dev.wikia.com/wiki/LastEdited window.lastEdited = { avatar: true, size: false, diff: true, comment: true, time: 'timestamp', lang: 'fr', namespaces: { include: [], exclude: [] },   pages: [] }; // LastEdited END

/** * 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')               ), $('<li/>').attr({               'id': 'ct'            }).append(                $('').attr({ 'href': 'http://starwars.wikia.com/wiki/Wookieepedia:Consensus_track' }).text('CT')               ), $('<li/>').attr({               'id': 'TC'            }).append(                $('').attr({ 'href': 'http://starwars.wikia.com/wiki/Wookieepedia:Trash_compactor' }).text('TC')           ) );   };    $(rswiki.gadgets.addContribs); }(this.jQuery, this.console, this.document, this.rswiki = this.rswiki || {})); var nom_utilisateur_courant = mw.config.get( 'wgUserName' ); var lien_page_discu = "/wiki/User_talk:"+nom_utilisateur_courant; $('.sprite.close-notification + a:contains("de nouveaux messages")').attr('href',lien_page_discu); $('a[data-id*="mytalk"]').attr('href',lien_page_discu);