Index: trunk/phase3/includes/filerepo/FileRepo.php |
— | — | @@ -300,7 +300,7 @@ |
301 | 301 | function getDescriptionRenderUrl( $name ) { |
302 | 302 | if ( isset( $this->scriptDirUrl ) ) { |
303 | 303 | return $this->scriptDirUrl . '/index.php?title=' . |
304 | | - wfUrlencode( MWNamespace::getCanonicalName( NS_FILE ) . ':' . $name ) . |
| 304 | + wfUrlencode( 'Image:' . $name ) . |
305 | 305 | '&action=render'; |
306 | 306 | } else { |
307 | 307 | $descBase = $this->getDescBaseUrl(); |