Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -4526,7 +4526,7 @@ |
4527 | 4527 | if ( strpos( $matches[0], '%' ) !== false ) { |
4528 | 4528 | $matches[1] = rawurldecode( $matches[1] ); |
4529 | 4529 | } |
4530 | | - $tp = Title::newFromText( $matches[1] ); |
| 4530 | + $tp = Title::newFromText( $matches[1], NS_FILE ); |
4531 | 4531 | $nt =& $tp; |
4532 | 4532 | if ( is_null( $nt ) ) { |
4533 | 4533 | # Bogus title. Ignore these so we don't bomb out later. |