r100847 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100846‎ | r100847 | r100848 >
Date:19:04, 26 October 2011
Author:johnduhart
Status:ok
Tags:
Comment:
Small todo note about ApiMain
Modified paths:
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMain.php
@@ -551,6 +551,7 @@
552552 if ( !is_null( $requestid ) ) {
553553 $result->addValue( null, 'requestid', $requestid );
554554 }
 555+ // TODO: Isn't there a setting to disable sharing the server hostname?
555556 $servedby = $this->getParameter( 'servedby' );
556557 if ( $servedby ) {
557558 $result->addValue( null, 'servedby', wfHostName() );

Follow-up revisions

RevisionCommit summaryAuthorDate
r100858Followup r100847, ApiMain now respects $wgShowHostnamesjohnduhart19:39, 26 October 2011

Status & tagging log