From 8a11565eafd44b2b7a5d0f4872fabe4adfd9c2b7 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Fri, 27 Feb 2009 08:37:35 +0000 Subject: [PATCH] * Wrap special page summary message '$specialPageName-summary' into a div with class 'mw-specialpage-summary' --- RELEASE-NOTES | 2 ++ includes/SpecialPage.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 127bb0176c..acd1175e77 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -119,6 +119,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Added $wgUseTagFilter to control enabling of filter-by-change-tag * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the username +* Wrap special page summary message '$specialPageName-summary' into a div + with class 'mw-specialpage-summary' === Bug fixes in 1.15 === * (bug 16968) Special:Upload no longer throws useless warnings. diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index d89a4c2366..70938e636c 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -759,7 +759,7 @@ class SpecialPage $msg = $wgContLang->lc( $this->name() ) . '-summary'; $out = wfMsgNoTrans( $msg ); if ( ! wfEmptyMsg( $msg, $out ) and $out !== '' and ! $this->including() ) { - $wgOut->addWikiMsg( $msg ); + $wgOut->wrapWikiMsg( "
\n$1
", $msg ); } } -- 2.20.1