From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- includes/PHPVersionCheck.php | 157 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 includes/PHPVersionCheck.php (limited to 'includes/PHPVersionCheck.php') diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php new file mode 100644 index 00000000..eee9aa9c --- /dev/null +++ b/includes/PHPVersionCheck.php @@ -0,0 +1,157 @@ + + + + + MediaWiki {$mwVersion} + + + + The MediaWiki logo +

MediaWiki {$mwVersion} internal error

+
+

+ {$message} +

+

Supported PHP versions

+

+ Please consider upgrading your copy of PHP. + PHP versions less than 5.3.0 are no longer supported by the PHP Group and will not receive + security or bugfix updates. +

+

+ If for some reason you are unable to upgrade your PHP version, you will need to + download an older version + of MediaWiki from our website. See our + compatibility page + for details of which versions are compatible with prior versions of PHP. +

+

External dependencies

+

+ MediaWiki now also has some external dependencies that need to be installed via + composer or from a separate git repo. Please see + mediawiki.org + for help on installing the required components. +

+
+ + +HTML; + // Handle everything that's not index.php + } else { + // So nothing thinks this is JS or CSS + $finalOutput = ( $type == 'load.php' ) ? "/* $message */" : $message; + header( "$protocol 500 MediaWiki configuration Error" ); + } + echo "$finalOutput\n"; + die( 1 ); +} -- cgit v1.2.2