Last modified: 2011-11-10 22:40:53 UTC
when i want to collect this category's pages http://fa.wikipedia.org/wiki/%D8%B1%D8%AF%D9%87:%D8%AE%D9%88%D8%AF%D8%A2%D9%85%D9%88%D8%B2_%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7 it shows me this error Unexpected non-MediaWiki exception encountered, of type "UsageException" badtoken: Invalid token #0 /usr/local/apache/common-local/php-1.18/includes/api/ApiBase.php(1205): ApiBase->dieUsage('Invalid token', 'badtoken') #1 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(590): ApiBase->dieUsageMsg('sessionfailure') #2 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(678): ApiMain->setupModule() #3 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(340): ApiMain->executeAction() #4 /usr/local/apache/common-local/php-1.18/extensions/Collection/Collection.body.php(867): ApiMain->execute() #5 /usr/local/apache/common-local/php-1.18/extensions/Collection/Collection.body.php(225): SpecialCollection->saveCollection(Object(Title), false) #6 /usr/local/apache/common-local/php-1.18/includes/SpecialPageFactory.php(460): SpecialCollection->execute(NULL) #7 /usr/local/apache/common-local/php-1.18/includes/Wiki.php(224): SpecialPageFactory::executePath(Object(Title), Object(RequestContext)) #8 /usr/local/apache/common-local/php-1.18/includes/Wiki.php(624): MediaWiki->performRequest() #9 /usr/local/apache/common-local/php-1.18/includes/Wiki.php(531): MediaWiki->main() #10 /usr/local/apache/common-local/php-1.18/index.php(57): MediaWiki->run() #11 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...') #12 {main}
Confirmed on the English wikipedia, right now. I had collected six pages and wanted to save them to a user page ("User:Tbleher/Books/Robust Statistics", to be precise), when the exact same error appeared. I'm still logged in, and the error is reproducible. Any chance the Collection extension hasn't been updated to the new API token requirements (wild guess, haven't checked)?
*** This bug has been marked as a duplicate of bug 31613 ***