* Introduced a bug with spaces
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 1 Dec 2007 14:27:39 +0000 (14:27 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 1 Dec 2007 14:27:39 +0000 (14:27 +0000)
includes/SpecialRecentchanges.php

index 0a6e633..0e231af 100644 (file)
@@ -173,8 +173,8 @@ function wfSpecialRecentchanges( $par, $specialPage ) {
                $rows[] = $row;
                if ( !$feedFormat ) {
                        // User page and talk links
-                       $batch->add( NS_USER, $row->rc_user_text  );
-                       $batch->add( NS_USER_TALK, $row->rc_user_text  );
+                       $batch->add( NS_USER, str_replace( ' ', '_', $row->rc_user_text ) );
+                       $batch->add( NS_USER_TALK, str_replace( ' ', '_', $row->rc_user_text ) );
                }
 
        }