r46031 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46030‎ | r46031 | r46032 >
Date:20:27, 22 January 2009
Author:nad
Status:deferred
Tags:
Comment:
add system message for title column header
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin.i18n.php (modified) (history)
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -241,7 +241,7 @@
242242 # Table header
243243 $table = "<table class='sortable recordadmin $type-record'>\n<tr>";
244244 $th = array(
245 - 'title' => "<th class='col0'>$type<br></th>",
 245+ 'title' => "<th class='col0'>" . wfMsg( 'recordadmin-record', $type ) . "br></th>",
246246 'actions' => "<th class='col1'>" . wfMsg( 'recordadmin-actions' ) . "<br></th>",
247247 'created' => "<th class='col2'>" . wfMsg( 'recordadmin-created' ) . "<br></th>"
248248 );
Index: trunk/extensions/RecordAdmin/RecordAdmin.i18n.php
@@ -44,6 +44,7 @@
4545 'recordadmin-summary-typecreated' => 'New $1 created',
4646 'recordadmin-viewlink' => 'view',
4747 'recordadmin-editlink' => 'edit',
 48+ 'recordadmin-title' => '$1',
4849 'recordadmin-created' => 'Created',
4950 'recordadmin-actions' => 'Actions',
5051 'right-recordadmin' => 'Find and edit record pages',

Follow-up revisions

RevisionCommit summaryAuthorDate
r46034Follow up r46031: ignore this message at Translatewikiraymond20:50, 22 January 2009

Status & tagging log