// Fetch the file if required
$status = $this->mUpload->fetchFile();
if ( !$status->isOK() ) {
- $this->showUploadError( $this->getOutput()->parseAsInterface( $status->getWikiText() ) );
+ $this->showUploadError( $this->getOutput()->parseAsInterface(
+ $status->getWikiText( false, false, $this->getLanguage() )
+ ) );
return;
}
$changeTags, $this->getUser() );
if ( !$changeTagsStatus->isOK() ) {
$this->showUploadError( $this->getOutput()->parseAsInterface(
- $changeTagsStatus->getWikiText()
+ $changeTagsStatus->getWikiText( false, false, $this->getLanguage() )
) );
return;
if ( !$status->isGood() ) {
$this->showRecoverableUploadError(
- $this->getOutput()->parseAsInterface( $status->getWikiText() )
+ $this->getOutput()->parseAsInterface(
+ $status->getWikiText( false, false, $this->getLanguage() )
+ )
);
return;