User "Petrb" posted a comment on MediaWiki.r98614. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98614#c23600 Commit summary:
Created EXAMPLE_TOKEN which replaces all tokens in api examples and also looks like a real token, I think it save a work of many tool developing people since I myself had troubles understanding how real token looks from the api.php descriptions (previous example also contained some charactes which would hardly be inside the string, token is always lower case) Comment: right. if it's not going to change and login token will not contain it in future, I will update EXAMPLE_TOKEN and remove it from that one example where it's different, anyway I think tokens should be same everywhere because tool dev need to make more token parsing functions in case that mw produces more different kinds of token _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
