This avoids the deprecation warning:
ctype_digit(): Argument of type null will be interpreted as string in the future
Bug: T322079
Change-Id: Id1e7ec7d73028339b53047ebfd6a975d23c3d180
Directly use the UTF-8 encoding of the 'NO-BREAK SPACE' (U+00A0)
instead of the HTML entity  .
Bug: T154300
Change-Id: I2f50fd24772eacd0bddf90c982fd7112196e6ad2
The UTF-8 normalization for the URL attributes `action` and `namespace`
are not needed.
Also use === instead of ==.
Change-Id: I03a844d58b11f45dc67f3dfb861d8f6e9ffcc18d
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