r48119 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48118‎ | r48119 | r48120 >
Date:06:14, 7 March 2009
Author:aaron
Status:ok (Comments)
Tags:
Comment:
* Added sp-contributions-logs message (bug 17834)
* Added revdelete-suppress-text message to messages.inc
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -656,6 +656,7 @@
657657 'revdelete-selected',
658658 'logdelete-selected',
659659 'revdelete-text',
 660+ 'revdelete-suppress-text',
660661 'revdelete-legend',
661662 'revdelete-hide-text',
662663 'revdelete-hide-name',
@@ -1767,6 +1768,7 @@
17681769 'sp-contributions-newbies',
17691770 'sp-contributions-newbies-sub',
17701771 'sp-contributions-newbies-title',
 1772+ 'sp-contributions-logs',
17711773 'sp-contributions-blocklog',
17721774 'sp-contributions-search',
17731775 'sp-contributions-username',
Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -164,7 +164,7 @@
165165 wfMsgHtml( 'sp-contributions-blocklog' ), 'type=block&page=' . $nt->getPrefixedUrl() );
166166 }
167167 # Other logs link
168 - $tools[] = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'Log' ), wfMsgHtml( 'log' ),
 168+ $tools[] = $sk->makeKnownLinkObj( SpecialPage::getTitleFor( 'Log' ), wfMsg( 'sp-contributions-logs' ),
169169 'user=' . $nt->getPartialUrl() );
170170
171171 # Add link to deleted user contributions for priviledged users
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2569,7 +2569,8 @@
25702570 'sp-contributions-newbies' => 'Show contributions of new accounts only',
25712571 'sp-contributions-newbies-sub' => 'For new accounts',
25722572 'sp-contributions-newbies-title' => 'User contributions for new accounts',
2573 -'sp-contributions-blocklog' => 'Block log',
 2573+'sp-contributions-blocklog' => 'block log',
 2574+'sp-contributions-logs' => 'logs',
25742575 'sp-contributions-search' => 'Search for contributions',
25752576 'sp-contributions-username' => 'IP Address or username:',
25762577 'sp-contributions-submit' => 'Search',

Comments

#Comment by IAlex (talk | contribs)   08:24, 7 March 2009

Why wfMsgHtml() was changed to wfMsg()?

Status & tagging log