$cancel = $sk->makeKnownLink( $this->mTitle->getPrefixedText(),
wfMsg( "cancel" ) );
- $edithelpurl = $sk->makeUrl( wfMsg( "edithelppage" ));
- $edithelp = '<a onclick="window.open('.
- "'$edithelpurl', 'helpwindow', 'width=610,height=400,left=10,top=10,scrollbars=yes'".'); return false;" href="'.$edithelpurl.'">'.
- wfMsg( "edithelp" ).'</a>';
+ $edithelpurl = $sk->makeUrl( wfMsg( 'edithelppage' ));
+ $edithelp = '<a target="helpwindow" href="'.$edithelpurl.'">'.
+ htmlspecialchars( wfMsg( 'edithelp' ) ).'</a> '.
+ htmlspecialchars( wfMsg( 'newwindow' ) );
$copywarn = wfMsg( "copyrightwarning", $sk->makeKnownLink(
wfMsg( "copyrightpage" ) ) );
'faq' => 'FAQ',
"faqpage" => "{{ns:4}}:FAQ",
"edithelp" => "Editing help",
+"newwindow" => "(opens in new window)",
"edithelppage" => "{{ns:12}}:Editing",
'cancel' => 'Cancel',
'qbfind' => 'Find',
"faq" => "Oftaj demandoj",
"faqpage" => "{{ns:4}}:Oftaj demandoj",
"edithelp" => "Helpo pri redaktado",
+"newwindow" => "(en nova fenestro)",
"edithelppage" => "{{ns:4}}:Kiel_redakti_paĝon", #FIXME: Kontrolu
"cancel" => "Nuligu",
"qbfind" => "Trovu",