Index: trunk/phase3/includes/filerepo/FileRepo.php |
— | — | @@ -262,10 +262,10 @@ |
263 | 263 | if ( is_null( $this->descBaseUrl ) ) { |
264 | 264 | if ( !is_null( $this->articleUrl ) ) { |
265 | 265 | $this->descBaseUrl = str_replace( '$1', |
266 | | - wfUrlencode( MWNamespace::getCanonicalName( NS_FILE ) ) . ':', $this->articleUrl ); |
| 266 | + wfUrlencode( 'Image:', $this->articleUrl ); |
267 | 267 | } elseif ( !is_null( $this->scriptDirUrl ) ) { |
268 | 268 | $this->descBaseUrl = $this->scriptDirUrl . '/index.php?title=' . |
269 | | - wfUrlencode( MWNamespace::getCanonicalName( NS_FILE ) ) . ':'; |
| 269 | + wfUrlencode( 'Image:'; |
270 | 270 | } else { |
271 | 271 | $this->descBaseUrl = false; |
272 | 272 | } |