lahwaacz / wiki-scripts

Framework for writing bots, maintenance scripts or performing data analysis on wikis powered by MediaWiki
http://lahwaacz.github.io/wiki-scripts/
GNU General Public License v3.0
27 stars 12 forks source link

API.edit should cache the csrf token #26

Closed lahwaacz closed 9 years ago

lahwaacz commented 9 years ago

The csrf token can be reused multiple times, new one should be obtained only if the server returns a badtoken error.