Activity queries: Difference between revisions

From OLPC
Jump to navigation Jump to search
(mention some of the lists of activities.)
Line 13: Line 13:


== Activities by development status ==
== Activities by development status ==
Everything in [[:Category:Activities]] that has a [[Property:Devel status|Development status]], sorted (initially) by [[Property:Devel status|Devel status]].
Everything in [[:Category:Activities]] that has a [[Property:Devel status|Development status]] (
'''{{#ask: [[Category:Activities]] [[Devel status::+]]
|format=count
|default=Nothing found in [[:Category:Activities]] with a [[Property:Devel status]]?!
}}''' activities) sorted (initially) by [[Property:Devel status|Devel status]].
Click column header arrows to re-sort.
Click column header arrows to re-sort.



Revision as of 10:18, 14 January 2009

There are lots of lists of Activities on the wiki: List of activity summaries, Category:Activity_summary, Category:Activity bundle, etc. Most are out-of-date or redundant or incomplete.

A better way to get a list of activities is to query the information in activity pages. You can use the [edit with form] tab on an activity's wiki page to update its information, and the query will show the new information (eventually... the wiki caches queries and page contents).

Unfortunately, information about activities is duplicated elsewhere:

  • The Software update control panel reads the activity URLs and versions to install/upgrade from a different set of pages, such as Activities/G1G1/8.2, and these often transclude small fragments such as Activities/Chat_(8.2). These may not match.
  • There are unrelated lists of activities and collections such as Activities/All and Collections.
  • Some activity pages display versions and URLs in OBX "badges", also unrelated.

Untangling this is so the information is in one place is ... tricky, plans at Semantic_MediaWiki/Activities.

Activities by development status

Everything in Category:Activities that has a Development status ( {{#ask: Devel status::+

 |format=count
 |default=Nothing found in Category:Activities with a Property:Devel status?!

}} activities) sorted (initially) by Devel status. Click column header arrows to re-sort.

{{#ask:

 |?Activity genre
 |?Contact person
 |?Devel status
 |?Activity version=Version(s)
 |?Activity group=Member of activity group(s)?
 |sort=Devel status
 |order=desc
 |default=Nothing found in Category:Activities with a Property:Devel status?!

}}

Everything in Category:Activities

There are probably pages in Category:Activities that don't have semantic markup. So try to show everything in Category:Activities the main namespace (i.e., excluding categories, images, etc.) Click column header arrows to re-sort, e.g. by development status.

{{#ask: +

 |?Activity genre
 |?Contact person
 |?Devel status
 |?Activity version=Version(s)
 |?Activity group=Member of activity group(s)?
 |default=Nothing found in Category:Activities in the main namespace?!

}}

Just G1G1 activities

Only show those activities with Property:Activity group=Activities/G1G1. This should exactly match the Activities/G1G1/8.2 page that Software update reads, although that page's updating is (unfortunately) a separate manual process.

  • names should match
  • download URL and version should match
    • if there's more than one download and version, you have to view the wiki page

{{#ask: Activity group::Activities/G1G1

 |?Activity bundle=Download(s)
 |?Activity version=version(s)
 |?Activity group=Member of activity group(s)?
 |default=Nothing found in Category:Activities with Property:Activity group=Activities/G1G1?!

}}

Old Category:Activity_bundle vs. Property:Activity bundle

{{OBX xobundle}} is obsoleted by the more useful Property:Activity bundle, so when all pages have the latter the badge can be killed.

{{OBX xobundle}} mistakenly puts pages in Category:Activity bundle, so query for pages in that in the main namespace and show Activity bundle (if any). Click the arrows in the Activity bundle column header below and all the pages without one will appear at the top. Those pages should be edited with Form:Activity (click their [edit with form] tabs) to set {{Activity page}}/

{{#ask: +

 |? Activity bundle
 |limit=999

}}