XZise added a subscriber: XZise.
XZise added a comment.
Ugh bummer, technically it never existed so the code should never have worked.
It is now CSRF and was previously depending on the deleted rev. The answer from
an 1.19 wiki `action=paraminfo&modules=undelete`
<http://www.explainxkcd.com/wiki/api.php?action=paraminfo&modules=undelete&format=jsonfm>
mentions:
{
"name": "token",
"description": "An undelete token previously retrieved through
list=deletedrevs",
"type": "string"
},
So it looks like we need to rewrite the //undelete// procedure. On newer wikis
we can probably just use CSRF (when was that introduced) and for older wikis I
need to look into the code to exactly determine what we need to do.
Also please post the complete traceback if possible (although in that case it's
probably not helpful but it won't hurt).
TASK DETAIL
https://phabricator.wikimedia.org/T105635
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: XZise, Aklapper, Steinsplitter, pywikibot-bugs-list, Anshoe, Malyacko,
P.Copp
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs