r25628 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25627‎ | r25628 | r25629 >
Date:11:01, 7 September 2007
Author:aaron
Status:old
Tags:
Comment:
*Should include usertalk NS too
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -1922,7 +1922,8 @@
19231923 // there are numerous ways to present the same IP. Having sp:contribs scan
19241924 // them all is silly and having some show the edits and others not is
19251925 // inconsistent. Same for talk/userpages. Keep them normalized instead.
1926 - $dbkey = $this->mNamespace == NS_USER ? IP::sanitizeIP( $dbkey ) : $dbkey;
 1926+ $dbkey = ($this->mNamespace == NS_USER || $this->mNamespace == NS_USER_TALK) ?
 1927+ IP::sanitizeIP( $dbkey ) : $dbkey;
19271928 // Any remaining initial :s are illegal.
19281929 if ( $dbkey !== '' && ':' == $dbkey{0} ) {
19291930 return false;

Follow-up revisions

RevisionCommit summaryAuthorDate
r25636Merge r25628 from trunk -- normalize user: and user_talk: ips the same waybrion13:34, 7 September 2007
r25754Merged revisions 25607-25751 via svnmerge from...david23:02, 10 September 2007

Status & tagging log