Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -241,8 +241,8 @@ |
242 | 242 | * @return string |
243 | 243 | */ |
244 | 244 | protected function makeMetadataTable( $metadata ) { |
245 | | - $r = "<div class=\"mw-imagepage-section-metadata\">\n"; |
246 | | - $r .= wfMsg( 'metadata-help' ); |
| 245 | + $r = "<div class=\"mw-imagepage-section-metadata\">"; |
| 246 | + $r .= wfMsgNoTrans( 'metadata-help' ); |
247 | 247 | $r .= "<table id=\"mw_metadata\" class=\"mw_metadata\">\n"; |
248 | 248 | foreach ( $metadata as $type => $stuff ) { |
249 | 249 | foreach ( $stuff as $v ) { |
— | — | @@ -474,7 +474,7 @@ |
475 | 475 | $uploadTitle = SpecialPage::getTitleFor( 'Upload' ); |
476 | 476 | $nofile = wfMsgHtml( |
477 | 477 | 'filepage-nofile-link', |
478 | | - $uploadTitle->getFullUrl( array( 'wpDestFile' => urlencode( $this->img->getName() ) ) ) |
| 478 | + $uploadTitle->getFullUrl( array( 'wpDestFile' => $this->img->getName() ) ) |
479 | 479 | ); |
480 | 480 | } |
481 | 481 | else |
— | — | @@ -518,7 +518,7 @@ |
519 | 519 | $this->loadFile(); |
520 | 520 | $uploadTitle = SpecialPage::getTitleFor( 'Upload' ); |
521 | 521 | return $uploadTitle->getFullUrl( array( |
522 | | - 'wpDestFile' => urlencode( $this->img->getName() ), |
| 522 | + 'wpDestFile' => $this->img->getName(), |
523 | 523 | 'wpForReUpload' => 1 |
524 | 524 | ) ); |
525 | 525 | } |