Jump to content

User:Aseleste/Scripts/Purger

From Wikipedia, the free encyclopedia
Purger
DescriptionPurge (with options) or null edit pages
Author(s)Aseleste
StatusBeta
Version1.0.2
UpdatedApril 20, 2021; 3 years ago (2021-04-20) (history)
Skins
  • Cologne Blue
  • MinervaNeue (mobile)
  • Modern
  • MonoBook
  • Timeless
  • Vector
SourceMain

Purger is a script that helps you purge (with options) or null edit pages.

Installation

[edit]

To install, add the following to Special:MyPage/common.js or your skin-specific script page:

{{subst:Load user script|User:Aseleste/Scripts/Purger.js}}

To uninstall, simply undo the edit.

Usage

[edit]

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.