mediawiki-extensions-Nuke/includes
Chlod Alejandro 41d31c3076
Use revision table instead of recentchanges
This switches Nuke over to using the `revision` table instead
of `recentchanges`, allowing a wider timespan of pages to be
deleted. As a DoS prevention measure, this adds the
`$wgNukeMaxAge` config option (defaulted to the value of
`$wgRCMaxAge`) and a max execution time for the SELECT
(set to `$wgMaxExecutionTimeForExpensiveQueries`).

This also adds a relevant test.

Partially based off of I6c2b7e6b695d58a7dcba93ccaeba9ed35d81cf80.

Bug: T379147
Co-Authored-by: Kgraessle <kgraessle@wikimedia.org>
Change-Id: I5d68d2663751783bcc773799e951f74866ceb722
2024-11-13 02:14:03 +08:00
..
Hooks Modernize the code a little bit 2024-04-19 15:10:15 +02:00
Hooks.php Tag deletion logs performed with Nuke 2024-10-17 08:53:59 -05:00
ServiceWiring.php Enable temp account lookup by IP address 2024-10-21 10:18:32 +02:00
SpecialNuke.php Use revision table instead of recentchanges 2024-11-13 02:14:03 +08:00