Steps to replicate the issue (include links if applicable):
- Install Echo with $wgEchoPerUserBlacklist = true;
- Visit Special:Preferences
What happens?:
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in includes\WebRequest.php on line 539 Backtrace: from includes\WebRequest.php(539) #0 includes\htmlform\fields\HTMLUsersMultiselectField.php(23): WebRequest->getText(string, NULL) #1 includes\htmlform\HTMLForm.php(2078): HTMLUsersMultiselectField->loadDataFromRequest(WebRequest) #2 includes\htmlform\HTMLForm.php(585): HTMLForm->loadFieldData() #3 includes\htmlform\HTMLForm.php(637): HTMLForm->prepareForm() #4 includes\specials\SpecialPreferences.php(121): HTMLForm->show() #5 includes\specialpage\SpecialPage.php(700): SpecialPreferences->execute(NULL)
What should have happened instead?:
No deprecation message is shown
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):