Save issues to user and community space issues.

Jump to: navigation, search

even with LocalSettings set to: $wgGroupPermissions['user']['collectionsaveasuserpage'] = true; $wgGroupPermissions['user']['collectionsaveascommunitypage'] = true;

on MW 1.18

trying to save to the community and user namespace is giving: Unexpected non-MediaWiki exception encountered, of type "UsageException" badtoken: Invalid token

  1. 0 /www_data/www/includes/api/ApiBase.php(1205): ApiBase->dieUsage('Invalid token', 'badtoken')
  2. 1 /www_data/www/includes/api/ApiMain.php(590): ApiBase->dieUsageMsg('sessionfailure')
  3. 2 /www_data/www/includes/api/ApiMain.php(678): ApiMain->setupModule()
  4. 3 /www_data/www/includes/api/ApiMain.php(340): ApiMain->executeAction()
  5. 4 /www_data/www/extensions/Collection/Collection.body.php(867): ApiMain->execute()
  6. 5 /www_data/www/extensions/Collection/Collection.body.php(225): SpecialCollection->saveCollection(Object(Title), false)
  7. 6 /www_data/www/includes/SpecialPageFactory.php(458): SpecialCollection->execute(NULL)
  8. 7 /www_data/www/includes/Wiki.php(226): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
  9. 8 /www_data/www/includes/Wiki.php(626): MediaWiki->performRequest()
  10. 9 /www_data/www/includes/Wiki.php(533): MediaWiki->main()
  11. 10 /www_data/www/index.php(57): MediaWiki->run()
  12. 11 {main}
128.189.126.17219:39, 18 January 2012

I have the same error with MW 1.18.0

Unexpected non-MediaWiki exception encountered, of type "UsageException"

badtoken: Invalid token

How to solve ?

hollosch14:27, 25 January 2012

On MW1.18.2 I have

$wgGroupPermissions['user']['collectionsaveasuserpage'] = true; $wgGroupPermissions['user']['collectionsaveascommunitypage'] = true;

But at Special:Book the ability to save is greyed out. (That is the fields of where to save are greyed out). Any thoughts?

Maximilianklein (talk)01:57, 2 May 2012
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox