Page MenuHomePhabricator

Support logged out users
Closed, ResolvedPublic

Description

We should support comments by anonymous users. This will require a schema change.

We can probably take the same approach as the revision table in core (see tables.sql). It has two columns, one with a user id (like we have), and another, rev_user_text .


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52260

Details

Reference
bz51722

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:52 AM
bzimport set Reference to bz51722.

I should also note that since anonymous users don't get the OKFN JavaScript right now, they can't even view annotations, let alone add them.

https://gerrit.wikimedia.org/r/78251 supports the creation of annotations by logged out users.

It turns out there is a built-in way to get an anonymous user's IP from JS. For anons, it is returned from the API with action=query&meta=userinfo .

I'm just putting this here for future reference.