r86754 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86753‎ | r86754 | r86755 >
Date:11:12, 23 April 2011
Author:reedy
Status:ok
Tags:
Comment:
* (bug 28672) give information about misermode on api
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiQuerySiteinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php
@@ -160,6 +160,10 @@
161161 $data['wikiid'] = wfWikiID();
162162 $data['time'] = wfTimestamp( TS_ISO_8601, time() );
163163
 164+ if ( $GLOBALS['wgMiserMode'] ) {
 165+ $data['misermode'] = '';
 166+ }
 167+
164168 wfRunHooks( 'APIQuerySiteInfoGeneralInfo', array( $this, &$data ) );
165169
166170 return $this->getResult()->addValue( 'query', $property, $data );
Index: trunk/phase3/RELEASE-NOTES
@@ -344,6 +344,7 @@
345345 * (bug 28586) YAML: strings that are the same as boolean literals
346346 * (bug 28591) Update/replace/supplement spyc (YAML parsing library)
347347 * YAML API output is now 1.2 compliant, using JSON as the formatter
 348+* (bug 28672) give information about misermode on api
348349
349350 === Languages updated in 1.18 ===
350351

Status & tagging log