diff --git a/includes/EditPage.php b/includes/EditPage.php
index eccf09b7703..bbe980ab598 100644
--- a/includes/EditPage.php
+++ b/includes/EditPage.php
@@ -692,7 +692,7 @@ END
* we won't save the page, or render user JavaScript and
* CSS previews.
*/
- $token = htmlspecialchars( $wgUser->editToken() );
+ $token = $wgUser->editToken();
$wgOut->addHTML( "
\n" );
}
@@ -719,9 +719,6 @@ END
}
}
- function getDiffText() {
- }
-
/**
* @todo document
*/
@@ -987,35 +984,35 @@ END
'tip' => wfMsg('image_tip'),
'key' => 'D'
),
- array( 'image' => 'button_media.png',
+ array( 'image' =>'button_media.png',
'open' => '[['.$wgLang->getNsText(NS_MEDIA).':',
'close' => ']]',
'sample'=> wfMsg('media_sample'),
'tip' => wfMsg('media_tip'),
'key' => 'M'
),
- array( 'image' => 'button_math.png',
+ array( 'image' =>'button_math.png',
'open' => "\\",
'sample'=> wfMsg('math_sample'),
'tip' => wfMsg('math_tip'),
'key' => 'C'
),
- array( 'image' => 'button_nowiki.png',
+ array( 'image' =>'button_nowiki.png',
'open' => "\\",
'close' => "\\",
'sample'=> wfMsg('nowiki_sample'),
'tip' => wfMsg('nowiki_tip'),
'key' => 'N'
),
- array( 'image' => 'button_sig.png',
+ array( 'image' =>'button_sig.png',
'open' => '--~~~~',
'close' => '',
'sample'=> '',
'tip' => wfMsg('sig_tip'),
'key' => 'Y'
),
- array( 'image' => 'button_hr.png',
+ array( 'image' =>'button_hr.png',
'open' => "\\n----\\n",
'close' => '',
'sample'=> '',