Merge "API: Improve description for ApiQueryPrefixSearch"
[lhc/web/wiklou.git] / includes / MediaWiki.php
index fcd425d..be0073d 100644 (file)
@@ -548,7 +548,7 @@ class MediaWiki {
                                if ( $limit > 0 && $time > $limit ) {
                                        throw new DBTransactionError(
                                                $db,
-                                               wfMessage( 'transaction-duration-limit-exceeded', $time, $limit )->plain()
+                                               wfMessage( 'transaction-duration-limit-exceeded', $time, $limit )->text()
                                        );
                                }
                        } );