r46916 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46915‎ | r46916 | r46917 >
Date:14:40, 6 February 2009
Author:demon
Status:deferred
Tags:
Comment:
(bug 17379) GENDER now works with Contributions-title
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialDeletedContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -52,7 +52,7 @@
5353 if( $target != 'newbies' ) {
5454 $target = $nt->getText();
5555 $wgOut->setSubtitle( $this->contributionsSub( $nt, $id ) );
56 - $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg( 'contributions-title', $target ) ) );
 56+ $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsgExt( 'contributions-title', array( 'parsemag' ),$target ) ) );
5757 } else {
5858 $wgOut->setSubtitle( wfMsgHtml( 'sp-contributions-newbies-sub') );
5959 $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg( 'sp-contributions-newbies-title' ) ) );
Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php
@@ -204,7 +204,7 @@
205205
206206 global $wgUser, $wgOut, $wgLang, $wgRequest;
207207
208 - $wgOut->setPageTitle( wfMsg( 'deletedcontributions-title' ) );
 208+ $wgOut->setPageTitle( wfMsgExt( 'deletedcontributions-title', array( 'parsemag' ) ) );
209209
210210 $options = array();
211211
Index: trunk/phase3/RELEASE-NOTES
@@ -86,6 +86,7 @@
8787 * Treat svn:// URLs as external links by default
8888 * New function to convert namespace text for display (only applies on wiki with
8989 LanguageConverter class)
 90+* (bug 17379) Contributions-title is now parsed for magic words.
9091
9192 === Bug fixes in 1.15 ===
9293 * (bug 16968) Special:Upload no longer throws useless warnings.

Status & tagging log