A more recent, revised and updated version of this paper has been published (2019)
 Actions

MediaWiki

Apihelp-parse-paramvalue-prop-encodedjsconfigvars

From Old European

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