User "Petrb" posted a comment on MediaWiki.r98614. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98614#c23597 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: I meant that in huggle we parse it with /[0-9][A-Z][a-z]/ regex and we do not append +\, but I checked login api only so far, maybe in other cases it's different, but if it works for login, maybe it works everywhere, anyway if you are sure, I can update it here _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
