Look up the assert parameter in the API
 On Jun 19, 2014 6:52 AM, "Petr Bena" <[email protected]> wrote:

> Hi,
>
> Is there some effective way to do this? We are using only mw api's in
> latest huggle, and somehow it happens that when users are logged out
> of mediawiki, it still works (edits are done using IP instead).
>
> How can I ensure that api query will fail unless user is not logged
> in, is there some variable for that? Huggle is executing huge number
> of api queries in multiple threads so checking if user is logged in
> before every single query would be too slow.
>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to