From e33c9a2fbebbd1a3ee753cf41c2ac6c57419e35f Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 9 Apr 2004 19:22:51 +0000 Subject: [PATCH] access keys and tooltips use wfMsg now --- includes/EditPage.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 41c634db15..d66e8f726c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -299,16 +299,16 @@ class EditPage { if ( 0 != $wgUser->getID() || $wgAllowAnonymousMinor ) { $minoredithtml = "minoredit?" checked='checked'":""). - " accesskey='i' id='wpMinoredit' />". - ""; + " accesskey='".wfMsg('accesskey-minoredit')."' id='wpMinoredit' />". + ""; } $watchhtml = ""; if ( 0 != $wgUser->getID() ) { $watchhtml = "watchthis?" checked='checked'":""). - " accesskey='w' id='wpWatchthis' />". - ""; + " accesskey='".wfMsg('accesskey-watch')."' id='wpWatchthis' />". + ""; } $checkboxhtml = $minoredithtml . $watchhtml . "
"; @@ -364,8 +364,10 @@ htmlspecialchars( $wgLang->recodeForEdit( $this->textbox1 ) ) .
{$editsummary} {$checkboxhtml} - - + + {$cancel} | {$edithelp}

{$copywarn} section ) . "\" name=\"wpSection\" /> -- 2.20.1