Releases-test: Difference between revisions
(remove out-of-date stuff that isn't on live pages any more.) |
(→Templated query: make the dummy query more useful) |
||
Line 74: | Line 74: | ||
| ?Lead customer |
| ?Lead customer |
||
| ?Has objective |
| ?Has objective |
||
| sort=Release date |
|||
| order=descending |
|||
| default=Nothing in [[:Category:Releases]] that's not Build 999?! |
| default=Nothing in [[:Category:Releases]] that's not Build 999?! |
||
}} |
}} |
||
|} |
|} |
||
<!-- need a dummy query so that Mediawiki provides the CSS for class="smwtable" in the template query elsewhere --> |
|||
{{#ask: |
{{#ask: |
||
[[Build number:: |
[[Category:Releases]] [[Build number::767]] |
||
|intro=Recent release |
|||
|format=table |
|format=table |
||
|?Download URL |
|||
|default=NOTHING SHOWN BUT DO WE HAVE CSS? |
|||
|default=No release with build number 767? |
|||
}} |
}} |
||
Latest revision as of 23:01, 15 October 2008
Various test queries that were or could be on
Future release querys
Query releases whose status is not "released". All dates and other information is tentative and subject to change! Click the release for more information. {{#ask: Status::!released
|mainlabel=Release |?Status |?Target date |?Primary maintainer |?Is part of=ECO |?Lead customer |?Has objective=Primary objectives |default=No releases with status "not released" found?!
}}
Past releases query
Query releases whose status is "released". This is the query that used to be on the Releases, now Release notes, page.
You can get nicer more compact display using a template, see elsewhere. {{#ask: Status::released
|mainlabel=Release |?Release date |?Is part of=ECO |?Build number |?Download URL |?Firmware |?Lead customer=Lead customer(s) |?Has objective=Primary objectives |sort=Release date |order=descending |default=No releases with status=released found?!
}}
What release am I running?
This query went on the Releases page then moved to What release am I running?.
Templated query
Use Template:SMW display release-oneline to make Release link to release notes, build link to download URL, get rid of "OLPC Firmware " text, and format objectives as a bulleted list.
Release (click for Release notes) | Build number (click to download image) | Also called | ECO | Firmware | Lead customer | Primary objective(s)
{{#ask: Build number::!999 |
format=template | template=SMW display release-oneline | link=none | ?Release notes | ?Build number | ?Download URL | ?Also called | ?Is part of | ?Firmware | ?Lead customer | ?Has objective | sort=Release date | order=descending | default=Nothing in Category:Releases that's not Build 999?!
}} |
---|
{{#ask: Build number::767
|intro=Recent release |format=table |?Download URL |default=No release with build number 767?
}}
Notes
This has to be surrounded with wiki markup for a table.
Since the release like [[8.1.1] is already a wiki page, to turn it into a link to Release_notes/8.1.1 the query has to be format link=none, otherwise you get lots of [ ] showing up. Also, the bulleted feature goes away if I put in a table
If you don't use format=table, then to use class="smwtable" and get the blue table header, you have to make MediaWiki or SMW output a link to a stylesheet: <link rel="stylesheet" type="text/css" media="screen, projection" href="/extensions/SemanticMediaWiki/skins/SMW_custom.css" /> It seems the only way to do this is to have a dummy query that outputs a table. (!!?, skierpage asked on SMW mailing list.)
Timeline
This draggable query should show releases with a Property:Release date and/or Property:Target date. (Some future releases have neither so don't show up.) All dates and features sets on Future releases are subject to change {{#ask:
|?Release date |?Target date |?Status |format=eventline
}}
XS Releases
See XS Release Notes.
How to turn these into query.
XS v164
Status: ?
Primary Maintainer: Martin
Release notes: ?
ECO Link: ?
Primary objective: ?
Lead Customer: ?
Build Name and URL: ?
Schedule: ?
XS v163
Status: ?
Primary Maintainer: Martin
Release notes: ?
ECO Link: ?
Primary objective: ?
Lead Customer: ?
Build Name and URL: ?
Schedule: ?