dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d6689e
)
Followup r61957, define $index
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 4 Feb 2010 14:55:53 +0000
(14:55 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 4 Feb 2010 14:55:53 +0000
(14:55 +0000)
includes/api/ApiQueryRevisions.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryRevisions.php
b/includes/api/ApiQueryRevisions.php
index
4a2af3a
..
bf2b2ba
100644
(file)
--- a/
includes/api/ApiQueryRevisions.php
+++ b/
includes/api/ApiQueryRevisions.php
@@
-142,6
+142,9
@@
class ApiQueryRevisions extends ApiQueryBase {
$this->fld_user = isset ( $prop['user'] );
$this->token = $params['token'];
+ // Possible indexes used
+ $index = array();
+
if ( !is_null( $this->token ) || $pageCount > 0 ) {
$this->addFields( Revision::selectPageFields() );
}