User:Altaïr Skywalker 47/global.gs

/**        * Adds a link to Special:Editcount on the user profile masthead * @author Matthew2602  * @author Cqm */       mastheadEditcount: function  { var user = mw.config.get( 'wgTitle' ), link; if ( mw.config.get( 'wgCanonicalNamespace' ) === 'Special' ) { user = user.split( '/' )[1]; }           link = $( '' ) .attr( {               href: '/wiki/Special:Editcount/' + user,                title: 'Special:Editcount'            } ) .text(               $( '#UserProfileMasthead .tally em' )                .text            ); $( '#UserProfileMasthead .tally em' ).html( link ); },