r41924 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41923‎ | r41924 | r41925 >
Date:06:16, 10 October 2008
Author:aaron
Status:old (Comments)
Tags:
Comment:
Tweak r41829 to use new messages
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1644,9 +1644,9 @@
16451645 $protected = '';
16461646 }
16471647 if( $titleObj->quickUserCan( 'edit' ) ) {
1648 - $editLink = $sk->makeLinkObj( $titleObj, wfMsg('editold'), 'action=edit' );
 1648+ $editLink = $sk->makeLinkObj( $titleObj, wfMsg('editlink'), 'action=edit' );
16491649 } else {
1650 - $editLink = $sk->makeLinkObj( $titleObj, wfMsg('viewsourceold'), 'action=edit' );
 1650+ $editLink = $sk->makeLinkObj( $titleObj, wfMsg('viewsourcelink'), 'action=edit' );
16511651 }
16521652 $outText .= '<li>' . $sk->link( $titleObj ) . ' (' . $editLink . ') ' . $protected . '</li>';
16531653 }
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -750,6 +750,8 @@
751751 'editsection-brackets' => '[$1]', # only translate this message to other languages if you have to change it
752752 'editold' => 'edit',
753753 'viewsourceold' => 'view source',
 754+'editlink' => 'edit',
 755+'viewsourcelink' => 'view source',
754756 'editsectionhint' => 'Edit section: $1',
755757 'toc' => 'Contents',
756758 'showtoc' => 'show',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r41829(bug 11904) Add edit links to template list on edit formaaron02:29, 8 October 2008

Comments

#Comment by Brion VIBBER (talk | contribs)   02:00, 13 October 2008

For reference this relates to: (bug 11904) Add edit links to template list on edit form

Status & tagging log