Use english messages for background use of Status::getWikiText
[lhc/web/wiklou.git] / includes / jobqueue / jobs / PublishStashedFileJob.php
index a6d2f70..d2825a8 100644 (file)
@@ -92,7 +92,7 @@ class PublishStashedFileJob extends Job {
                                        $this->params['filekey'],
                                        [ 'result' => 'Failure', 'stage' => 'publish', 'status' => $status ]
                                );
-                               $this->setLastError( $status->getWikiText() );
+                               $this->setLastError( $status->getWikiText( false, false, 'en' ) );
 
                                return false;
                        }