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
Follow-up If8dfdaf1, I1c5eee3f: Don't assume INTL_ICU_VERSION exists on Special:Version
[lhc/web/wiklou.git]
/
includes
/
PHPVersionCheck.php
diff --git
a/includes/PHPVersionCheck.php
b/includes/PHPVersionCheck.php
index
37d4632
..
8eda14a
100644
(file)
--- a/
includes/PHPVersionCheck.php
+++ b/
includes/PHPVersionCheck.php
@@
-27,10
+27,10
@@
*/
class PHPVersionCheck {
/* @var string The number of the MediaWiki version used */
*/
class PHPVersionCheck {
/* @var string The number of the MediaWiki version used */
- var $mwVersion = '1.3
1
';
+ var $mwVersion = '1.3
2
';
var $functionsExtensionsMapping = array(
'mb_substr' => 'mbstring',
var $functionsExtensionsMapping = array(
'mb_substr' => 'mbstring',
- '
utf8_encod
e' => 'xml',
+ '
xml_parser_creat
e' => 'xml',
'ctype_digit' => 'ctype',
'json_decode' => 'json',
'iconv' => 'iconv',
'ctype_digit' => 'ctype',
'json_decode' => 'json',
'iconv' => 'iconv',
@@
-94,7
+94,7
@@
class PHPVersionCheck {
'version' => PHP_VERSION,
'vendor' => 'the PHP Group',
'upstreamSupported' => '5.6.0',
'version' => PHP_VERSION,
'vendor' => 'the PHP Group',
'upstreamSupported' => '5.6.0',
- 'minSupported' => '
5.5.9
',
+ 'minSupported' => '
7.0.0
',
'upgradeURL' => 'https://secure.php.net/downloads.php',
);
}
'upgradeURL' => 'https://secure.php.net/downloads.php',
);
}
@@
-120,7
+120,7
@@
class PHPVersionCheck {
. "MediaWiki $this->mwVersion needs {$phpInfo['implementation']}"
. " $minimumVersion or higher or {$otherInfo['implementation']} version "
. "{$otherInfo['minSupported']}.\n\nCheck if you have a"
. "MediaWiki $this->mwVersion needs {$phpInfo['implementation']}"
. " $minimumVersion or higher or {$otherInfo['implementation']} version "
. "{$otherInfo['minSupported']}.\n\nCheck if you have a"
- . " newer php executable with a different name
, such as php5
.\n\n";
+ . " newer php executable with a different name.\n\n";
// phpcs:disable Generic.Files.LineLength
$longHtml = <<<HTML
// phpcs:disable Generic.Files.LineLength
$longHtml = <<<HTML
@@
-134,7
+134,7
@@
class PHPVersionCheck {
If for some reason you are unable to upgrade your {$phpInfo['implementation']} version,
you will need to <a href="https://www.mediawiki.org/wiki/Download">download</a> an
older version of MediaWiki from our website.
If for some reason you are unable to upgrade your {$phpInfo['implementation']} version,
you will need to <a href="https://www.mediawiki.org/wiki/Download">download</a> an
older version of MediaWiki from our website.
- See our<a href="https://www.mediawiki.org/wiki/Compatibility#PHP">compatibility page</a>
+ See our
<a href="https://www.mediawiki.org/wiki/Compatibility#PHP">compatibility page</a>
for details of which versions are compatible with prior versions of {$phpInfo['implementation']}.
HTML;
// phpcs:enable Generic.Files.LineLength
for details of which versions are compatible with prior versions of {$phpInfo['implementation']}.
HTML;
// phpcs:enable Generic.Files.LineLength