MediaWiki:Apihelp-setpagelanguage-param-pageid Page ID of the page whose language you wish to change. Cannot be used together with $1title.