MediaWiki:Wikia.js: Difference between revisions

Content deleted Content added
m Added link to policies
m Fixed link
 
(7 intermediate revisions by the same user not shown)
Line 39:
$( '<a>' )
.addClass( 'subnav-2a' )
.attr( 'href', mw.util.wikiGetlink( 'Elite Dangerous Wiki:Policies' ) )
.text( 'Policies' )
)
Line 68:
// bot
'Kyouko Bot': 'BOT',
// bureaucrat
// Frontier staff
'BrettC Frontier': 'FRONTIER'
},
$masthead;
Line 82 ⟶ 85:
$masthead = $( '.UserProfileMasthead' );
// remove old rights if not from Frontier
$mastheadif(rights[ title ] !== 'FRONTIER'){
.find( '.tag' )$masthead
.removefind( '.tag' );
.remove();
}
// add new rights
$masthead
Line 99 ⟶ 103:
},
/**
* Ratings sidebar module (oasis)
*/
/**ratings: {
conditional: (
conf.wgAction === 'view' &&
conf.wgNamespaceNumber === 0
),
scripts: 'MediaWiki:Wikia.js/ratings.js'
},*/
};