From: John Du Hart Date: Wed, 26 Oct 2011 19:04:46 +0000 (+0000) Subject: Small todo note about ApiMain X-Git-Tag: 1.31.0-rc.0~26901 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=83b50f5a8e68e8b24af588a1b76c9aae22c7a74f;p=lhc%2Fweb%2Fwiklou.git Small todo note about ApiMain --- diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index a3e2fd7716..11c4b22586 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -551,6 +551,7 @@ class ApiMain extends ApiBase { if ( !is_null( $requestid ) ) { $result->addValue( null, 'requestid', $requestid ); } + // TODO: Isn't there a setting to disable sharing the server hostname? $servedby = $this->getParameter( 'servedby' ); if ( $servedby ) { $result->addValue( null, 'servedby', wfHostName() );