Page MenuHomePhabricator

login.check_user_exists does not work on private wiki
Open, Needs TriagePublic

Description

self.check_user_exists calls self.site.allusers which requires paraminfo to be loaded.

A direct API request should be used instead (the function already catches the readapidenied error)

Event Timeline

valhallasw raised the priority of this task from to Needs Triage.
valhallasw updated the task description. (Show Details)
valhallasw added a project: Pywikibot.
valhallasw subscribed.

Change 238307 had a related patch set uploaded (by XZise):
[IMPROV] site_detect: Fail with more specific error

https://gerrit.wikimedia.org/r/238307

XZise set Security to None.
XZise removed a subscriber: gerritbot.

Sorry used the wrong bug id accidentally.