https://bugzilla.wikimedia.org/show_bug.cgi?id=35211

[[kgh]] <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from [[kgh]] <[email protected]> 2012-08-03 23:59:31 UTC 
---
There was definitively a change in behaviour to the #ask parser function in SMW
1.7.0.

My assessment is that #ask was made consistent ("fixed"). Before there was a
difference between querying for just one page and querying for multiple pages
(which may of course have only one page as a result). The specified page is now
considered as the result of the query, too.

<1.7:

{{#ask: [[Berlin]] |? }} → Berlin
or
{{#ask: [[Category:City]] }} → Berlin (in case only Berlin was added to the
wiki

// #ask is inconsistent 

{{#show: Berlin |? }} → Berlin


>1.7:

{{#ask: [[Berlin]] }} → Berlin 
or
{{#ask: [[Category:City]] }} → Berlin (in case only Berlin was added to the
wiki

// #ask is consistent

{{#show: Berlin |? }} → Berlin

Nothing had to be changed for #show since the specified page will never be the
result of the query.

Thus I am closing this bug as RESOLVED INVALID. I will amend the documentation
on the wiki accordingly. Thank you for your patience with me.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to