From Pchr8's wiki thing
Jump to: navigation, search


Categories are named in plural where it's possible (think "Blogs", not "Blog"), tags are in singular.

Important pages:


I will add spaces when setting a category, to make it easier to select with wasavi:

[[Category: Meta]]

Use bold for key words / concepts, cursive for emphasis.

Making content available to search

Two main properties are Property:L the link (if there's one of them) and Property:t -- the title.

The Template:Basic helps to use it all swiftly:


Where c is the complexity of a page, from 1 to 10, t is the page title as stated in the link, r is rating, 1 to 10 too, o is whether it's an one link page. Last two parameters are optional.

//todo: write a small plugin to automate at least partly all this. Done!

Other examples: details In text annotations, things like

[[Is capital of::Germany]]

If I want to do it quietly, it'll be thus:

 Has population=3,396,990
 |Has country=Germany

Searching is Search by property, a pretty nice and useful interface. The search page for structured queries is Special:Ask. More here:

[[:+]] limits to main namespace. (No "Property:*" pages).

Page names

[[Brazil||France||User:John Doe]]

Based on values

Selecting pages:

[[born in::Boston]] 


A space is AND.

* || is for disjuncting inside a query (values, property names)
*  OR  is for parts of a query.

For example: [[Category:Musical actor]] OR [[Category:Theatre actor]] == [[Category:Musical actor||Theatre actor]]


[[born in::+]]
returns all pages that have any value for the property «born in».


Placed after :: in property conditions.

  • >> and <<: "greater than" and "less than"
  • > and <: "greater than or equal" and "less than or equal" by default, but "greater than" and "less than" if $smwStrictComparators = true;
  • and : "greater than or equal" and "less than or equal"
  • !: "not" ("unequal")
  • ~: «like» comparison for strings
  • !~: «not like» comparison for strings

Like, not like

In a like condition, one uses '*' wildcards to match any sequence of characters and '?' to match any single character. For example, one could ask [[Address::~*Park Place*]] to select addresses containing the string "Park Place", or [[Honorific::~M?.]] to select both "Mr." and "Ms.".


[[Category:Actor]] [[born in::<q>[[Category:City]] [[located in::Italy]]</q>]]


As per

shows the Factbox on all pages where there's something to show.


For URIs which contain "=", which doesn't play nice with templating: {{ #vardefine: url | }} {{B| {{ #var: url }} |How I got tech support scammers infected with Locky @ Borderline

Inline queries

An example can be seen in animes dubbed in French, where via an inline query all pages in categories French and Anime are shown.


There's a special namespace for books, "B:".

Books are added thus:

For details about the parameters, see B:Meta

List of all books: B:Meta List all books