From 00524469dcefe115d469f1db08b087ae6a5ff396 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 7 Sep 2007 11:01:46 +0000 Subject: [PATCH] *Should include usertalk NS too --- includes/Title.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index 1d9e04067a..c4db4172f6 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1922,7 +1922,8 @@ class Title { // there are numerous ways to present the same IP. Having sp:contribs scan // them all is silly and having some show the edits and others not is // inconsistent. Same for talk/userpages. Keep them normalized instead. - $dbkey = $this->mNamespace == NS_USER ? IP::sanitizeIP( $dbkey ) : $dbkey; + $dbkey = ($this->mNamespace == NS_USER || $this->mNamespace == NS_USER_TALK) ? + IP::sanitizeIP( $dbkey ) : $dbkey; // Any remaining initial :s are illegal. if ( $dbkey !== '' && ':' == $dbkey{0} ) { return false; -- 2.20.1