I need an edit token for a faux request (fauxRequest) I am doing. I thought I 
could get a token like so:

global $wgRequest;
$token = $wgRequest->getSessionData( 'wsEditToken' );

But it just reports back "badtoken: Invalid token"


What is the proper way to ger an edit token for a faux request

Thanks,
-Adam
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to