Commit graph

16 commits

Author SHA1 Message Date
jsn 98aa8d9942
Enable temp account lookup by IP address
- Adds a soft dependency on CheckUser
- Lists pages created by IP user or temp acccounts associated with IP
  address when the lookup is available

Bug: T342785
Depends-On: I45a18f1fcf1a17bdaeefabebcd2f67a946a2cc2e
Change-Id: Idcdd7d787180e8e99fdcbe856e4fc237d9721824
2024-10-21 10:18:32 +02:00
Samwalton9 9c46d32dbf Update maximum pages string for clarity
It's confusing that you can change this number to more than 500 but then only 500 are deleted. This change clarifies the maximum is 500 even if changed.

Change-Id: Iedcf3e48aef03a7ed40a11cf6d179df54cc7132c
2024-05-05 14:14:11 +03:00
Samwalton9 8385ddbb74 Add talk page link to Nuke confirmation form
Added talk page links to aid in uncovering which talk pages may require further inspection. Also reorganised the information a little, made some terminology consistent, and added a .less file to store Nuke styles.

Bug: T364143
Change-Id: I76b9bbb939afde1d7d951925818fd15f40022ead
2024-05-05 10:55:52 +03:00
Samwalton9 e506e68969 Italicize redirects in Nuke page list
When pages are redirects, admins may not want to delete them, as they are less likely to contain bad content. This patch highlights them by using the allpagesredirect styling which provides the same italicizing behaviour for Special:AllPages.

Bug: T278625
Change-Id: I027cad868ed13190424612d1f9c2bdaf6456f49e
2024-05-04 18:21:26 +03:00
Samwalton9 3ffd53dbb8 Update default deletion confirmation header text in Nuke
Bug: T364192
Change-Id: I2f84b19c1a914ce1edd5d963cf37d581062bfb46
2024-05-04 11:09:17 +03:00
Amir Sarabadani 92c459552c Queue deletion job instead of trying to delete the pages
This would make running Special:Nuke much faster and avoid production
errors due to timeout.

Bug: T188679
Bug: T212690
Change-Id: I59d99068dd4d663261a5a5d0180105889fca66a2
2021-10-17 19:22:13 +02:00
Umherirrender 38ff8983c7 Remove compat code for version 1.27
This extension requires 1.28.1

Change-Id: I842e7915002a1b30216599915ffa268d3374b00c
2019-03-03 17:45:17 +00:00
Thiemo Kreuz 0943f81e95 Document that "pattern" means "LIKE pattern"
I was trying all kinds of stuff (*, ?, .*, _, ...) and had to look in
the code to realize the forms asks me to submit an SQL LIKE pattern.
Phew.

Change-Id: Ida3610c7cb0ce186403d56d4e84a3f512e59b417
2018-12-18 14:20:36 +00:00
Amir Sarabadani 8bf771fc40 Ask for confirmation when nuking
Bug: T131975
Change-Id: I908c1aacdc8069ea9ae1ec860eef5421d9da2fab
2017-10-04 16:48:38 +02:00
Matěj Suchánek c18591354c Add GENDER to nuke-linkoncontribs-text message
For motivation see T159657.

Change-Id: I245b3eca53cbc0f8459fb18ac1c78006d6ce385a
2017-08-23 11:13:03 +00:00
Anmol 38755e68df Updated the message in Special:Nuke
If there are 0 new pages, the message is updated to "There are no page titles matching your search."

Bug: T163494
Change-Id: I625fca21bcd667efb1420a0f23c42706d838cc66
2017-04-30 13:46:20 +05:30
Amir Sarabadani afac660cfd Change "Go" to "List pages"
Bug: T154347
Change-Id: I1de14f7350e0a74f55eeb434120cd34e652ffb29
2017-01-02 07:09:08 +03:30
Glaisher c8720544c6 Use ListToggle to generate select checkboxes in Special:Nuke
ListToggle was introduced in 1.27 so the old code has been kept for
backwards-compatibility. ListToggle has several benefits that this
extension's current code doesn't have:
 - Non-working links are not visible for no-JS users.
 - Browser back button works correctly even after selecting a link here

Change-Id: I5bcfa944478a71112324ca684daa9235718c7d2b
2016-05-25 21:07:09 +05:00
Siebrand Mazeland afb4e332a9 Add tests
* Fix all issues so tests pass.
* Rework deprecated functions. Compatibility is now with
  MediaWiki 1.23 or later.

Change-Id: I08a0be7df48f9a39951cdc4edd4091fd4b89eade
2015-10-03 16:41:51 +01:00
glaisher 0dd7b21d44 Add 'Invert' checkbox selection feature to Special:Nuke
This will add a 'Invert' button next to Select: All, None
in Special:Nuke allowing to invert checkbox selection making
it easy to select many pages with a few clicks.

Bug: T86549
Change-Id: Id74369dc1cd6884e53367f4103a3b50254394641
2015-03-12 21:34:00 +05:00
Siebrand Mazeland f37ea12759 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I38d69b97f140d46c2fc5db6a8d81e5138ac7c8d9
2014-03-27 11:55:55 +01:00