Hi
Thanks for the very quick responses and action. Ruby's YAML parser seems to parse your example alright, though converting the result back to YAML again seems to yield a slightly different order of elements... That seems to be a Ruby YAML module issue though, not one for the API.
I haven't installed MediaWiki locally myself to check the fix works, but took a look at the code, and the fix seems to make sense. One small issue: your code seems to handle : and # inside strings, but comment #3 on the bug says it handles it at the beginning of strings. Typo?
Eagerly awaiting the fix to go live on Wikipedia etc. :-)
Thanks, Loek
On Thu, Mar 13, 2008 at 5:54 PM, Roan Kattouw roan.kattouw@home.nl wrote:
L. Cleophas schreef:
or on a time horizon for a fix/update?
Bug 12120 (the escaping issue) has been fixed on trunk, it could take a few days (or weeks) before it goes live on Wikipedia and friends. I'll also try to get this fix into the final 1.12 release.
In the meantime, please read comment #3 on bug 12120 [1] and verify that the example I provided validates in your YAML parsers.
Roan Kattouw (Catrope)
[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=12120#c3
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api