(bug 17379) GENDER now works with Contributions-title
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 6 Feb 2009 14:40:56 +0000 (14:40 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 6 Feb 2009 14:40:56 +0000 (14:40 +0000)
RELEASE-NOTES
includes/specials/SpecialContributions.php
includes/specials/SpecialDeletedContributions.php

index 2486cff..cbc81a4 100644 (file)
@@ -86,6 +86,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Treat svn:// URLs as external links by default
 * New function to convert namespace text for display (only applies on wiki with
   LanguageConverter class)
+* (bug 17379) Contributions-title is now parsed for magic words.
 
 === Bug fixes in 1.15 ===
 * (bug 16968) Special:Upload no longer throws useless warnings.
index 86723dc..2fb01f5 100644 (file)
@@ -52,7 +52,7 @@ class SpecialContributions extends SpecialPage {
                if( $target != 'newbies' ) {
                        $target = $nt->getText();
                        $wgOut->setSubtitle( $this->contributionsSub( $nt, $id ) );
-                       $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg( 'contributions-title', $target ) ) );
+                       $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsgExt( 'contributions-title', array( 'parsemag' ),$target ) ) );
                } else {
                        $wgOut->setSubtitle( wfMsgHtml( 'sp-contributions-newbies-sub') );
                        $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg( 'sp-contributions-newbies-title' ) ) );
index abf1939..3ab90c6 100644 (file)
@@ -204,7 +204,7 @@ class DeletedContributionsPage extends SpecialPage {
 
                global $wgUser, $wgOut, $wgLang, $wgRequest;
 
-               $wgOut->setPageTitle( wfMsg( 'deletedcontributions-title' ) );
+               $wgOut->setPageTitle( wfMsgExt( 'deletedcontributions-title', array( 'parsemag' ) ) );
 
                $options = array();