MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
LadderGoat (talk | contribs) No edit summary Tag: Reverted |
LadderGoat (talk | contribs) No edit summary Tag: Reverted |
||
| Line 11: | Line 11: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
// Target the row with ID 'wiki-manager' | |||
var wikiManagerRow = $('#wiki-manager'); | |||
var | |||
// | // Find the parent table and move the row to the top | ||
wikiManagerRow.prependTo(wikiManagerRow.closest('table')); | |||
}); | }); | ||
Revision as of 23:55, 21 March 2025
/* Load dependencies */
// mw.loader.load('https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css', 'text/css');
/* Remove unessecary footer text */
$(document).ready(function() {
var footerInfo = document.getElementById("footer-info-credits");
if (footerInfo) {
footerInfo.innerHTML = footerInfo.innerHTML.replace("GrinderScape Wiki user", "");
}
});
$(document).ready(function() {
// Target the row with ID 'wiki-manager'
var wikiManagerRow = $('#wiki-manager');
// Find the parent table and move the row to the top
wikiManagerRow.prependTo(wikiManagerRow.closest('table'));
});