https://bugzilla.wikimedia.org/show_bug.cgi?id=73163
Bug ID: 73163 Summary: Exception: HTMLAutoCompleteSelectField called without any autocompletions Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: OAuth Assignee: wikibugs-l@lists.wikimedia.org Reporter: cste...@wikimedia.org CC: aschulz4...@gmail.com, bjor...@wikimedia.org, cste...@wikimedia.org Web browser: --- Mobile Platform: --- 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? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l