$this->mTitle->escapeLocalURL
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 27 May 2004 12:36:22 +0000 (12:36 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 27 May 2004 12:36:22 +0000 (12:36 +0000)
includes/PageHistory.php

index 0447307..8c61890 100644 (file)
@@ -115,7 +115,7 @@ class PageHistory {
                $this->lastdate = $this->lastline = "";
                $s = "\n<p>" . wfMsg( "histlegend" ).'</p>'; 
                $s .="\n<form action=\"" . $wgTitle->getFullURL("") . "\" method=\"get\">";
-               $s .= "<input type=\"hidden\" name=\"title\" value=\"".wfEscapeHTML($wgTitle->getPrefixedDbKey())."\"/>\n";
+               $s .= "<input type=\"hidden\" name=\"title\" value=\"".$this->mTitle->escapeLocalURL( '' )."\"/>\n";
                $s .= !empty($this->submitbuttonhtml) ? $this->submitbuttonhtml."\n":'';
                $s .= "" . "\n<ul id=\"pagehistory\" >";
                return $s;