From: Aaron Schulz Date: Fri, 7 Sep 2007 11:01:46 +0000 (+0000) Subject: *Should include usertalk NS too X-Git-Tag: 1.31.0-rc.0~51481 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=00524469dcefe115d469f1db08b087ae6a5ff396;p=lhc%2Fweb%2Fwiklou.git *Should include usertalk NS too --- 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;