MediaWiki
Gadget-helppage.js
From Dogcraft Wiki
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 8: | Line 8: | ||
{ | { | ||
$('#tagline').hide(); | $('#tagline').hide(); | ||
$('#breadcrumbs a:not( | $('#breadcrumbs a:not( div:first-child )').hide(); | ||
$('#breadcrumbs a | $('#breadcrumbs a:first-child').attr('href', '//dogcraft.net'); | ||
} | } | ||
}); | }); |
Revision as of 21:17, 31 August 2021
$(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:not( div:first-child )').hide();
$('#breadcrumbs a:first-child').attr('href', '//dogcraft.net');
}
});
This page was last modified on 31 August 2021, at 21:17. (2 years ago)