From: Ed Sanders Date: Tue, 24 Apr 2018 11:09:12 +0000 (+0100) Subject: Use OOUI form for edit watchlist X-Git-Tag: 1.34.0-rc.0~5546^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=4e968b5c30b4a38e97b07f42764d3b57c4a79cda;p=lhc%2Fweb%2Fwiklou.git Use OOUI form for edit watchlist Change-Id: I2e2aa099e7941e1685dcaca37842b12a3469d5f3 --- diff --git a/includes/specials/forms/EditWatchlistNormalHTMLForm.php b/includes/specials/forms/EditWatchlistNormalHTMLForm.php index 723093a772..b60882a98a 100644 --- a/includes/specials/forms/EditWatchlistNormalHTMLForm.php +++ b/includes/specials/forms/EditWatchlistNormalHTMLForm.php @@ -19,9 +19,9 @@ */ /** - * Extend HTMLForm purely so we can have a more sane way of getting the section headers + * Extend OOUIHTMLForm purely so we can have a more sane way of getting the section headers */ -class EditWatchlistNormalHTMLForm extends HTMLForm { +class EditWatchlistNormalHTMLForm extends OOUIHTMLForm { public function getLegend( $namespace ) { $namespace = substr( $namespace, 2 ); @@ -29,8 +29,4 @@ class EditWatchlistNormalHTMLForm extends HTMLForm { ? $this->msg( 'blanknamespace' )->escaped() : htmlspecialchars( $this->getContext()->getLanguage()->getFormattedNsText( $namespace ) ); } - - public function getBody() { - return $this->displaySection( $this->mFieldTree, '', 'editwatchlist-' ); - } }