dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e643a6
)
Small todo note about ApiMain
author
John Du Hart
<johnduhart@users.mediawiki.org>
Wed, 26 Oct 2011 19:04:46 +0000
(19:04 +0000)
committer
John Du Hart
<johnduhart@users.mediawiki.org>
Wed, 26 Oct 2011 19:04:46 +0000
(19:04 +0000)
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
a3e2fd7
..
11c4b22
100644
(file)
--- 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() );