Index: trunk/phase3/includes/Linker.php |
— | — | @@ -644,7 +644,7 @@ |
645 | 645 | $upload = SpecialPage::getTitleFor( 'Upload' ); |
646 | 646 | if( $text == '' ) |
647 | 647 | $text = htmlspecialchars( $title->getPrefixedText() ); |
648 | | - $q = 'wpDestFile=' . $title->getPrefixedUrl(); |
| 648 | + $q = 'wpDestFile=' . $title->getPartialUrl(); |
649 | 649 | if( $query != '' ) |
650 | 650 | $q .= '&' . $query; |
651 | 651 | list( $inside, $trail ) = self::splitTrail( $trail ); |