https://bugzilla.wikimedia.org/show_bug.cgi?id=49241
Web browser: ---
Bug ID: 49241
Summary: Handle formatting failures gracefully in #property
parser function
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
The #property parser function needs to handle different error cases gracefully
(malformed value, unknown property, etc). In case of error, it should return an
empty string (so the output can be used in conditionals), but attach a warning
to the ParserOutput object, which can then be rendered somewhere on the page.
--
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