MediaWiki:Common.js: Difference between revisions

An idea by Jeff Lawlor
Created on 2025-04-25
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 13: Line 13:


$(document).ready(function() {
$(document).ready(function() {
if ($(body).hasClass('skin-minerva')) {
if ($('body').hasClass('skin-minerva')) {
$('#mw-content-text div section[class="mf-section-0"]').children().last()
$('#mw-content-text div section[class="mf-section-0"]').children().last()
.insertBefore('#mw-content-text div section[class="mf-section-0"] div[class="infobox-idea"]');
.insertBefore('#mw-content-text div section[class="mf-section-0"] div[class="infobox-idea"]');
}
}
});
});