Last modified: 2009-05-10 10:01:31 UTC
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.
Yes, empty strings and boolean trues look the same, and yes, that's not ideal, but that's how it is, and it can't be changed because that would break every bot using the API. IMO it's pretty clear from context that 'prefix' is not a boolean attribute (knowing there is a prefix is pretty useless unless you know what it is), so I'm closing this as INVALID.