Features-test

From OLPC
Revision as of 09:45, 9 December 2008 by Skierpage (talk | contribs)
Jump to: navigation, search

Various test queries that were or could be on

Enables a dynamic Feature roadmap — see Semantic MediaWiki#For software features.

Querying software features

Features are in subcategories of Category:Software features, but querying on this matches many pages that aren't software features, because some feature subcategories such as Category:Network and Category:Network are already in use.

{{Feature tracking}} sets some other properties like Property:Short name, Property:Is part of, etc., so the trick is to pick one that is specified (not blank or default) in all software features. Probably Property:Short name is safest.

That gives us {{#ask: Short name::+

 |format=count

}} software features (a few may be tests).

So use | limit=200 | in queries to display all the features.

Greg list in order

The template's "Feature subcategory" parameter both sets a category and Property:Is part of. We can sort by the latter to present features by category.

Click on the arrows in any heading to sort by that heading. {{#ask: Short name::+

 |?Is part of=Area
 |?
 |?Primary requester
 |?Helps deployability
 |?Target for 9.1
 |?Owner=Owner(s)
 |?Priority
 |sort=Is part of
 |mainlabel=-
 |limit=200
 |default=Nothing found in Category:Software features with Property:Short name?!

}}

Before you ask, you can't ask for "grouping" of results to avoid area repeated over and over; instead you would repeat the query each time querying for a different areas or subcategory.

December Features list

This queries for anything in Category:Software features, it shows category to try to show feature. {{#ask: Short name::+

 |?Category=in the following categories
 |?Primary requester
 |?Requested by
 |default=Nothing found in Category:Software features with Property:Short name?!

}}

But, as you see below you can't sort on category display! Maybe have to have Property:Feature subcategory, like Property:Test subcategory, or use Is part of::Power management, Is_part_of::Journal , etc. {{#ask:

 |?Category
 |?Primary requester
 |?Requested by
 |sort=Category
 |default=Nothing found in Category:Software features with Property:Short name when we try to sort by Category.

}}

October Features list

This queries for anything in Category:Software features, it uses Property:Is part of. {{#ask: Short name::+

 |?Category
 |?Is part of=Technology/subsystem
 |?Requested by
 |default=Nothing found in Category:Software features with Property:Short name?!

}}

What features did a country request

Just ([[Requested by::{{FULLPAGENAME}}]]), e.g. {{#ask:

 Requested by::OLPC Peru
 |mainlabel=OLPC Peru wants
 |?Category
 |?Is part of=Technology/subsystem
 |default=Nothing found in Category:Software features requested by Features-test

}}

Could be a many-valued field with a priority...