Revert changes to HTMLForm from r92155
authorSam Reed <reedy@users.mediawiki.org>
Wed, 24 Aug 2011 18:11:55 +0000 (18:11 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 24 Aug 2011 18:11:55 +0000 (18:11 +0000)
includes/HTMLForm.php

index e2ca127..2579f92 100644 (file)
@@ -708,7 +708,7 @@ class HTMLForm {
                                }
                                $attributes = array();
                                if ( $displayTitle ) {
-                                       $attributes["id"] = 'prefsection-' . Sanitizer::escapeId( $key, 'noninitial' );
+                                       $attributes["title"] = Sanitizer::escapeId( $key );
                                }
                                $subsectionHtml .= Xml::fieldset( $legend, $section, $attributes ) . "\n";
                        }