About the login I have some doubts,
This should be specifically clarified by Wikimedia people.
As the login functionality as mentioned at [1] needs some server side code, it would be difficult to integrate it with Pundit.
Other option as seems suitable to me is at [2], this requires JS but I don't think its viable an safe to send passwords in JS queries, what we need is something like Facebook JS SDK which provides us a unique APP ID and APP SECRET and through them we can connect to facebook to check if user is logged in or not, if not he is presented with a page to login.
Kindly correct me if the service like this exists in mediawiki or provide me a path to do this.Thanks--On Mon, Apr 28, 2014 at 7:30 PM, Amanpreet Singh <amanpreet...@gmail.com> wrote:On Mon, Apr 28, 2014 at 12:51 PM, Simone Fonda <fo...@netseven.it> wrote:
I dont remember if we had a final decision on all of the questions weraised during the discussion phase (how/where to save, how to model
the knowledge, new GUI or not, etc).We have discussed to save it at Pundit Annotation sever and later use a bot to feed Wikidata from it. Also we finalized on a RFC based model where Pundit's Subject-Predicate-Object would be fed to Wikidata as Item-property-value.
For e.g. In Pundit:London(Subject) - population(Predicate) - "8173456"(Object)- and a referenceIn Wikidata:London(Item) - population(property) - "8173456"(value)The bot approach is the easiest, but maybe it is not possible to preserve the information about who created the annotation, which would make harder to identify and revert vandalism. If done via API, then OAuth login should be considered, either using the same OpenID login Wikimedia->Pundit (which is unlikely to be possible any time soon [3]), or by requesting the wikimedia oauth access. [4]I was also considering this approach so for this to happen, I will customize Pundit's GUI specifically for Wikimedia by removing OpenID login system, and adding Wikimedia OAuth login.ThanksAmanpreet Singh,IIT RoorkeeAmanpreet Singh,IIT Roorkee
It's a little hard for me to follow exactly what's needed. Are you trying to save things into Wikidata from another website? If so, OAuth is the correct way to handle it. Facebook also uses OAuth (that's the App id and secret mentioned). Unlike FB though, we don't allow purely javascript apps to use OAuth, since they make the secret available in the source code delivered to the user's browser-- I'm not sure if that's what you meant by "server side code"?