ok. I change it with a custom one.
Have used this founding it on some script online.
Thank you again!
Luca
2016-06-24 21:47 GMT+02:00 Platonides <platonides(a)gmail.com>om>:
On 24/06/16 21:35, Luca Libonati wrote:
Thank you!
I'm sorry for the second email.
I use as User agent this line of php:
curl_setopt($ch, CURLOPT_USERAGENT,$_SERVER['HTTP_USER_AGENT']);
Now it seems the block is gone.
Did you do something on your side?
There is something I can do to avoid this issue again?
Thank you
Luca
You should use an user agent identifying your script, not the user agent
of whoever is visiting your page…
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api