From 56f3512047b498a02111a8b65731af79473e3933 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 4 Dec 2008 02:09:49 +0000 Subject: [PATCH] Cleanup, syntax errors and such. --- includes/filerepo/FileRepo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index bc76c13619..26a8d40837 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -262,10 +262,10 @@ abstract class FileRepo { if ( is_null( $this->descBaseUrl ) ) { if ( !is_null( $this->articleUrl ) ) { $this->descBaseUrl = str_replace( '$1', - wfUrlencode( 'Image:', $this->articleUrl ); + wfUrlencode( 'Image' ) . ':', $this->articleUrl ); } elseif ( !is_null( $this->scriptDirUrl ) ) { $this->descBaseUrl = $this->scriptDirUrl . '/index.php?title=' . - wfUrlencode( 'Image:'; + wfUrlencode( 'Image' ) . ':'; } else { $this->descBaseUrl = false; } -- 2.20.1