* Wrap special page summary message '$specialPageName-summary' into a div
authorRaimond Spekking <raymond@users.mediawiki.org>
Fri, 27 Feb 2009 08:37:35 +0000 (08:37 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Fri, 27 Feb 2009 08:37:35 +0000 (08:37 +0000)
  with class 'mw-specialpage-summary'

RELEASE-NOTES
includes/SpecialPage.php

index 127bb01..acd1175 100644 (file)
@@ -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.
index d89a4c2..70938e6 100644 (file)
@@ -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( "<div class='mw-specialpage-summary'>\n$1</div>", $msg );
                }
 
        }