r88791 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88790‎ | r88791 | r88792 >
Date:14:21, 25 May 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fixed bug in continue param caused by earlier refactoring
Modified paths:
  • /trunk/extensions/SemanticWatchlist/api/ApiQuerySemanticWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWatchlist/api/ApiQuerySemanticWatchlist.php
@@ -41,7 +41,7 @@
4242 if ( ++$count > $params['limit'] ) {
4343 // We've reached the one extra which shows that
4444 // there are additional pages to be had. Stop here...
45 - $this->setContinueEnumParameter( 'continue', $set->set_time . '-' . $set->set_id );
 45+ $this->setContinueEnumParameter( 'continue', $set->edit_time . '-' . $set->spe_set_id );
4646 break;
4747 }
4848
@@ -135,6 +135,10 @@
136136 ApiBase::PARAM_TYPE => 'integer',
137137 ApiBase::PARAM_ISMULTI => true,
138138 ),
 139+ 'merge' => array(
 140+ ApiBase::PARAM_TYPE => 'boolean',
 141+ ApiBase::PARAM_TYPE => false,
 142+ ),
139143 'limit' => array(
140144 ApiBase :: PARAM_DFLT => 20,
141145 ApiBase :: PARAM_TYPE => 'limit',

Status & tagging log