* Allow grammar etc in summary messages
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 26 Apr 2008 07:20:13 +0000 (07:20 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 26 Apr 2008 07:20:13 +0000 (07:20 +0000)
includes/SpecialPage.php

index 2e331c5..1245d79 100644 (file)
@@ -814,7 +814,7 @@ class SpecialPage
                $msg = $wgContLang->lc( $this->name() ) . '-summary';
                $out = wfMsgNoTrans( $msg );
                if ( ! wfEmptyMsg( $msg, $out ) and  $out !== '' and ! $this->including() ) {
-                       $wgOut->addWikiText( $out );
+                       $wgOut->addWikiMsg( $msg );
                }
 
        }