I think appending it to the end of a query is the common practice

On Thu, Jun 19, 2014 at 7:06 AM, Petr Bena <[email protected]> wrote:

> Nice.
>
> Can this parameter be anywhere in the url? for example
> api.php?action=query&assert=user&prop=blabla or does it need to be on
> a specific position, like token?
>
> On Thu, Jun 19, 2014 at 12:54 PM, John <[email protected]> wrote:
> > 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
>
> _______________________________________________
> 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