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
Revert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks HipHop support.
[lhc/web/wiklou.git]
/
includes
/
HttpFunctions.php
diff --git
a/includes/HttpFunctions.php
b/includes/HttpFunctions.php
index
72def79
..
841b341
100644
(file)
--- a/
includes/HttpFunctions.php
+++ b/
includes/HttpFunctions.php
@@
-112,7
+112,8
@@
class Http {
* @return String
*/
public static function userAgent() {
- return "MediaWiki/" . MW_VERSION;
+ global $wgVersion;
+ return "MediaWiki/$wgVersion";
}
/**