r23354 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23353‎ | r23354 | r23355 >
Date:04:57, 25 June 2007
Author:robchurch
Status:old
Tags:
Comment:
Separate message, prettier link
Modified paths:
  • /branches/robchurch/reports/includes/reports/UnwatchedPagesReport.php (modified) (history)
  • /branches/robchurch/reports/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: branches/robchurch/reports/includes/reports/UnwatchedPagesReport.php
@@ -115,7 +115,7 @@
116116 */
117117 public function formatRow( $title, $row, $params, $skin ) {
118118 $plink = $skin->makeLinkObj( $title );
119 - $wlink = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'watch' ), 'action=watch' );
 119+ $wlink = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'unwatchedpages-watch' ), 'action=watch' );
120120 return "<li>{$plink} ({$wlink})</li>\n";
121121 }
122122
Index: branches/robchurch/reports/languages/messages/MessagesEn.php
@@ -1468,6 +1468,7 @@
14691469 # Unwatched pages
14701470 'unwatchedpages' => 'Unwatched pages',
14711471 'unwatchedpages-header' => 'This report lists pages which are not being watched and could be prone to unnoticed vandalism.',
 1472+'unwatchedpages-watch' => 'watch',
14721473
14731474 # List redirects
14741475 'listredirects' => 'List redirects',

Status & tagging log