r45939 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45938‎ | r45939 | r45940 >
Date:22:55, 20 January 2009
Author:aaron
Status:ok (Comments)
Tags:
Comment:
Follow up to r45780: catch Talk:interwiki:x links
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -2077,6 +2077,8 @@
20782078 if( $ns == NS_TALK && preg_match( $prefixRegexp, $dbkey, $x ) ) {
20792079 if( $wgContLang->getNsIndex( $x[1] ) )
20802080 return false; # Disallow Talk:File:x type titles...
 2081+ else if( Interwiki::isValidInterwiki( $x[1] ) )
 2082+ return false; # Disallow Talk:Interwiki:x type titles...
20812083 }
20822084 } elseif( Interwiki::isValidInterwiki( $p ) ) {
20832085 if( !$firstPass ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r45780Redid r45389 "Disallow broken Talk:File:x type titles (bug 5280)"aaron18:36, 15 January 2009

Comments

#Comment by Brion VIBBER (talk | contribs)   04:17, 21 January 2009

w00t

Status & tagging log