https://bugzilla.wikimedia.org/show_bug.cgi?id=21922
Summary: YAML output should quote asterisk when used as key
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://de.wikipedia.org/w/api.php?titles=Nordsee&prop=ex
tlinks&action=query&format=yamlfm
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
In the API's YAML output, asterisks are used as keys without quoting them, for
example:
extlinks:
-
*: |
http://commons.wikimedia.org/wiki/North_Sea?uselang=de
This causes problems with some parsers (e.g. PyYAML), it should instead be
something like
extlinks:
-
'*': |
http://commons.wikimedia.org/wiki/North_Sea?uselang=de
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l