no javascript: of course
authorGabriel Wicke <gwicke@users.mediawiki.org>
Wed, 5 May 2004 20:56:06 +0000 (20:56 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Wed, 5 May 2004 20:56:06 +0000 (20:56 +0000)
includes/EditPage.php

index 34fccee..e10b30a 100644 (file)
@@ -281,7 +281,7 @@ class EditPage {
                $cancel = $sk->makeKnownLink( $this->mTitle->getPrefixedURL(),
                  wfMsg( "cancel" ) );
                $edithelpurl = $sk->makeUrl( wfMsg( "edithelppage" ));
-               $edithelp = '<a onclick="javascript:window.open('.
+               $edithelp = '<a onclick="window.open('.
                "'$edithelpurl', 'helpwindow', 'width=610,height=400,left=10,top=10'".'); return false;" href="'.$edithelpurl.'">'.
                wfMsg( "edithelp" ).'</a>';
                $copywarn = wfMsg( "copyrightwarning", $sk->makeKnownLink(