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 14: Line 14:
$(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()
.insertAfter('#mw-content-text div section[class="mf-section-0"] div[class="infobox-idea"]:first');
.insertAfter('#mw-content-text div section[class="mf-section-0"] div[class="infobox-idea"]:first');*/
var infoboxes = $('#mf-section-0 .infobox-idea');
// Move them to the end of the section
$('#mf-section-0').append(infoboxes);
}
}
});
});