mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-15 11:59:48 +00:00
Followup to rr113364: Sometimes
This commit is contained in:
parent
349dc133f8
commit
9eff49aea5
Notes:
Marcin Cieślak
2012-03-11 22:58:58 +00:00
|
@ -222,6 +222,7 @@ class SpecialNuke extends SpecialPage {
|
|||
if ( !is_null( $pattern ) && trim( $pattern ) !== '' ) {
|
||||
$where[] = 'rc_title LIKE ' . $dbr->addQuotes( $pattern );
|
||||
}
|
||||
$group = implode( ', ', $what );
|
||||
|
||||
$result = $dbr->select( 'recentchanges',
|
||||
$what,
|
||||
|
@ -229,7 +230,7 @@ class SpecialNuke extends SpecialPage {
|
|||
__METHOD__,
|
||||
array(
|
||||
'ORDER BY' => 'rc_timestamp DESC',
|
||||
'GROUP BY' => 'rc_namespace, rc_timestamp, rc_title',
|
||||
'GROUP BY' => $group,
|
||||
'LIMIT' => $limit
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue