Index: branches/REL1_17/phase3/includes/GlobalFunctions.php |
— | — | @@ -197,6 +197,16 @@ |
198 | 198 | define( 'TC_PCRE', 1 ); |
199 | 199 | define( 'TC_SELF', 1 ); |
200 | 200 | } |
| 201 | + |
| 202 | +// array_fill_keys() was only added in 5.2, but people use it anyway |
| 203 | +// add a back-compat layer for 5.1. See bug 27781 |
| 204 | +if( !function_exists( 'array_fill_keys' ) ) { |
| 205 | + function array_fill_keys( $keys, $value ) { |
| 206 | + return array_combine( $keys, array_fill( 0, count( $keys ), $value ) ); |
| 207 | + } |
| 208 | +} |
| 209 | + |
| 210 | + |
201 | 211 | /// @endcond |
202 | 212 | |
203 | 213 | |
Index: branches/REL1_17/phase3/INSTALL |
— | — | @@ -6,10 +6,10 @@ |
7 | 7 | "in-place", as long as you have the necessary prerequisites available. |
8 | 8 | |
9 | 9 | Required software: |
10 | | -* Web server with PHP 5.1.x or higher. |
| 10 | +* Web server with PHP 5.1.x or higher (this will be the last release to support 5.1.x) |
11 | 11 | * A SQL server, the following types are supported |
12 | 12 | ** MySQL 4.0.14 or higher |
13 | | -** PostgreSQL 8.1 or higher |
| 13 | +** PostgreSQL 8.3 or higher |
14 | 14 | ** SQLite |
15 | 15 | |
16 | 16 | MediaWiki is developed and tested mainly on Unix/Linux platforms, but should |
Index: branches/REL1_17/phase3/RELEASE-NOTES |
— | — | @@ -496,6 +496,8 @@ |
497 | 497 | * (bug 26716) Provide link to instructions for external editor related preferences. |
498 | 498 | * (bug 26961) Hide anon edits in watchlist preference now actually works. |
499 | 499 | * (bug 1379) Installer directory conflicts with some hosts' configuration panel. |
| 500 | +* (bug 27781) Installer does not warn about 5.1.x. Added a compatibility function |
| 501 | + for array_key_exists(). |
500 | 502 | |
501 | 503 | === API changes in 1.17 === |
502 | 504 | * BREAKING CHANGE: action=patrol now requires POST |