- Germany
Highlights
- Pro
Pinned Loading
-
MediaWiki Special:LongPages average ...
MediaWiki Special:LongPages average bytesize of top 20 1var topNr = 20; lpbytes = 0, lpbytescurrentli = 0;
2for (var i = 1; i <= topNr; i++) {
3lpbytescurrentli = parseInt(document.querySelector("ol.special li:nth-child(" + i + ")").innerText.replace(/(.+\[)/, "").replace(/(\].*)/, "").replace(/\D/g, ""));
4lpbytes += lpbytescurrentli;
5}
-
MediaWiki Special:RecentChanges aver...
MediaWiki Special:RecentChanges average number of changes 1var rcDays = 90, editsTotal = 0, maxDisplayed = 50;
2maxDisplayed = parseInt(document.querySelector('.rcoptions .rclinks a[data-keys="limit"] strong').innerText.replace(/\D/g, ""));
3editsTotal = document.querySelector('.mw-changeslist').getElementsByTagName("tr").length;
4if (editsTotal >= maxDisplayed) {
5console.warn("Total number of changes has reached the set limit! Increase the limit and run this command again!");
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.