Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -160,6 +160,10 @@ |
161 | 161 | $data['wikiid'] = wfWikiID(); |
162 | 162 | $data['time'] = wfTimestamp( TS_ISO_8601, time() ); |
163 | 163 | |
| 164 | + if ( $GLOBALS['wgMiserMode'] ) { |
| 165 | + $data['misermode'] = ''; |
| 166 | + } |
| 167 | + |
164 | 168 | wfRunHooks( 'APIQuerySiteInfoGeneralInfo', array( $this, &$data ) ); |
165 | 169 | |
166 | 170 | return $this->getResult()->addValue( 'query', $property, $data ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -344,6 +344,7 @@ |
345 | 345 | * (bug 28586) YAML: strings that are the same as boolean literals |
346 | 346 | * (bug 28591) Update/replace/supplement spyc (YAML parsing library) |
347 | 347 | * YAML API output is now 1.2 compliant, using JSON as the formatter |
| 348 | +* (bug 28672) give information about misermode on api |
348 | 349 | |
349 | 350 | === Languages updated in 1.18 === |
350 | 351 | |