Translations:API:Edit/66/en

provides a way to access edit tokens when running JavaScript within a MediaWiki page.