Merge "resourceloader: Add tests for StartUpModule dep tree optimisation"
[lhc/web/wiklou.git] / includes / specials / forms / EditWatchlistNormalHTMLForm.php
index b60882a..78b0335 100644 (file)
@@ -26,7 +26,13 @@ class EditWatchlistNormalHTMLForm extends OOUIHTMLForm {
                $namespace = substr( $namespace, 2 );
 
                return $namespace == NS_MAIN
-                       ? $this->msg( 'blanknamespace' )->escaped()
-                       : htmlspecialchars( $this->getContext()->getLanguage()->getFormattedNsText( $namespace ) );
+                       ? $this->msg( 'blanknamespace' )->text()
+                       : $this->getContext()->getLanguage()->getFormattedNsText( $namespace );
+       }
+
+       public function displaySection(
+               $fields, $sectionName = '', $fieldsetIDPrefix = '', &$hasUserVisibleFields = false
+       ) {
+               return parent::displaySection( $fields, $sectionName, 'editwatchlist-', $hasUserVisibleFields );
        }
 }