Go to file
Marcin Cieślak 20c756ac0b Fix bug 23600: column "recentchanges.rc_timestamp" should be in GROUP BY
PostgreSQL error:

Query: SELECT rc_namespace,rc_title,rc_timestamp,COUNT(*) AS edits FROM recentchanges WHERE rc_user_text = 'Dnessett' AND ((rc_new = 1) OR (rc_log_type = 'upload' AND rc_log_action = 'upload')) GROUP BY rc_namespace, rc_title ORDER BY rc_timestamp DESC Function: SpecialNuke::getNewPages Error: 1 ERROR: column "recentchanges.rc_timestamp" must appear in the GROUP BY clause or be used in an aggregate function 

Backtrace:

#0 /usr/local/src/mediawiki/MW_1_13_2/phase3/includes/db/Database.php(561): DatabasePostgres->reportQueryError('ERROR: column ...', 1, 'SELECT rc_name...', 'SpecialNuke::ge...', false)
#1 /usr/local/src/mediawiki/MW_1_13_2/phase3/includes/db/Database.php(969): Database->query('SELECT rc_name...', 'SpecialNuke::ge...')
#2 /usr/local/src/mediawiki/MW_1_13_2/phase3/extensions/Nuke/Nuke_body.php(132): Database->select('recentchanges', Array, Array, 'SpecialNuke::ge...', Array)
#3 /usr/local/src/mediawiki/MW_1_13_2/phase3/extensions/Nuke/Nuke_body.php(68): SpecialNuke->getNewPages('Dnessett')
#4 /usr/local/src/mediawiki/MW_1_13_2/phase3/extensions/Nuke/Nuke_body.php(42): SpecialNuke->listForm('Dnessett', 'Mass removal of...')
#5 /usr/local/src/mediawiki/MW_1_13_2/phase3/includes/SpecialPage.php(534): SpecialNuke->execute(NULL)
#6 /usr/local/src/mediawiki/MW_1_13_2/phase3/includes/Wiki.php(224): SpecialPage::executePath(Object(Title))
#7 /usr/local/src/mediawiki/MW_1_13_2/phase3/includes/Wiki.php(55): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#8 /usr/local/src/mediawiki/MW_1_13_2/phase3/index.php(93): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#9 {main}

Thanks-To:

13:15 [freenode] -!- Tuju [~tuju@176.75.219.213.sta.estpak.ee]
13:15 [freenode] -!-  ircname  : Juha Tuomala
13:15 [freenode] -!-  channels : #mediawiki 
13:15 [freenode] -!-  server   : kornbluth.freenode.net [Frankfurt, Germany]
13:15 [freenode] -!-  account  : Tuju
13:15 [freenode] -!- End of WHOIS
2012-03-08 13:28:01 +00:00
COPYING added rel notes, install, readme and copying 2012-02-12 14:59:03 +00:00
ext.nuke.js Fixed a typo in a boilerplate comment that Jeroen copied to many files, JavasSript -> JavaScript 2012-02-27 01:02:55 +00:00
INSTALL added rel notes, install, readme and copying 2012-02-12 14:59:03 +00:00
Nuke.alias.php Localisation updates for special pages and magic words for extensions from http://translatewiki.net. 2011-12-25 22:19:29 +00:00
Nuke.i18n.php Localisation updates for core and extension messages from translatewiki.net 2012-03-07 21:06:01 +00:00
Nuke.php Follow up to r108871; -m 2012-02-12 14:45:29 +00:00
Nuke_body.php Fix bug 23600: column "recentchanges.rc_timestamp" should be in GROUP BY 2012-03-08 13:28:01 +00:00
README added rel notes, install, readme and copying 2012-02-12 14:59:03 +00:00
RELEASE-NOTES added rel notes, install, readme and copying 2012-02-12 14:59:03 +00:00
SpecialNuke.php Added a changable limit and the option to not filter the recent changes on a single user 2011-02-14 20:21:02 +00: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: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Nuke/README?view=co

== 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.