Last modified: 2011-05-14 15:43:00 UTC
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.
I must have introduced this in 1.5.2(?) when support for strict comparators was added. Will have a look at the issue and attempt to get it fixed for the next release. Thanks for reporting.
I think this relates to string escaping in MediaWiki that is not handled properly by SMW (any more). Apparently, something changed, and symbols like < end up as < which they did not do before. The concept query answering should be fixed ASAP, and I set the priority accordingly. The problem is that a change in the escaping behaviour may affect older MW systems, if the issue really was introduced by a change in MW escaping order (and not just by SMW-internal changes). But if in doubt, recent versions of MW should be preferred over older ones.
I tried reproducing this issue using SMW trunk with both MW 1.16.0 and MW trunk, and failed doing it on either setup.
I have just committed a change (r81979) that could fix this issue. When you update to SVN, please trigger the Special:SMWAdmin initialisation again (or run SMW_setup.php).