Last modified: 2011-10-06 15:48:27 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 T33433, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31433 - Alternative representation of subject (page titles) in query results
Alternative representation of subject (page titles) in query results
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-06 15:48 UTC by Remco de Boer
Modified: 2011-10-06 15:48 UTC (History)
2 users (show)

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


Attachments

Description Remco de Boer 2011-10-06 15:48:27 UTC
I would like to be able to adjust the way in which the subjects (i.e. the page titles of the results found) are displayed. In particular, I would like to be able to:

* specify a property that should be displayed instead of the page title
* limit the displayed title to {{SUBPAGENAME}} instead of {{PAGENAME}} when the query result is a subpage.

This should probably take the form of an additional parameter ('displaytitle'?) to a query, for example:

{{#ask: [[Category:Some category with subpages]] 
|?Property to show
|?Another property to show
|format=table
|displaytitle=subpagename
}}

and

{{#ask: [[Category:Some category with cryptically named pages that have a semantic property 'has name' set]] 
|?Property to show
|?Another property to show
|format=table
|displaytitle=?has name
}}

In the above examples, the displayed result should default to the {{PAGENAME}} if the page is not a subpage or has no property set.

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


Navigation
Links