aboutsummaryrefslogtreecommitdiffstats
path: root/includes/PHPVersionError.php
Commit message (Collapse)AuthorAgeFilesLines
* Bump 1.25James D. Forrester2014-09-191-1/+1
| | | | Change-Id: I361206d6c0522e89f685a1b76fec56ec593032c5
* Move assets/ to resources/assets/Bartosz Dziewoński2014-09-171-1/+1
| | | | | | | | | | | While it's "semantically" incorrect (these files are not ResourceLoader resources), putting them in that subdirectory is a lot less hassle than introducing a new toplevel directory. Follow-up to 2b4b9a3f. Discussion that resulted in the toplevel assets/ took place on I6268d663 (now abandoned). Change-Id: Iedbfd802457fe35803899e3479540177760ec30b
* Move mediawiki.png to assets/ directoryBartosz Dziewoński2014-09-051-1/+1
| | | | | Bug: 69277 Change-Id: I7936d878de23b1b85d5e0a3a3a9572101681dfdc
* Use PHP_VERSION constant instead of phpversion() function callChad Horohoe2014-07-091-1/+1
| | | | Change-Id: Ifb3d1bd92d6abaa561e7337b311b4cb10c38a2b6
* Web installer: check for low PHP versions before executingSergio Santoro2014-07-081-2/+8
| | | | | | | | | | | | | | | | | | Web installer was not checking for unsupported PHP versions. In those cases the script should terminate or the installation will break (e.g. syntax errors for PHP4). Installer::doEnvironmentChecks() no longer checks for PHP version since it has already been done by the entry scripts (both in cli and web modes) Installer::MINIMUM_PHP_VERSION has been removed since it is no longer used. Message config-env-php-toolow is no longer used and it has been removed Change-Id: I9227868bd2bd4e13bad6b95ad581be3ada71c94e
* Make phpcs-strict pass on includes/ (2/~10)Siebrand Mazeland2014-05-111-3/+6
| | | | Change-Id: I59fa9af7b16e0a5a4eb8a5cc764a605b18137316
* Couple more 1.24 bumpsReedy2014-04-141-1/+1
| | | | Change-Id: I2cd845750c8dd760c74b17d632c66985999d70bd
* Changing URLs of mediawiki.org in scripts to the SSL-based websiteLadsgroup2014-03-121-2/+2
| | | | | | | | http://www.mediawiki.org --> https://www.mediawiki.org Part 2 Change-Id: I3be61fe3dfb502cc20180486eb1a8016eac151df
* More 1.22 -> 1.23umherirrender2013-10-311-1/+1
| | | | | Follow-Up: I1c2d7bdd1d861ace3f7e7bd8f8f0047c31194446 Change-Id: Icc3d612d401c7c2a91678a4a5dc4a228383452e6
* Drop support for XHTML 1.0Daniel Friesen2013-05-151-4/+4
| | | | | | | | | | | * $wgHtml5 = false; is now ignored completely. * $wgDocType and $wgDTD have been removed. * $wgXhtmlDefaultNamespace is now ignored. * XHTML5 will be output if $wgMimeType is set to an XML mime type (according to HTML5's rules). * For backwards compatibility with extensions $wgHtml5 and $wgXhtmlDefaultNamespace are set in Setup.php but depending on them is deprecated. Change-Id: Iad9634e2ee420b5a3bbffe550421fde4fa1819b0
* echo is not a functionumherirrender2013-05-091-1/+1
| | | | | | Removed parenthesis after echo Change-Id: Ia533aedf63b11d15dcc6a5cf75a56134a4b11d86
* Bump 1.22Reedy2013-03-281-1/+1
| | | | Change-Id: Ib257f41b18764e7363d2e4aac661da76bed67413
* Merge "Make update.php and install.php use wfPHPVersionError() and ↵jenkins-bot2013-03-151-10/+15
|\ | | | | | | reorganise it"
| * Make update.php and install.php use wfPHPVersionError() and reorganise itPlatonides2013-02-261-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update.php and install.php now use wfPHPVersionError() Moved to wfPHPVersionError( cli ) the suggestion of another binary name. Old PHP versions won't have $_SERVER superglobal, hardcode HTTP/1.0 in that case. Store in a variable the minimum version of PHP supported by MediaWiki. Changed PHP_VERSION to phpversion(), although it doesn't matter for the version ranges this works. phpversion() has been present since PHP-2.0 PHP_VERSION was added in PHP 3.0RC5 On its current form in PHP 4 it was moved from Zend/zend_constants.c to main/main.c by Zeev in commits 71dddd7db7e768ae8145e085fcbb6b6db4a1c40a and fb1c77bd4f8a636ba47d720f8ca65fc6baae836d (1999-12-17) It had been commented there since the beginning of svn history (1999-04-07) The earliest version we can target seems to be PHP 4.1.0 PHP 4.0.0 produces a parse error on a require_once not followed by a literal path (although you can use require with an expression), plus its dirname() is quite dumb, and wouldn't provide the right path (would require you to call "php ./update.php" from maintenance folder, not "php update.php" or "php maintenance/update.php" from the main dir) Replacing pathinfo( $_SERVER['SCRIPT_NAME'], PATHINFO_DIRNAME ); into a pathinfo() to another variable since pathinfo( "", PATHINFO_DIRNAME ); core dumps in PHP 4.1.0 (works if $path is not empty) The value of the pragma directive is 'no-cache', not 'nocache'. See section 14.32 of rfc2616: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.32 Change-Id: I6294e86a5f3e11b9ea0f62762815e7c71b9037ce
* | Spellchecked /includes directoryYuri Astrakhan2013-03-131-1/+1
| | | | | | | | | | | | | | | | | | * Ran spell-checker over code comments in /includes/ * A few spellchecking fixes for wfDebug() calls Found one very strange (NOOP?) line in Linker.php - see "TODO: BUG?" Change-Id: Ibb86b51073b980eda9ecce2cf0b8dd33f058adbf
* | Fixed @param tags to conform with Doxygen format.Tyler Anthony Romeo2013-03-111-1/+1
|/ | | | | | | | | | | Doxygen expects parameter types to come before the parameter name in @param tags. Used a quick regex to switch everything around where possible. This only fixes cases where a primitve variable (or a primitive followed by other types) is the variable type. Other cases will need to be fixed manually. Change-Id: Ic59fd20856eb0489d70f3469a56ebce0efb3db13
* fix some spacingumherirrender2013-01-271-1/+1
| | | Change-Id: Ie7bb35871cc99237f3a655f7db22ca1f0646df5e
* Update version to 1.21.Siebrand Mazeland2012-10-081-1/+1
| | | | Change-Id: I0305bb936104eadd60a2f43cdbf7cb676a55d3cb
* Added missing GPLv2 headers in some places.Alexandre Emsenhuber2012-05-111-0/+21
| | | | | | Also made file/class documentation more consistent. Change-Id: Ia45d0756cd84138da267bf1cbd1a58be7f28c6d1
* Update both the MediaWiki version and the min required PHP version in ↵Reedy2012-05-041-2/+2
| | | | | | PHPVersionError.php Change-Id: Ia7db1c90854b30aee17cc180381fdd9dc2f9c90b
* Fix doxygen docs before REL1_19 branchingAntoine Musso2012-02-011-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110518
* Indentation fixChad Horohoe2011-12-061-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105376
* Revert 2 from r92498Sam Reed2011-07-181-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/92500
* Update code comments that point to 1.18 to point to 1.19Sam Reed2011-07-181-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/92498
* Followup r91602, forgot svn addChad Horohoe2011-07-061-0/+91
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/91604