$commentsubject = '';
if ( !$wgRequest->getBool( 'nosummary' ) ) {
$commentsubject =
- Xml::element( 'label', array( 'for' => 'wpSummary' ), $subject );
+ Xml::tags( 'label', array( 'for' => 'wpSummary' ), $subject );
$commentsubject =
Xml::tags( 'span', array( 'id' => 'wpSummaryLabel' ), $commentsubject );
$commentsubject .= ' ';
} else {
$commentsubject = '';
- $editsummary = Xml::element( 'label', array( 'for' => 'wpSummary' ), $summary );
+ $editsummary = Xml::tags( 'label', array( 'for' => 'wpSummary' ), $summary );
$editsummary =
Xml::tags( 'span', array( 'id' => 'wpSummaryLabel' ), $editsummary );