Go to file
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
.phan Enable temp account lookup by IP address 2024-10-21 10:18:32 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-11-12 08:18:31 +01:00
includes Use revision table instead of recentchanges 2024-11-13 02:14:03 +08:00
modules build: Add stylelint for less file 2024-05-18 22:10:50 +02:00
tests Use revision table instead of recentchanges 2024-11-13 02:14:03 +08:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-14 04:18:34 +00:00
.gitignore build: Install eslint and make pass 2019-05-06 17:50:21 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:03:05 -07:00
.phpcs.xml Remove phpcs exclude rules and update PHP code 2022-11-04 13:09:25 +00:00
.stylelintrc.json build: Add stylelint for less file 2024-05-18 22:10:50 +02:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 14:49:37 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2024-11-02 22:51:22 +00:00
COPYING Nuke != SMW 2014-01-16 02:26:40 +00:00
extension.json Use revision table instead of recentchanges 2024-11-13 02:14:03 +08:00
Gruntfile.js build: Add stylelint for less file 2024-05-18 22:10:50 +02:00
INSTALL Cleanup after remove of PHP entry point 2021-03-10 22:57:44 +01:00
Nuke.alias.php Nuke: Special page aliases should not store in zh 2023-03-22 12:23:14 +00:00
package-lock.json build: Updating micromatch to 4.0.8 2024-08-25 06:47:08 +00:00
package.json build: Updating npm dependencies 2024-06-21 05:52:05 +00:00
README updated calls to getEditToken and updated stuff for v1.1.6 2012-08-17 16:43:17 +02:00

These is the readme file for the Nuke extension.

Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Nuke
Latest version of the readme file: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Nuke.git;a=blob;f=README

== About ==

Nuke is an extension that makes it possible for sysops to mass delete pages.
It was written by Brion Vibber in September 2005. It is running on all Wikimedia sites.

=== Feature overview ===

* Mass deletion of recently added pages via Special:Nuke.
** Filter by username or IP.
** Filter by page name pattern.
** Limit size of the batch of pages you delete.