$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>';
}
'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',