This was noticed in T255688#6304222.
When the form is submitted successfully:
- SpecialInvestigate::execute calls FormSpecialPage::execute
- FormSpecialPage::execute calls SpecialInvestigate::onSubmit (via HTMLForm::show > HTMLForm::tryAuthorizedSubmit)
- SpecialInvestigate::onSubmit sets a redirect on the OutputPage
- SpecialInvestigate::execute continues, calling SpecialInvestigate::addTabContent, which initializes the pagers and performs any queries
Then, following the redirect:
- SpecialInvestigate::execute calls FormSpecialPage::execute
- SpecialInvestigate::onSubmit is not called, because HTMLForm::tryAuthorizedSubmit fails (the form wasn't submitted)
- SpecialInvestigate::execute continues, calling SpecialInvestigate::addTabContent, which initializes the pagers and performs any queries
SpecialInvestigate::execute should not continue to initializing the pagers after the redirect has been set.