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:
4fe80f6
)
Followup e48ecbc5: fix fatal error due to undefined variable
author
Roan Kattouw
<roan.kattouw@gmail.com>
Mon, 16 Jun 2014 18:30:47 +0000
(11:30 -0700)
committer
Reedy
<reedy@wikimedia.org>
Mon, 16 Jun 2014 18:40:35 +0000
(18:40 +0000)
Bug: 66669
Change-Id: I195a5ff539f09addb92d2bb07d53bdb3aef0db1f
includes/api/ApiQueryRevisions.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryRevisions.php
b/includes/api/ApiQueryRevisions.php
index
78aa029
..
3ff6805
100644
(file)
--- a/
includes/api/ApiQueryRevisions.php
+++ b/
includes/api/ApiQueryRevisions.php
@@
-626,7
+626,7
@@
class ApiQueryRevisions extends ApiQueryBase {
if ( $content && ( !is_null( $this->diffto ) || !is_null( $this->difftotext ) ) ) {
static $n = 0; // Number of uncached diffs we've had
- if ( $n < $
config
->get( 'APIMaxUncachedDiffs' ) ) {
+ if ( $n < $
this->getConfig()
->get( 'APIMaxUncachedDiffs' ) ) {
$vals['diff'] = array();
$context = new DerivativeContext( $this->getContext() );
$context->setTitle( $title );