Last modified: 2014-03-02 08:34:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12822 - Support display of subproperties in query printouts
Support display of subproperties in query printouts
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Markus Krötzsch
: 13319 14821 16709 21231 (view as bug list)
Depends on: 16571
  Show dependency treegraph
Reported: 2008-01-28 18:46 UTC by John Carter
Modified: 2014-03-02 08:34 UTC (History)
6 users (show)

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


Description John Carter 2008-01-28 18:46:52 UTC
The + opperator allows a query to automagically select all pages meeting given params DIRECTLY via a SMW property and INDIRECTLY via any subproperties. However, the associated * operator only displays the params from the named parent property. The only way to display subproperty values is to hard-code each needed property into the query.

This enhancement request is to add functionality to display the property and subproperty values for all pages selected by a + query. Essentially, this allows for a display of the list of selected pages along with the specific property value. This has been discussed on the SMW UG, and the consensus seems to be that while there is a use case for this, there is also a use case for the existing functionality. Therefore, maybe we need an alternate "display all subproperties" syntax, e.g., 

[[Prop_name::*]] (current syntax, current functionality)
[[Prop_name*::*]] (note extra *, would add "display subproperties" functionality)

Comment 1 Markus Krötzsch 2008-03-11 16:25:06 UTC
*** Bug 13319 has been marked as a duplicate of this bug. ***
Comment 2 Markus Krötzsch 2008-08-08 20:39:05 UTC
*** Bug 14821 has been marked as a duplicate of this bug. ***
Comment 3 Siebrand Mazeland 2008-08-11 11:05:26 UTC
Re-assign to extension developer for triage/comments.
Comment 4 Markus Krötzsch 2008-12-05 19:30:38 UTC
Now that the syntax of printout statements has changed anyway, a modified approach would be needed. Essentially this also depends on the possibility of passing parameters to printouts. I also note that I am not quite sure about the performance implications of this addition.
Comment 5 Markus Krötzsch 2008-12-19 14:16:03 UTC
*** Bug 16709 has been marked as a duplicate of this bug. ***
Comment 6 Markus Krötzsch 2008-12-19 14:20:37 UTC
A possible syntax (suggested in Bug 16709) is to use "+" instead of "?" to choose this alternative to normal printouts. I would prefer some solution that leaves the "?" at the first position, since it is the clear sign that some query parameter is a printout.
Comment 7 Markus Krötzsch 2009-11-03 09:11:15 UTC
*** Bug 21231 has been marked as a duplicate of this bug. ***

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