List of steps to reproduce (step by step, including full links if applicable):
- Make sure that the new topic tool in the Discussion tool is turned off by default and is not enabled in Beta.
- Visit Special:Preferences.
What happens?: The following exceptions occur:
[7025127ad8d787356a39b016] /wiki/%ED%8A%B9%EC%88%98:%ED%99%98%EA%B2%BD%EC%84%A4%EC%A0%95 DomainException: HTMLForm::getField: no field named discussiontools-newtopictool Backtrace: from /var/www/wiki/w/includes/htmlform/HTMLForm.php(444) #0 /var/www/wiki/w/includes/htmlform/HTMLFormField.php(145): HTMLForm->getField() #1 /var/www/wiki/w/includes/htmlform/HTMLFormField.php(160): HTMLFormField->getNearestField() #2 /var/www/wiki/w/includes/htmlform/HTMLFormField.php(277): HTMLFormField->getNearestFieldValue() #3 /var/www/wiki/w/includes/htmlform/HTMLFormField.php(367): HTMLFormField->checkStateRecurse() #4 /var/www/wiki/w/includes/htmlform/HTMLForm.php(2065): HTMLFormField->isDisabled() #5 /var/www/wiki/w/includes/htmlform/HTMLForm.php(577): HTMLForm->loadFieldData() #6 /var/www/wiki/w/includes/htmlform/HTMLForm.php(629): HTMLForm->prepareForm() #7 /var/www/wiki/w/includes/specials/SpecialPreferences.php(121): HTMLForm->show() #8 /var/www/wiki/w/includes/specialpage/SpecialPage.php(688): SpecialPreferences->execute() #9 /var/www/wiki/w/includes/specialpage/SpecialPageFactory.php(1415): SpecialPage->run() #10 /var/www/wiki/w/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath() #11 /var/www/wiki/w/includes/MediaWiki.php(916): MediaWiki->performRequest() #12 /var/www/wiki/w/includes/MediaWiki.php(570): MediaWiki->main() #13 /var/www/wiki/w/index.php(50): MediaWiki->run() #14 /var/www/wiki/w/index.php(46): wfIndexMain() #15 {main}
What should have happened instead?: Preferences should not cause exceptions.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.: MediaWiki 1.39.0-alpha (a5ab9fb), DiscussionTools 0.0.0 (790ef19). It is presumed to have been caused by a modification that is part of e0f231b.