https://bugzilla.wikimedia.org/show_bug.cgi?id=26890
Summary: the "default=" query parameter doesn't work with the
#show parser function.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
If you #ask for a certain property from a certain page, no default text is
shown if the page exists but doesn't carry that property (default text is only
shown when no pages are returned).
i.e. page X does not have the property y, the following returns blank:
{{#ask: [[X]] | ?y | default = can't see me}}
This may be well and good for #ask, but it means that #show will never show the
default text (assuming it's page exists), which seems strange.
Do we need a default-per-property syntax?
{{#ask: [[X]] | ?y = The value of y # y is undefined}}
or something like that?
--
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