This commit adds logic very similar to what DeleteAction does: there's a
dropdown with predefined reasons (from MediaWiki:Deletereason-dropdown)
and a text field where you can enter a custom reason that will be
appended to the one you chose to on the dropdown.
Bug: T25020
Change-Id: I9668244d165caae2d71467573f1204689f2600a8
Without the params, the job does not actually delete the page,
rendering Nuke useless.
Bug: T294686
Change-Id: I61f47961e1d4739a290ed53704e87887e3f59f23
This would make running Special:Nuke much faster and avoid production
errors due to timeout.
Bug: T188679
Bug: T212690
Change-Id: I59d99068dd4d663261a5a5d0180105889fca66a2
wfLocalFile is deprecated and emits deprecation warnings. It's usages
should be replaced with FileRepo::newFile()
Follow-Up: I0a9c414da4cb0cec686e1e91b5d0babe055925a6
Bug: T288641
Change-Id: Ie6046ac1e12b4f09a856045f40aa87485b32b39e
Exists since 1.31, extension requires 1.35+
If it is ever removed, using the current handling from before it was
added will break things
Change-Id: Iee13649a4e3fb59195a60d178473d6e970680a45
Check if the block applies to the `delete` right. Currently,
AbstractBlock::appliesToRight has no logic for delete, and returns
null, but to be forward-compatible it should be checked instead of
just assuming that blocks prohibit deletion.
Change-Id: I35820f07b5765f0870ab7f3c838955e6167533cd
This is most likely the field the user will enter when opening
Special:Nuke, pre-selecting it allows a user to directly paste
or write a target name there.
Change-Id: I2092bd7dd8b8d02e9210465b63ef6611134db04b
Core change I8d825eb0 begins the process of changing core database
tables from using xx_user and xx_user_text fields to using xx_actor.
This updates the extension to continue to function during and after the
transition.
Bug: T167246
Change-Id: I8375aeb84d3308ee7a60cc6dd88511844bcaf20f