From a530018ce90a883764250cfbffbe7f641876db1b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 19 Feb 2008 01:02:01 +0000 Subject: [PATCH] Fix for r30957: instead of just removing the misspelled parameter, fix the spelling! :) parseline -> array() -> parseinline --- includes/SpecialUpload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index c9e0cee10e..a095095e30 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -609,11 +609,11 @@ class UploadForm { $dlink2 = ''; } - $warning .= '
  • ' . wfMsgExt( 'fileexists', array(), $dlink ) . '
  • ' . $dlink2; + $warning .= '
  • ' . wfMsgExt( 'fileexists', 'parseinline', $dlink ) . '
  • ' . $dlink2; } elseif( $file->getTitle()->getArticleID() ) { $lnk = $sk->makeKnownLinkObj( $file->getTitle(), '', 'redirect=no' ); - $warning .= '
  • ' . wfMsgExt( 'filepageexists', array(), $lnk ) . '
  • '; + $warning .= '
  • ' . wfMsgExt( 'filepageexists', 'parseinline', $lnk ) . '
  • '; } elseif ( $file_lc && $file_lc->exists() ) { # Check if image with lowercase extension exists. # It's not forbidden but in 99% it makes no sense to upload the same filename with uppercase extension -- 2.20.1