On single wikis with no CentralAuth, Special:OAuthConsumerRegistration/propose throws an exception.
This has been happening for a while, since I8f2fb3aea1d628fb31464f9245c2f3aa5ad195d2.
Special:OAuthConsumerRegistration sets
'autocomplete' => array_flip( MWOAuthUtils::getAllWikiNames() ),
for the wiki field. But on single wikis, MWOAuthUtils::getAllWikiNames() returns a zero-length array, so when HTMLAutoCompleteSelectField checks if !$this->autocomplete is true, it throws the exception.
Brad, is there a way to have no autocomplete values in HTMLAutoCompleteSelectField?
Version: unspecified
Severity: normal