User:Aseleste/Scripts/Purger
{{Infobox Wikipedia user script
| name = Purger
| desc = Purge (with options) or null edit pages
| author = Aseleste
| release = {{Start date and age|2021|02|15}}
| updated = {{Start date and age|2021|04|20}} ({{History |{{FULLPAGENAME}}.js |history }})
| status = Beta
| source = Main
| skins = {{plainlist|
- {{Y&}} Cologne Blue
- {{N&}} MinervaNeue (mobile)
- {{Y&}} Modern
- {{Y&}} MonoBook
- {{Y&}} Timeless
- {{Y&}} Vector
}}
| logo =
| screenshot =
| screenshot-caption =
| mainsource = {{FULLPAGENAME}}.js
| install-target = common.js
| version = 1.0.2
}}
Purger is a script that helps you purge (with options) or null edit pages.
Installation
To install, add the following to Special:MyPage/common.js or your skin-specific script page:
{{Tls|Load user script|{{FULLPAGENAME}}.js}}
To uninstall, simply undo the edit.
Usage
The script adds a "Purger" tab to the portlet. Click on it to open the Purger interface.
Inside the interface, there are several checkboxes and two buttons.
Click on "Purge" to purge the page with the selected options. Click on "Null edit" to null edit the page, ignoring the selected options.
If the action is successful, the script will redirect you to the purged/edited page. Otherwise, a failure notification will show up.