https://bugzilla.wikimedia.org/show_bug.cgi?id=42347
Markus Krötzsch <mar...@semantic-mediawiki.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wikibugs-l@lists.wikimedia. | |org Component|Semantic MediaWiki |SemanticForms AssignedTo|wikibugs-l@lists.wikimedia. |yaro...@gmail.com |org | --- Comment #3 from Markus Krötzsch <mar...@semantic-mediawiki.org> 2012-11-22 11:32:01 UTC --- If the query that I suggested works for you, it is highly recommended to use this query instead of format=max everywhere. Similarly for format min (but change the order to ASC there). If you want to do math with the result, you should also specify that you do not want any formatting by adding a #-: {{#ask: [[Category:Project]] | ?Project number#-= | mainlabel=- | sort=Project number | order=DESC | limit=1 }} The max format should be avoided whenever possible. It is very resource intensive (possibly retrieving thousands of results to find one number) and may still lead to wrong results (if there are too many matches). The other problem you mention here seem to be related to {{{field}}} but not to SMW. I don't see why there should be a connection to SMW 1.8, but maybe there were some small output changes in #ask that your code is somehow sensitive to. I am reassigning this bug to SF now. -- 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. You are the assignee for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l