$atend = ($revs < $limitplus);
$this->mSkin = $wgUser->getSkin();
- $s = wfMsg( "history_copyright" );
- if ( $s == " " ) {
- $s = "";
- }
-
$numbar = wfViewPrevNext(
$offset, $limit,
$this->mTitle->getPrefixedText(),
"action=history", $atend );
- $s .= $numbar;
+ $s = $numbar;
if($this->linesonpage > 0) {
$submitpart1 = '<input class="historysubmit" type="submit" accesskey="'.wfMsg('accesskey-compareselectedversions').
'" title="'.wfMsg('tooltip-compareselectedversions').'" value="'.wfMsg('compareselectedversions').'"';
if ( 0 == $u ) {
$ul = $this->mSkin->makeKnownLink( $wgLang->specialPage( "Contributions" ),
- $ut, "target=" . $ut );
+ htmlspecialchars( $ut ), "target=" . urlencode( $ut ) );
} else {
$ul = $this->mSkin->makeLink( $wgLang->getNsText(
- Namespace::getUser() ) . ":{$ut}", $ut );
+ Namespace::getUser() ) . ":{$ut}", htmlspecialchars( $ut ) );
}
$s = "<li>";