Yaron Koren has submitted this change and it was merged.

Change subject: Add HTML <label> tag for usability
......................................................................


Add HTML <label> tag for usability

Change-Id: I6ad9a9bb0cf6220c002ba6eb4ed74b3d30cd27db
---
M specials/DT_ViewXML.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Siebrand: Looks good to me, but someone else must approve
  Yaron Koren: Verified; Looks good to me, approved



diff --git a/specials/DT_ViewXML.php b/specials/DT_ViewXML.php
index d6617d3..83c5a3f 100644
--- a/specials/DT_ViewXML.php
+++ b/specials/DT_ViewXML.php
@@ -508,7 +508,7 @@
                                $text .= Html::input( "namespaces[$nsCode]", 
null, 'checkbox' );
                                $text .= ' ' . str_replace( '_', ' ', $nsName ) 
. "<br />\n";
                        }
-                       $text .= "<br /><p><input type=\"checkbox\" 
name=\"simplified_format\" /> " . wfMessage( 'dt_viewxml_simplifiedformat' 
)->text() . "</p>\n";
+                       $text .= "<br /><p><label><input type=\"checkbox\" 
name=\"simplified_format\" /> " . wfMessage( 'dt_viewxml_simplifiedformat' 
)->text() . "</label></p>\n";
                        $text .= "<input type=\"submit\" value=\"" . wfMessage( 
'viewxml' )->text() . "\">\n";
                        $text .= "</form>\n";
 

-- 
To view, visit https://gerrit.wikimedia.org/r/56772
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6ad9a9bb0cf6220c002ba6eb4ed74b3d30cd27db
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DataTransfer
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to