MediaWiki:Wikia.js: Difference between revisions

m Added link to policies
m Added Frontier masthead
Line 68: Line 68:
   
   
                         // bot
                         // bot
                         'Kyouko Bot':  'BOT'
                         'Kyouko Bot':  'BOT',
   
   
                         // bureaucrat
                         // bureaucrat
                       
                        // Frontier staff
                        'BrettC Frontier':  'FRONTIER'
                     },
                     },
                     $masthead;
                     $masthead;
Line 82: Line 85:
                     $masthead = $( '.UserProfileMasthead' );
                     $masthead = $( '.UserProfileMasthead' );
   
   
                     // remove old rights
                     // remove old rights if not from Frontier
                     $masthead
                     if(rights[ title ] !== 'FRONTIER'){
                        .find( '.tag' )
                        $masthead
                        .remove();
                            .find( '.tag' )
                            .remove();
                    }
                     // add new rights
                     // add new rights
                     $masthead
                     $masthead