Commit graph

567 commits

Author SHA1 Message Date
Marcin Cieślak 3cf0615529 Followup to rr113364: Sometimes
Change-Id: I5ad1c9cf1c2d4dde80610ec7daab23389c28fc6a
2012-03-22 13:07:26 -07:00
Marcin Cieślak e689c5d00f 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:

Thanks-To:

Change-Id: I8804b0e88d483c0563bdf304fa6aad8373a14ab3
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-22 13:07:22 -07:00
Roan Kattouw e727fb90fb Revert r113364, r113598, r113604, r113793, r113795. Unreviewed changes in Nuke.
All of these revisions are tagged with 'gerritmigration' and will be resubmitted into Gerrit after the Gerrit switchover. See also http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059124.html
2012-03-21 19:25:49 +00:00
Raimond Spekking 06ea5888de Localisation updates for core and extension messages from translatewiki.net 2012-03-18 20:13:19 +00:00
Marcin Cieślak 5bddb168bd Followup-To: r113793 Update RELEASE-NOTES for Extension:Nuke version 1.1.5 2012-03-14 02:24:14 +00:00
Marcin Cieślak 51e8493910 (bug 35214) Special:Nuke allows deletions even when blocked 2012-03-14 01:58:01 +00:00
Marcin Cieślak c56370bf33 bug 16985: Show number of recent edits in Special:Nuke
One aggregate query only to get list of recent changes
matching the criteria.

Bumping extension version + adding myself to credits.

Followup-To: r108602 r108871

i18n: remove nuke-viewchanges introduced in r111298
2012-03-12 00:18:08 +00:00
Marcin Cieślak 9eff49aea5 Followup to rr113364: Sometimes 2012-03-11 22:58:58 +00:00
Raimond Spekking 349dc133f8 Localisation updates for core and extension messages from translatewiki.net 2012-03-08 20:35:25 +00:00
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
Raimond Spekking ecb8926cb5 Localisation updates for core and extension messages from translatewiki.net 2012-03-07 21:06:01 +00:00
Raimond Spekking 2bf6f274cd Localisation updates for core and extension messages from translatewiki.net 2012-03-06 21:18:30 +00:00
Raimond Spekking 8da4dd617e Localisation update for core and extension messages from translatewiki.net 2012-03-03 21:32:20 +00:00
Tim Starling 64aa330042 Fixed a typo in a boilerplate comment that Jeroen copied to many files, JavasSript -> JavaScript 2012-02-27 01:02:55 +00:00
Raimond Spekking 9718c0c85a Localisation updates for core and extension messages from translatewiki.net 2012-02-19 20:47:51 +00:00
Raimond Spekking 04e517173f Localisation updates for core and extension messages from translatewiki.net 2012-02-17 21:26:28 +00:00
Raimond Spekking f453f3911f Localisation updates for core and extension messages from translatewiki.net 2012-02-16 20:46:56 +00:00
Raimond Spekking 9acb1c5d1c Localisation updates for core and extension messages from translatewiki.net 2012-02-15 20:11:31 +00:00
Raimond Spekking 980dedc7c8 Localisation updates for core and extension messages from translatewiki.net 2012-02-14 21:44:34 +00:00
Raimond Spekking 985a81bf66 Localisation updates for core and extension messages from translatewiki.net 2012-02-13 19:45:00 +00:00
Alexandre Emsenhuber 8e688da565 svn:eol-style native 2012-02-13 15:18:37 +00:00
Jeroen De Dauw 0ac833f812 added rel notes, install, readme and copying 2012-02-12 14:59:03 +00:00
Jeroen De Dauw 4e3aa8fcd3 Follow up to r108871; -m 2012-02-12 14:45:29 +00:00
Raimond Spekking 47c556b52d Localisation updates for core and extension messages from translatewiki.net 2012-02-11 21:23:46 +00:00
Raimond Spekking adb67fe099 Localisation updates for core and extension messages from translatewiki.net 2012-02-05 20:20:23 +00:00
Raimond Spekking 8d757e695a Localisation updates for core and extension messages from translatewiki.net 2012-02-04 22:42:59 +00:00
Raimond Spekking bb97b89669 Localisation updates for core and extension messages from translatewiki.net 2012-01-31 20:31:52 +00:00
Raimond Spekking 3a6b612518 Localisation updates for core and extension messages from translatewiki.net 2012-01-24 20:12:55 +00:00
Raimond Spekking c8825717fe Localisation updates for core and extension messages from translatewiki.net 2012-01-16 21:47:30 +00:00
Sam Reed 2d918ec529 Revert most of r108602
For such a minor cosmetic fix, having to do a query per result row is just daft
2012-01-13 22:59:39 +00:00
Sam Reed a45af09c07 Minor stylistic changes
Don't attempt to return values returned by void methods

Kill freeResult

Minor documentation
2012-01-13 22:45:24 +00:00
Jeroen De Dauw 7fbbea0f0c fix bug 16985 based on attached patch by Nakon 2012-01-11 09:34:47 +00:00
Raimond Spekking f33b6daf3d Localisation updates for core and extension messages from translatewiki.net 2012-01-09 21:29:15 +00:00
Raimond Spekking 221adfbe87 Localisation updates for core and extension messages from translatewiki.net 2012-01-07 21:50:32 +00:00
Raimond Spekking 3328a1993a Localisation updates for core and extension messages from translatewiki.net 2012-01-06 23:05:19 +00:00
Raimond Spekking 9258b721a0 Localisation updates for core and extension messages from translatewiki.net 2012-01-04 21:00:47 +00:00
Raimond Spekking 7141993224 Localisation updates for core and extension messages from translatewiki.net 2012-01-03 21:22:22 +00:00
Raimond Spekking 5cd78cc229 Localisation updates for core and extension messages from translatewiki.net 2012-01-02 20:46:12 +00:00
Raimond Spekking a716129894 Localisation updates for core and extension messages from translatewiki.net 2012-01-01 20:29:00 +00:00
Raimond Spekking 9e916902c5 Localisation updates for core and extension messages from translatewiki.net 2011-12-30 21:17:13 +00:00
Raimond Spekking 64f8ffa50c Localisation updates for core and extension messages from translatewiki.net 2011-12-29 21:54:17 +00:00
Raimond Spekking acce7afd54 Localisation updates for core and extension messages from translatewiki.net 2011-12-28 22:31:07 +00:00
Raimond Spekking 545c4dd706 Localisation updates for core and extension messages from translatewiki.net 2011-12-27 20:23:52 +00:00
Raimond Spekking e89dd00b1f Localisation updates for core and extension messages from translatewiki.net 2011-12-26 21:21:55 +00:00
Siebrand Mazeland 437042722c Bye, bye $wgExtensionAliasesFiles (deprecated in 1.16). 2011-12-25 23:09:26 +00:00
Siebrand Mazeland 34fe827763 Localisation updates for special pages and magic words for extensions from http://translatewiki.net.
Backwards compatibility with MediaWiki 1.15 and earlier dropped for special page aliases.
2011-12-25 22:19:29 +00:00
Raimond Spekking a1d2180e0d Localisation updates for core and extension messages from translatewiki.net 2011-12-25 20:25:45 +00:00
Siebrand Mazeland 65c8c30fab Rename no to nb (step 4/4): Change 'no' to 'nb' in remaining files. 2011-12-25 09:42:00 +00:00
Raimond Spekking c868d96296 Localisation updates for core and extension messages from translatewiki.net 2011-12-23 21:10:51 +00:00
Raimond Spekking e1b617033e Localisation updates for core and extension messages from translatewiki.net 2011-12-21 20:44:11 +00:00