Consistent casing for addHTML()

This commit is contained in:
Siebrand Mazeland 2008-11-06 22:20:29 +00:00
parent fa620d3dc4
commit 5007b543b0

View file

@ -189,7 +189,7 @@ class ContributionScores extends IncludableSpecialPage
} }
$reportTitle .= " " . wfMsg( 'contributionscores-top', $limit ); $reportTitle .= " " . wfMsg( 'contributionscores-top', $limit );
$title = Xml::element( 'h4', array( 'class' => 'contributionscores-title' ), $reportTitle ) . "\n"; $title = Xml::element( 'h4', array( 'class' => 'contributionscores-title' ), $reportTitle ) . "\n";
$wgOut->addHtml( $this->genContributionScoreTable( $days, $limit, $title, $options ) ); $wgOut->addHTML( $this->genContributionScoreTable( $days, $limit, $title, $options ) );
} }
function showPage() { function showPage() {
@ -212,8 +212,8 @@ class ContributionScores extends IncludableSpecialPage
} }
$reportTitle .= " " . wfMsg('contributionscores-top', $scoreReport[1] ); $reportTitle .= " " . wfMsg('contributionscores-top', $scoreReport[1] );
$title = Xml::element( 'h2', array( 'class' => 'contributionscores-title' ), $reportTitle ) . "\n"; $title = Xml::element( 'h2', array( 'class' => 'contributionscores-title' ), $reportTitle ) . "\n";
$wgOut->addHtml( $title ); $wgOut->addHTML( $title );
$wgOut->addHtml( $this->genContributionScoreTable( $scoreReport[0], $scoreReport[1] ) ); $wgOut->addHTML( $this->genContributionScoreTable( $scoreReport[0], $scoreReport[1] ) );
} }
} }
} }