Page MenuHomePhabricator

Remove dependency on Postgres
Open, Needs TriagePublic

Description

From my reading of the code, WikiWho only uses postgres for the edit persistence APIs, which we did not include when we migrated WikiWho to Wikimedia Cloud Services (T288840) due to it's storage footprint.

Immediately when I attempted to add a new language (T243711), I got Python errors about a missing model called Article. This along with all other WikiWho models were apparently removed with ebdec778b9. Further examination of the code suggests we don't actually have any dependency on Postgres at all, so we might as well remove all traces of it from the repo to simplify the setup.

Taking it a step further, it would be great to do a general cleanup of the repo. There is a lot of code that is commented out and apparently isn't needed.