MédhiaWiki:Monobook.js
Cathetan: Nalika rampung nyimpen, panjenengan kudu mbusek telihing pangluruné panjenengan supaya owahané katon.
- Firefox / Safari: Pencèt Shift nalika ngeklik Reload, utawa pencèt Ctrl-F5 utawa Ctrl-R (⌘-R ing Mac)
- Google Chrome: Pencèt Ctrl-Shift-R (⌘-Shift-R ing Mac)
- Internet Explorer / Edge: Pencèt Ctrl nalika ngeklik Refresh, utawa pencèt Ctrl-F5
- Opera: Menyang Menu → Settings (Opera → Preferences ing Mac) nuli menyang Privacy & security → Clear browsing data → Cached images and files.
/* Any JavaScript here will be loaded for users using the MonoBook skin */
/**
* Topbar content fix with sitenotice and CentralNotice
*
* Description: This fixes the location of topbar content (e.g., featured
* content star) when the sitenotice or CentralNotice is active.
* Maintainers: [[User:TheDJ]], [[User:MZMcBride]]
*/
// Only when editing/previewing a page
if ( mw.config.get( 'wgAction' ) == 'submit' || mw.config.get( 'wgAction' ) == 'view' ) {
jQuery( function( $ ) {
var $cNote = $( '#centralNotice' );
// If there is no dismissible sitenotice and no expanded centralnotice:
if ( !$( '#mw-dismissible-notice' ).length && !( $cNote.length && $cNote.hasClass('expanded') ) ) {
return;
}
// Otherwise:
mw.util.addCSS( '#bodyContent { position: relative; } #coordinates { position: absolute; top: 1px !important; }' );
} );
}