MediaWiki:Apihelp-parse-paramvalue-prop-encodedjsconfigvars

From IAB

Gives the JavaScript configuration variables specific to the page as a JSON string.