MediaWiki
Gadget-helppage.js
From Dogcraft Wiki
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.
$(document).ready(function() {
if (mw.config.get('wgPageName') === "Rules" || mw.config.get('wgPageName') === "Help_Resources")
{
$('.nav .nav-title a span').text('Dogcraft');
}
if (mw.config.get('wgPageName') === "Rules")
{
$('#tagline').hide();
$('#breadcrumbs > a').slice(1).hide();
$('#breadcrumbs a:first-child').attr('href', '//dogcraft.net');
}
});
This page was last modified on 31 August 2021, at 21:20. (2 years ago)