MediaWiki:Gadget-POTYEnhancements.core.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
Documentation for this user script can be added at MediaWiki:Gadget-POTYEnhancements.core. This user script seems to have an accompanying .css page at MediaWiki:Gadget-POTYEnhancements.core.css. |
(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'
};
}());