I'm trying to make a simple extension that moves a page on my mediawiki
site, but whether using curl or FauxRequest, I always get bad token
response. Tried urlencoding, not encoding, %2B/, without +/, etc, doesn't
matter. The token shown in the output looks identical to the one when
you should be using the move token not the edit token
On Sun, Apr 27, 2014 at 12:28 PM, Justin Maldonado
i...@keyappraising.comwrote:
I'm trying to make a simple extension that moves a page on my mediawiki
site, but whether using curl or FauxRequest, I always get bad token
response. Tried
Yeah, that was just a typo copying the code over. It is actually just the one
$token variable. Same with the double quotes. I’ve tried no quotes as well
though, along with single quotes, smiley faces, hearts, etc.
I was also going to do some more urlencoding, but just wanted to get the
Well you can just use Title::moveTo() directly.
On Apr 28, 2014 1:13 AM, Justin Maldonado i...@keyappraising.com wrote:
Yeah, that was just a typo copying the code over. It is actually just the
one $token variable. Same with the double quotes. I’ve tried no quotes
as well though, along