https://bugzilla.wikimedia.org/show_bug.cgi?id=21754
Summary: Pass the event date to the template when used in
format=calendar
Product: MediaWiki extensions
Version: any
Platform: All
URL: http://wiki.montcopa.org/MediaWiki
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: SemanticResultFormats
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=6855)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=6855)
Pass current event date to template in calendar
The query returns an article which may have many instances of an assigned date
property, especially if you have used {{#set_recurring_event: . . .}}. How a
particular title is returned may vary depending on which event is being
referenced, and a query returns only the entire list of recurring events.
The attached patch would automatically pass the parameter {{{thisdate}}} to the
template to help identify the specific date of the event.
Example:
If this is the third date in a recurring series, show the text '(90 day
award)'.
This patch only passes the parameter if the template= . . . has been defined.
--
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