From 39b21cb793d2ee81ed928a453077bf8cee108d0f Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 22 Nov 2011 14:21:09 +0000 Subject: [PATCH] (bug 32412) TOC links on [[Special:EditWatchlist]] now points to the fieldset --- RELEASE-NOTES-1.19 | 1 + includes/specials/SpecialEditWatchlist.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 9dd94ec7d6..b8aa63d400 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -153,6 +153,7 @@ production. was specified. * (bug 30368) Special:Newpages now shows the new page name for moved pages * (bug 1697) The way to search blocked usernames in block log should be clearer +* (bug 32412) TOC links on [[Special:EditWatchlist]] now points to the fieldset === API changes in 1.19 === * (bug 19838) siprop=interwikimap can now use the interwiki cache. diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index 80c6ee86eb..2f3c762f43 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -559,6 +559,10 @@ class EditWatchlistNormalHTMLForm extends HTMLForm { ? wfMsgHtml( 'blanknamespace' ) : htmlspecialchars( $this->getContext()->getLanguage()->getFormattedNsText( $namespace ) ); } + + public function getBody() { + return $this->displaySection( $this->mFieldTree, '', 'mw-htmlform-' ); + } } class EditWatchlistCheckboxSeriesField extends HTMLMultiSelectField { -- 2.20.1