Author: costellojp
Description:
On my wiki I have pages 'related' to each other so that they appear automatically in an 'Other Pages' section. The in-line query is quite simple and it works for all my pages with one exception. The page name has a '&' character in it and the in-line query fails to find the pages marked with the right smw property.
To test I moved the page with the in-line query to remove the '&' and changing the property on a target page and it appeared. In another test, I changed the property on the target page, it also has a '&' in the title, to relate it to another page without the '&' character in the title and it worked as expected.
The details:
In-line query:
{{#ask:[[Relatedpage::{{PAGENAME}}]] [[:+]]
format=ul |
default=::''No related pages at this time'' |
}}
I'm running:
MW 1.15
SMW 1.4.3
MySQL 5.0.77 (although Special:Version reports 5.0.45)
PHP 5.2.5
CentOS Linux 5.4
Version: unspecified
Severity: normal
OS: Linux
Platform: PC