Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1344,7 +1344,7 @@ |
1345 | 1345 | $commentsubject = ''; |
1346 | 1346 | if ( !$wgRequest->getBool( 'nosummary' ) ) { |
1347 | 1347 | $commentsubject = |
1348 | | - Xml::label( $subject, 'wpSummary' ); |
| 1348 | + Xml::element( 'label', array( 'for' => 'wpSummary' ), $subject ); |
1349 | 1349 | $commentsubject = |
1350 | 1350 | Xml::tags( 'span', array( 'id' => 'wpSummaryLabel' ), $commentsubject ); |
1351 | 1351 | $commentsubject .= ' '; |
— | — | @@ -1365,7 +1365,7 @@ |
1366 | 1366 | } else { |
1367 | 1367 | $commentsubject = ''; |
1368 | 1368 | |
1369 | | - $editsummary = Xml::label( $summary, 'wpSummary' ); |
| 1369 | + $editsummary = Xml::element( 'label', array( 'for' => 'wpSummary' ), $summary ); |
1370 | 1370 | $editsummary = |
1371 | 1371 | Xml::tags( 'span', array( 'id' => 'wpSummaryLabel' ), $editsummary ); |
1372 | 1372 | |