Tweak r41829 to use new messages
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 10 Oct 2008 06:16:18 +0000 (06:16 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 10 Oct 2008 06:16:18 +0000 (06:16 +0000)
includes/Linker.php
languages/messages/MessagesEn.php

index e1ba276..8981947 100644 (file)
@@ -1644,9 +1644,9 @@ class Linker {
                                        $protected = '';
                                }
                                if( $titleObj->quickUserCan( 'edit' ) ) {
-                                       $editLink = $sk->makeLinkObj( $titleObj, wfMsg('editold'), 'action=edit' );
+                                       $editLink = $sk->makeLinkObj( $titleObj, wfMsg('editlink'), 'action=edit' );
                                } else {
-                                       $editLink = $sk->makeLinkObj( $titleObj, wfMsg('viewsourceold'), 'action=edit' );
+                                       $editLink = $sk->makeLinkObj( $titleObj, wfMsg('viewsourcelink'), 'action=edit' );
                                }
                                $outText .= '<li>' . $sk->link( $titleObj ) . ' (' . $editLink . ') ' . $protected . '</li>';
                        }
index fa9755c..ba571a5 100644 (file)
@@ -750,6 +750,8 @@ See [[Special:Version|version page]].',
 'editsection-brackets'         => '[$1]', # only translate this message to other languages if you have to change it
 'editold'                      => 'edit',
 'viewsourceold'                => 'view source',
+'editlink'                     => 'edit',
+'viewsourcelink'               => 'view source',
 'editsectionhint'              => 'Edit section: $1',
 'toc'                          => 'Contents',
 'showtoc'                      => 'show',