From 78c2578e8059e49f5ebc9294c56cbb1608cb77a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 1 Dec 2007 14:27:39 +0000 Subject: [PATCH] * Introduced a bug with spaces --- includes/SpecialRecentchanges.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) ); } } -- 2.20.1