StringUtils: Clarify that isValidRegex is for PCRE regexps
[lhc/web/wiklou.git] / maintenance / addChangeTag.php
index b63a2e2..c1a1b07 100644 (file)
@@ -52,7 +52,7 @@ class AddChangeTag extends Maintenance {
                );
 
                if ( !$status->isGood() ) {
-                       $this->fatalError( $status->getWikiText( null, null, 'en' ) );
+                       $this->fatalError( $status->getMessage( false, false, 'en' )->text() );
                }
 
                $this->output( "$tag was created.\n" );