/* Hide edit-filter pages not yet rolled back - Adapted from [[User:Mr.Z-man/hideClosedAFD]] Example page: http:https://www.search.com.vn/wiki/index.php?lang=en&q=Special:RecentChanges&limit=250&tagfilter=repeating+characters Add this to your monobook.js or vector.js with the following syntax: importScript('User:7/hidepatrolled.js');*/function hidePatrolledRecentChanges() { if ((mw.config.get('wgPageName').indexOf('Special:RecentChanges') != -1)) { mw.util.addPortletLink('p-cactions', 'javascript:hidePatrolledTags()', "hide patrolled", "ca-hidePatrolled", "Hide recent changes with no rollback tag visible (they may have alread been patrolled)"); mw.util.addPortletLink('p-cactions', 'javascript:showPatrolledTags()', "show patrolled", "ca-showPatrolled", "Show all recent changes"); hidePatrolledTags(); //hide patrolled by default - will parameterize it later }};function hidePatrolledTags() { // all rows in the recent change are tables (and TDs) with style mw-enhanced-rc var patrolled = getElementsByClassName(document, "table", "mw-enhanced-rc"); document.getElementById('ca-hidePatrolled').style.display = 'none'; document.getElementById('ca-showPatrolled').style.display = ''; for (var i in patrolled) { if(patrolled[i].innerHTML.indexOf('mw-rollback-link')==-1) patrolled[i].style.display = 'none'; }};function showPatrolledTags() { var patrolled = getElementsByClassName(document, "table", "mw-enhanced-rc"); document.getElementById('ca-showPatrolled').style.display = 'none'; document.getElementById('ca-hidePatrolled').style.display = ''; for (var i in patrolled) { patrolled[i].style.display = ''; }};addOnloadHook(hidePatrolledRecentChanges);
🔥 Top keywords: Main PageSpecial:SearchPage 3Wikipedia:Featured picturesHouse of the DragonUEFA Euro 2024Bryson DeChambeauJuneteenthInside Out 2Eid al-AdhaCleopatraDeaths in 2024Merrily We Roll Along (musical)Jonathan GroffJude Bellingham.xxx77th Tony AwardsBridgertonGary PlauchéKylian MbappéDaniel RadcliffeUEFA European Championship2024 ICC Men's T20 World CupUnit 731The Boys (TV series)Rory McIlroyN'Golo KantéUEFA Euro 2020YouTubeRomelu LukakuOpinion polling for the 2024 United Kingdom general electionThe Boys season 4Romania national football teamNicola CoughlanStereophonic (play)Gene WilderErin DarkeAntoine GriezmannProject 2025