Last modified: 2013-02-18 03:34:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46500, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44500 - #ask queries ignore format= directives
#ask queries ignore format= directives
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-30 10:04 UTC by Patrick Lauer
Modified: 2013-02-18 03:34 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Patrick Lauer 2013-01-30 10:04:56 UTC
with an "old" install things work, after upgrade to SMW 1.8 and any newer version of SRF I see queries returning unformatted results.

Example:

{{ #ask: [[Category:Invoices]] [[Invoice sent date::<{{#time: Y-m-d | -60 days}}]] [[PaymentReceived::No]] [[Currency::RMB]] |  ?Total amount | format=sum | headers=hide | limit=100000 }}

This used to print a number, now I get a table returned, which breaks many things in very unfunny ways. Changing the format= directive has no effect.
Comment 1 MWJames 2013-02-18 03:34:08 UTC
Is there a way to reproduce this behaviour or is there a public site where this behaviour can be studied? What are the MW, PHP, SMW/SRF version etc. used in the described case?

Based on [1] (as accessible public source that uses various #ask queries) the described behaviour could not be confirmed.

[1] https://www.semantic-mediawiki.org

For example:
SRF 1.8 requires SMW 1.8 
SRF 1.9 and SMW 1.8 will not work as
SRF 1.9 requires SMW 1.9 

(In reply to comment #0)
> and any newer version of SRF 
Does mean what exactly?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links