https://bugzilla.wikimedia.org/show_bug.cgi?id=33854
Web browser: ---
Bug #: 33854
Summary: SMW 1.7.0.1: Regular Expression Query using Page Type
Field fails
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
(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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l