Index: trunk/phase3/includes/Title.php |
— | — | @@ -2072,7 +2072,12 @@ |
2073 | 2073 | if ( $ns = $wgContLang->getNsIndex( $p )) { |
2074 | 2074 | # Ordinary namespace |
2075 | 2075 | $dbkey = $m[2]; |
| 2076 | + # Disallow Talk:File:x type titles... |
| 2077 | + if( $this->mNamespace == NS_TALK && $ns > 0 ) |
| 2078 | + return false; // bug 5280 title issues |
2076 | 2079 | $this->mNamespace = $ns; |
| 2080 | + if( $ns == NS_TALK && $firstPass ) |
| 2081 | + continue; # Do another namespace split... |
2077 | 2082 | } elseif( Interwiki::isValidInterwiki( $p ) ) { |
2078 | 2083 | if( !$firstPass ) { |
2079 | 2084 | # Can't make a local interwiki link to an interwiki link. |