Activity queries: Difference between revisions

From OLPC
Jump to navigation Jump to search
(adjustments)
Line 34: Line 34:


== Everything with a bundle ==
== Everything with a bundle ==
If it doesn't have a bundle then it's not real. Pages should use the edit form to provide [[Property:Activity bundle]], but some only use {{tl|OBX xobundle}} to put the page in [[:Category:Activity bundle]].
If it doesn't have a bundle then it's not real (or it's [[:Category:Activities migrated to SugarLabs|been migrated to SugarLabs]]). Pages should use the edit form to provide [[Property:Activity bundle]], but some only use {{tl|OBX xobundle}} to put the page in [[:Category:Activity bundle]].


So look for both (that's
So look for both (that's

Revision as of 07:41, 19 June 2009

There are lots of lists of Activities on the wiki: Category:Activity lists, List of activity summaries, Category:Activity_summary, Category:Activity bundle, the manually maintained set on Activities/All, 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.

In addition, many activities have migrated off wiki.laptop.org altogether to http://activities.sugarlabs.org

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 with a bundle

If it doesn't have a bundle then it's not real (or it's been migrated to SugarLabs). Pages should use the edit form to provide Property:Activity bundle, but some only use {{OBX xobundle}} to put the page in Category:Activity bundle.

So look for both (that's {{#ask: + OR Activity bundle::+

 |format=count
 |default=Nothing found in the main namespace in Category:Activity bundle or with Property:Activity bundle??!

}} activities). Click column header arrows to re-sort, e.g. by development status.

{{#ask: + OR Activity bundle::+

 |?Activity bundle
 |?Devel status
 |?Activity version=Version(s)
 |?Activity group=Member of activity group(s)?
 |limit=500
 |default=Nothing found in the main namespace in Category:Activity bundle or with Property:Activity bundle??!

}}

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 in the main namespace (i.e., excluding categories, images, etc.) (that's {{#ask: +

 |format=count
 |default=Nothing found in Category:Activities in the main namespace?!

}} pages, many that are mis-categorized and aren't activities). 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)?
 |limit=500
 |default=Nothing found in Category:Activities in the main namespace?!

}}

Just G1G1 activities

Only show the {{#ask: Activity group::Activities/G1G1

 |format=count
 |default=Nothing found in Category:Activities with Property:Activity group=Activities/G1G1?!

}} 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

}}