MediaWiki:Gadget-POTYEnhancements.core.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
(function() {
var title = $.trim($('#mw-nstab').data('nstab'));
if ( title !== '' ) {
$('#ca-nstab-' + ( mw.config.get('wgCanonicalNamespace').toLowerCase() || 'main' )).find('a').text(title);
}
if ( $('#poty-gallery-heading').length || $('#poty-hide-page-stuff').length ) {
mw.util.addCSS('#firstHeading, #siteSub, #catlinks { display: none; }');
}
$('#com-my-poty-panel-container').show();
window.potyconfig = {
startDate: '2023-04-17T00:00:00Z'
};
}());