From: Thomas Bleher Date: Thu, 14 Feb 2008 21:17:29 +0000 (+0000) Subject: wfMsgExt() does not recognize the parameter 'parseline'. Pass array() X-Git-Tag: 1.31.0-rc.0~49482 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=5767c30dc123e658dfc2761d1d4e82d3b9f32382;p=lhc%2Fweb%2Fwiklou.git wfMsgExt() does not recognize the parameter 'parseline'. Pass array() instead, which is cleaner. --- diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 3031f728f7..d0c48085b5 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -608,11 +608,11 @@ class UploadForm { $dlink2 = ''; } - $warning .= '
  • ' . wfMsgExt( 'fileexists', 'parseline', $dlink ) . '
  • ' . $dlink2; + $warning .= '
  • ' . wfMsgExt( 'fileexists', array(), $dlink ) . '
  • ' . $dlink2; } elseif( $file->getTitle()->getArticleID() ) { $lnk = $sk->makeKnownLinkObj( $file->getTitle(), '', 'redirect=no' ); - $warning .= '
  • ' . wfMsgExt( 'filepageexists', 'parseline', $lnk ) . '
  • '; + $warning .= '
  • ' . wfMsgExt( 'filepageexists', array(), $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