dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
User: Normalize skin key from $wgDefaultSkin for default options
[lhc/web/wiklou.git]
/
api.php
diff --git
a/api.php
b/api.php
index
e8a911e
..
80abc35
100644
(file)
--- a/
api.php
+++ b/
api.php
@@
-104,7
+104,7
@@
if ( $wgAPIRequestLog ) {
wfTimestamp( TS_MW ),
$endtime - $starttime,
$wgRequest->getIP(),
- $
_SERVER['HTTP_USER_AGENT']
+ $
wgRequest->getHeader( 'User-agent' )
);
$items[] = $wgRequest->wasPosted() ? 'POST' : 'GET';
if ( $processor ) {