MediaWiki
Group-Grouse.js: Difference between revisions
From Grouse House Wiki
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
var $editsection = $secondheader.siblings(".mw-editsection").html(); | var $editsection = $secondheader.siblings(".mw-editsection").html(); | ||
$header.after($ | $header.after($editsection + "blah"); | ||
}); | }); | ||
}); | }); | ||
Revision as of 01:08, 3 February 2024
$(function() {
$('h2.c-header.active span.mw-headline').each(function () {
var $header = $(this);
var $headername = $header.html();
$headernameu = $headername.replace(" ", "_");
var $secondheader = "#" + $headernameu + "_2";
var $editsection = $secondheader.siblings(".mw-editsection").html();
$header.after($editsection + "blah");
});
});
