{"action":"created","issue":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticExternalQueryLookup/issues/28","repository_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticExternalQueryLookup","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticExternalQueryLookup/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticExternalQueryLookup/issues/28/comments","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticExternalQueryLookup/issues/28/events","html_url":"https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/issues/28","id":169342697,"number":28,"title":"Use with private wikis","user":{"login":"AdSvS","id":11409661,"avatar_url":"https://avatars.githubusercontent.com/u/11409661?v=3","gravatar_id":"","url":"https://api.github.com/users/AdSvS","html_url":"https://github.com/AdSvS","followers_url":"https://api.github.com/users/AdSvS/followers","following_url":"https://api.github.com/users/AdSvS/following{/other_user}","gists_url":"https://api.github.com/users/AdSvS/gists{/gist_id}","starred_url":"https://api.github.com/users/AdSvS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdSvS/subscriptions","organizations_url":"https://api.github.com/users/AdSvS/orgs","repos_url":"https://api.github.com/users/AdSvS/repos","events_url":"https://api.github.com/users/AdSvS/events{/privacy}","received_events_url":"https://api.github.com/users/AdSvS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T10:28:28Z","updated_at":"2016-08-04T10:50:17Z","closed_at":null,"body":"This very interesting extension works only with public wiki's. For a query to work on a private wiki  a login is needed.\r\n\r\nOn https://www.mediawiki.org/wiki/API:Login this is documented. \r\n\r\nAttached is code that creates pages in a wiki from email messages. It contains code for login as well, so it might be used as an example.\r\n\r\n[EmailBot.zip](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/files/401396/EmailBot.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticExternalQueryLookup/issues/comments/237519749","html_url":"https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/issues/28#issuecomment-237519749","issue_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticExternalQueryLookup/issues/28","id":237519749,"user":{"login":"mwjames","id":1245473,"avatar_url":"https://avatars.githubusercontent.com/u/1245473?v=3","gravatar_id":"","url":"https://api.github.com/users/mwjames","html_url":"https://github.com/mwjames","followers_url":"https://api.github.com/users/mwjames/followers","following_url":"https://api.github.com/users/mwjames/following{/other_user}","gists_url":"https://api.github.com/users/mwjames/gists{/gist_id}","starred_url":"https://api.github.com/users/mwjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwjames/subscriptions","organizations_url":"https://api.github.com/users/mwjames/orgs","repos_url":"https://api.github.com/users/mwjames/repos","events_url":"https://api.github.com/users/mwjames/events{/privacy}","received_events_url":"https://api.github.com/users/mwjames/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T10:50:17Z","updated_at":"2016-08-04T10:50:17Z","body":"> On https://www.mediawiki.org/wiki/API:Login this is documented.\r\n\r\nOkay, just by reading \"...In MediaWiki versions before 1.27, only the login action is available and should be used by all clients needing to login. As of 1.27, the login action should only be used in combination with bot passwords, and clientlogin should be used by interactive applications....\" gives me the shivers as it means you require different methods with different MW versions.\r\n\r\nTrying to make a sane interface out of this is not going to happen overnight and ranks fairly low on my priority list as its smells to be of some sort of [spaghetti code](https://en.wikipedia.org/wiki/Spaghetti_code).\r\n\r\nI'm leaving the issue open in case someone wants to tackle this.\r\n"}}
{"actor":{"display_login":"mwjames"}}