dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert Special:Search to OOUI
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryQueryPage.php
diff --git
a/includes/api/ApiQueryQueryPage.php
b/includes/api/ApiQueryQueryPage.php
index
062a44f
..
650ac8f
100644
(file)
--- a/
includes/api/ApiQueryQueryPage.php
+++ b/
includes/api/ApiQueryQueryPage.php
@@
-68,9
+68,9
@@
class ApiQueryQueryPage extends ApiQueryGeneratorBase {
$r = array( 'name' => $params['page'] );
if ( $qp->isCached() ) {
if ( !$qp->isCacheable() ) {
$r = array( 'name' => $params['page'] );
if ( $qp->isCached() ) {
if ( !$qp->isCacheable() ) {
- $r['disabled'] =
''
;
+ $r['disabled'] =
true
;
} else {
} else {
- $r['cached'] =
''
;
+ $r['cached'] =
true
;
$ts = $qp->getCachedTimestamp();
if ( $ts ) {
$r['cachedtimestamp'] = wfTimestamp( TS_ISO_8601, $ts );
$ts = $qp->getCachedTimestamp();
if ( $ts ) {
$r['cachedtimestamp'] = wfTimestamp( TS_ISO_8601, $ts );