Small mistake in the title length check: I meant $r, not
authorWil Mahan <wmahan@users.mediawiki.org>
Tue, 5 Oct 2004 04:22:36 +0000 (04:22 +0000)
committerWil Mahan <wmahan@users.mediawiki.org>
Tue, 5 Oct 2004 04:22:36 +0000 (04:22 +0000)
$t (silly one-character variable names)

includes/Title.php

index a34bde8..b1cad3c 100644 (file)
@@ -1086,7 +1086,7 @@ class Title {
 
                # We shouldn't need to query the DB for the size.
                #$maxSize = $dbr->textFieldSize( 'cur', 'cur_title' );
-               if ( strlen( $t ) > 255 ) {
+               if ( strlen( $r ) > 255 ) {
                        return false;
                }