Don't link to PHP @ php.net when running HHVM
Change-Id: Ifdec12e093fdd29d76ccb4b9e3ec58a6bceb47ed
This commit is contained in:
parent
e585a2218c
commit
d09ab9001f
1 changed files with 3 additions and 1 deletions
|
|
@ -211,7 +211,9 @@ class SpecialVersion extends SpecialPage {
|
|||
// wikimarkup can be used.
|
||||
$software = array();
|
||||
$software['[https://www.mediawiki.org/ MediaWiki]'] = self::getVersionLinked();
|
||||
$software['[http://www.php.net/ PHP]'] = phpversion() . " (" . PHP_SAPI . ")";
|
||||
$phpKey = wfIsHHVM() ? '[http://hhvm.com/ HHVM]' :
|
||||
'[http://www.php.net/ PHP]';
|
||||
$software[$phpKey] = PHP_VERSION . " (" . PHP_SAPI . ")";
|
||||
$software[$dbr->getSoftwareLink()] = $dbr->getServerInfo();
|
||||
|
||||
// Allow a hook to add/remove items.
|
||||
|
|
|
|||
Loading…
Reference in a new issue