MarcoAurelio added a comment.
I can't login either to a private wiki using a botpassword, but in my case
it's a private WMF wiki. After the cookie `*.lwp` data generated during
`generate_user_files` expired, the bot keeps complaining that (a) the API
method to retrieve tokens is deprecated and (b) readapidenied.
$ pwb.py login
WARNING: API error readapidenied: You need read permission to use this
module.
ERROR: You have no API read permissions. Seems you are not logged in.
Logging in to xxxx:xxx as xxxx@xxxx
WARNING: API warning (main): Subscribe to the mediawiki-api-announce
mailing list at
<https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/>
for notice of API deprecations and breaking changes. Use
[[Special:ApiFeatureUsage]] to see usage of deprecated features by your
application.
WARNING: API warning (login): Fetching a token via "action=login" is
deprecated. Use "action=query&meta=tokens&type=login" instead.
ERROR: Received incorrect login token. Forcing re-login.
WARNING: API error readapidenied: You need read permission to use this
module.
ERROR: You have no API read permissions. Seems you are not logged in.
ERROR: Username 'xxxx@xxxx' does not have read permissions on xxxxxx
Not logged in on xxxxx.
Execution time: 1 seconds
Any fix I could put on my custom family file to fix this?
TASK DETAIL
https://phabricator.wikimedia.org/T284577
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt, MarcoAurelio
Cc: MarcoAurelio, Nirvanchik, Xqt, Mpaa, Dvorapa, pywikibot-bugs-list,
RhinosF1, Urbanecm, Aklapper, ChrisBlomTS, Themindcoder, Adamm71, Jersione,
Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01,
Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido,
Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci,
Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Framawiki, Lewizho99, Mdupont,
JJMC89, Maathavan, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]