Semantic MediaWiki test

From OLPC
Revision as of 11:26, 6 September 2008 by Skierpage (talk | contribs) (→‎Formatting templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just for testing SMW. This is nothing to do with OLPC Test results and Test cases.


Type:Code

I'm about to use Sample property::12345 of Type:Code, what happens.

Why not just use <pre> in the alternative text:

Here we go

 ?

Trac woes

Note how numbers appear with commas. That's not what I want!

Sample property2::54321

The good news (click the factbox below) is the (?) symbol for service links doesn't have the comma.

Formatting templates

Want to format results in stuff like Template:Test results to be bug links. This already uses the #arraymap parser function. There are a few ways to do this, see the edits by skierpage in the history of that page, but you have to use Template:! to insert the '|' pipe symbol in semantic assignments. Template wound up using a nested http link to the bug as the property's alt text — e.g. [http://dev.laptop.org/ticket/5454 #5454]