Index: trunk/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -474,6 +474,8 @@ |
475 | 475 | * (bug 30466) Entries in iwlinks table are now cleared when moving a page over |
476 | 476 | redirect |
477 | 477 | * (bug 31674) Can't edit watchlist if it contains special pages |
| 478 | +* (bug 32100) Installer complains about Suhosin GET limit even if it is |
| 479 | + already set above 1024 bytes |
478 | 480 | |
479 | 481 | === API changes in 1.18 === |
480 | 482 | * BREAKING CHANGE: action=watch now requires POST and token. |
Index: trunk/phase3/includes/installer/Installer.php |
— | — | @@ -981,7 +981,10 @@ |
982 | 982 | protected function envCheckSuhosinMaxValueLength() { |
983 | 983 | $maxValueLength = ini_get( 'suhosin.get.max_value_length' ); |
984 | 984 | if ( $maxValueLength > 0 ) { |
985 | | - $this->showMessage( 'config-suhosin-max-value-length', $maxValueLength ); |
| 985 | + if( $maxValueLength < 1024 ) { |
| 986 | + # Only warn if the value is below the sane 1024 |
| 987 | + $this->showMessage( 'config-suhosin-max-value-length', $maxValueLength ); |
| 988 | + } |
986 | 989 | } else { |
987 | 990 | $maxValueLength = -1; |
988 | 991 | } |
Index: trunk/phase3/includes/installer/Installer.i18n.php |
— | — | @@ -640,6 +640,7 @@ |
641 | 641 | 'config-admin-password' => '{{Identical|Password}}', |
642 | 642 | 'config-admin-email' => '{{Identical|E-mail address}}', |
643 | 643 | 'config-subscribe' => 'Used as label for the installer checkbox', |
| 644 | + 'config-suhosin-max-value-length' => 'Message shown when PHP parameter suhosin.get.max_value_length is between 0 and 1023 (that max value is hard set in MediaWiki software', |
644 | 645 | 'config-profile-help' => 'Messages referenced: |
645 | 646 | * {{msg-mw|config-profile-wiki}} |
646 | 647 | * {{msg-mw|config-profile-no-anon}} |