From 490454d8acb166b9e02aaa8124b66d67ed13b523 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 22 Sep 2009 11:13:41 +0000 Subject: [PATCH] * (bug 20702) Parser functions can now be used correctly in MediaWiki:Missing-article --- RELEASE-NOTES | 2 ++ includes/Article.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 43188b7eee..14f8c3f9c8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -529,6 +529,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 20730) Fix to Special:Version ViewVC link for branch checkouts * (bug 20353) wfShellExec() was adding extra quotes on Windows Vista, causing command line scripts to fail +* (bug 20702) Parser functions can now be used correctly in + MediaWiki:Missing-article == API changes in 1.16 == diff --git a/includes/Article.php b/includes/Article.php index 846061a42c..67cb5a6988 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -443,7 +443,7 @@ class Article { # fails we'll have something telling us what we intended. $t = $this->mTitle->getPrefixedText(); $d = $oldid ? wfMsgExt( 'missingarticle-rev', array( 'escape' ), $oldid ) : ''; - $this->mContent = wfMsg( 'missing-article', $t, $d ) ; + $this->mContent = wfMsgNoTrans( 'missing-article', $t, $d ) ; if( $oldid ) { $revision = Revision::newFromId( $oldid ); -- 2.20.1