https://bugzilla.wikimedia.org/show_bug.cgi?id=18750
Summary: remove empty prefix="" from action=paraminfo
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://translatewiki.net/w/api.php?action=paraminfo&modu
les=parse
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
To signal a true boolean in xml the syntax 'attribut=""' is used. When there is
a module without a prefix, action=paraminfo shows a prefix="", but that means
there is no prefix (because the string is empty), and not a true boolean. So
remove this empty attribut, to show there is no prefix (or make this as
invalid). Thanks.
Maybe getModulePrefix() should give a null instead of an empty string, when
there is no prefix.
--
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