Add bug #
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 18 Jan 2010 12:56:44 +0000 (12:56 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 18 Jan 2010 12:56:44 +0000 (12:56 +0000)
RELEASE-NOTES
maintenance/install-utils.inc
maintenance/syntaxChecker.php

index 039ff8f..7bec1e2 100644 (file)
@@ -715,8 +715,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   skin-specific JS pages
 * (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes 
   for image divs.
-* IE50Fixes.css and IE55Fixes.css have been dropped from the Monobook and Chick
-  skins
+* (bug 22096) IE50Fixes.css and IE55Fixes.css have been dropped from the Monobook 
+  and Chick skins
 
 == API changes in 1.16 ==
 
index 1d018a6..586e260 100644 (file)
@@ -48,8 +48,9 @@ function install_version_checks() {
        call_user_func_array( array( $test, 'test' ), array( &$ok ) );
        if ( !$ok ) {
                echo "PHP " . phpversion() . " is not compatible with MediaWiki due to a bug involving\n" .
-                       "reference parameters to __call. Upgrade to PHP 5.3.2, or downgrade\n" .
-                       "to PHP 5.3.0. to fix this.\n" .
+                       "reference parameters to __call in PHP versions 5.3.1, 5.2.12 and 5.2.11.\n" .
+                       "Upgrade to PHP 5.3.2 (5.2.13 for 5.2 users), or downgrade\n" .
+                       "to PHP 5.3.0 (5.2.10 for 5.2 users) to fix this.\n" .
                        "ABORTING (see http://bugs.php.net/bug.php?id=50394 for details)\n";
                die( 1 );
        }
index bbd968c..64f9a36 100644 (file)
@@ -274,6 +274,7 @@ class SyntaxChecker extends Maintenance {
                $this->checkRegex( $file, $text, '/^[\s\r\n]+<\?/', 'leading whitespace' );
                $this->checkRegex( $file, $text, '/\?>[\s\r\n]*$/', 'trailing ?>' );
                $this->checkRegex( $file, $text, '/^[\xFF\xFE\xEF]/', 'byte-order mark' );
+               $this->checkRegex( $file, $text, '/\&\$this/', 'passing $this by reference' );
        }
 
        private function checkRegex( $file, $text, $regex, $desc ) {