From: Niklas Laxström Date: Sat, 1 Dec 2007 14:27:39 +0000 (+0000) Subject: * Introduced a bug with spaces X-Git-Tag: 1.31.0-rc.0~50638 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=78c2578e8059e49f5ebc9294c56cbb1608cb77a4;p=lhc%2Fweb%2Fwiklou.git * Introduced a bug with spaces --- diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 0a6e633a30..0e231af3a0 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -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 ) ); } }