Replace deprecated wfMsg* functions

Bug: T70750
Change-Id: I4b037f14c7a6fc7592c4d6c90afa3844fc60bf35
This commit is contained in:
Justin Du 2016-01-03 19:56:07 -06:00
parent a0feee14d7
commit 800b3c4b54

View file

@ -519,7 +519,7 @@ class TemplateDataBlobTest extends MediaWikiTestCase {
protected static function getStatusText( Status $status ) {
$str = $status->getHtml();
// Based on wfMsgExt/parseinline
// Based on wfMessage()->parse
$m = array();
if ( preg_match( '/^<p>(.*)\n?<\/p>\n?$/sU', $str, $m ) ) {
// Unescape char references for things like "[, "]" and "|" for