Thread:Project:Support desk/Fatal exception of type MWException after changed page title using php script/reply (7)

I have not, but it seems like
 * you first have to login (to get write rights).
 * Then you need to do a "action=query" with "prop=info" to get a token (which allows you to modify data).
 * After that was successful, you can use this token when you query the API with "action=move".

A short overview of the complete API is here.