Last modified: 2013-12-05 02:53:38 UTC
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 .
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.
merged.
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.