User "Johnduhart" posted a comment on MediaWiki.r98614.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98614#c23604
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:

+1 what roan said, your application not be parsing tokens. If tomorrow we 
changed all tokens to be R33DYRULEZ your application should not bat an eye 
about it. Just take what the API gives you and give it back.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to