X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryQueryPage.php;h=650ac8fef91d53416c82ae456bebb5a9788b138d;hb=7060acd95863d4021afa2701f9e779de61e6a560;hp=062a44f8e4a0fae8be08f83de810ddd9e79a7ffd;hpb=d498c8c21794f5fc8abafd6142fe8972257015ce;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryQueryPage.php b/includes/api/ApiQueryQueryPage.php index 062a44f8e4..650ac8fef9 100644 --- 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['disabled'] = ''; + $r['disabled'] = true; } else { - $r['cached'] = ''; + $r['cached'] = true; $ts = $qp->getCachedTimestamp(); if ( $ts ) { $r['cachedtimestamp'] = wfTimestamp( TS_ISO_8601, $ts );