Small todo note about ApiMain
authorJohn Du Hart <johnduhart@users.mediawiki.org>
Wed, 26 Oct 2011 19:04:46 +0000 (19:04 +0000)
committerJohn Du Hart <johnduhart@users.mediawiki.org>
Wed, 26 Oct 2011 19:04:46 +0000 (19:04 +0000)
includes/api/ApiMain.php

index a3e2fd7..11c4b22 100644 (file)
@@ -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() );