From: Brion Vibber Date: Tue, 19 Feb 2008 01:02:01 +0000 (+0000) Subject: Fix for r30957: instead of just removing the misspelled parameter, fix the spelling! :) X-Git-Tag: 1.31.0-rc.0~49440 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=a530018ce90a883764250cfbffbe7f641876db1b;p=lhc%2Fweb%2Fwiklou.git Fix for r30957: instead of just removing the misspelled parameter, fix the spelling! :) parseline -> array() -> parseinline --- 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