Centralise the minimum-required-php-version in a MW_MIN_PHP_VERSION constant in Defin...
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 7 May 2011 15:16:01 +0000 (15:16 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 7 May 2011 15:16:01 +0000 (15:16 +0000)
commit7055add7990fd1fd23d4a58572582cf97839614d
treeb55e1a18aaf16c2ca46a873546b1dbbee56c92b9
parent94e5186fb31c232634366078d74b156019f978f3
Centralise the minimum-required-php-version in a MW_MIN_PHP_VERSION constant in Defines.php.  This requires loading Defines.php before the PHP4 version checks, so include a big note reminding people not to include anything other than vanilla define() statements in there.

I have a sneaking suspicion that including Defines.php in the entry points might not play nicely with HipHop, but I can't test it (wrong OS).
api.php
includes/Defines.php
includes/installer/Installer.php
index.php
load.php
maintenance/Maintenance.php
maintenance/install.php
maintenance/update.php