MediaWiki:Wikia.js/profileRedesign.js

// JS for the ProfileMastheads // From User:Rappy 4187

// Physically move searchbar into H1 on user profile masthead $(function { $('#UserProfileMastheadSearch').appendTo('.masthead-info hgroup h1');

// Temporary support for Template:Statustop2 if ($('.status.helpcursor').length) { switch( skin ) { case 'monobook': $('.status.helpcursor').appendTo('#firstHeading').css({float: 'right', fontSize: '12px', marginRight: '10px'}).prepend('Status: ').css('font-weight','bold'); break; case 'oasis': case 'wikia': $(' Status ').prependTo('.masthead-info .details'); $('.status.helpcursor').appendTo('.details li:first'); break; } } });