https://bugzilla.wikimedia.org/show_bug.cgi?id=27224
Summary: Less than or equals on a date type matches everything
when used in a Concept
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
I expected this:
{{#concept: [[News:+]] [[Category:CFFC News Item]]
[[CFFC News Published Date::<{{LOCALYEAR}}/{{LOCALMONTH}}/{{LOCALDAY2}}
{{LOCALTIME}}]]
| All published CFFC News items
}}
...to match all items younger than the current date, but it matches any
published date. Using “<<” does the right thing. Using a similarly constructed
#ask: query does the right thing. Odd.
Examples:
‘<’ concept:
http://chch.ultimate.org.nz/wiki/view/Concept:CFFC_News_Latest_Test
‘<<’ concept:
http://chch.ultimate.org.nz/wiki/view/Concept:CFFC_News_Latest
‘<’ #ask:
http://chch.ultimate.org.nz/wiki/view/User:Jwm/sandbox
Using SMW 1.5.5.1.
--
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