https://bugzilla.wikimedia.org/show_bug.cgi?id=31433
Web browser: ---
Bug #: 31433
Summary: Alternative representation of subject (page titles) in
query results
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
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.
--
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