Last modified: 2012-01-27 17:02:53 UTC
(MW 1.18.1) Considering these 4 queries: {{#ask: [[Category:Plays]] [[Was written by::William Shakespeare]] |?Was written by=}} ---- {{#ask: [[Category:Plays]] [[Was written by::~W*]] |?Was written by=}} ---- {{#ask: [[Category:Plays]] [[Was written by::~*William Shakespeare*]] |?Was written by=}} ---- {{#ask: [[Category:Plays]] [[Was written by::~*William?Shakespeare*]] |?Was written by=}} where "Was written by" is a property of type page, the 3rd query will fail. The fourth works, as does this: {{#ask: [[Category:Plays]] [[Was written by::~*{{#replace:William Shakespeare| |?}}*]] |?Was written by=}} This worked in my previous install that used MW 1.16.1 / SMW version 1.5.2. All of them work as expected if the type is String. Example on Referata: http://www.referata.com/wiki/Comparator_Test
Dennis on Referata pulled the page deciding it and some other pages were senseless templates. On that note, it may be appropriate for another referata-like site just for hosting repeatable issues like the one above. In any case, I left out the versions from my earlier post in lieu of referata's settings. Here they are: MW 1.18.1 PHP 5.3.2 MySQL 5.1.41 SMW 1.7.0.1 ... and here is a capture of referata's current settings: MW 1.18.1 PHP 5.3.6 MySQL 5.0.92 SMW 1.7.1 alpha3 Regards, Sal