Index: trunk/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -35,6 +35,7 @@ |
36 | 36 | * (bug 29854) Store protocol-relative links twice in the externallinks table, |
37 | 37 | one with http: in el_index and once with https. |
38 | 38 | * (bug 31822) Error during upgrade due to output buffer reset in stdout. |
| 39 | +* (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets |
39 | 40 | |
40 | 41 | === Configuration changes in 1.18 === |
41 | 42 | * The WantedPages::getSQL hook has been removed and replaced with |
Index: trunk/phase3/includes/specials/SpecialEditWatchlist.php |
— | — | @@ -416,7 +416,7 @@ |
417 | 417 | $nsText = ($ns == NS_MAIN) |
418 | 418 | ? wfMsgHtml( 'blanknamespace' ) |
419 | 419 | : htmlspecialchars( $wgContLang->getFormattedNsText( $ns ) ); |
420 | | - $this->toc .= Linker::tocLine( "mw-htmlform-{$data['section']}", $nsText, |
| 420 | + $this->toc .= Linker::tocLine( "editwatchlist-{$data['section']}", $nsText, |
421 | 421 | $this->getLanguage()->formatNum( ++$tocLength ), 1 ) . Linker::tocLineEnd(); |
422 | 422 | } |
423 | 423 | $this->toc = Linker::tocList( $this->toc ); |
— | — | @@ -559,6 +559,9 @@ |
560 | 560 | ? wfMsgHtml( 'blanknamespace' ) |
561 | 561 | : htmlspecialchars( $this->getContext()->getLanguage()->getFormattedNsText( $namespace ) ); |
562 | 562 | } |
| 563 | + public function getBody() { |
| 564 | + return $this->displaySection( $this->mFieldTree, '', 'editwatchlist-' ); |
| 565 | + } |
563 | 566 | } |
564 | 567 | |
565 | 568 | class EditWatchlistCheckboxSeriesField extends HTMLMultiSelectField { |