Author: mitchell_neill
Description:
I want the sections of my website automatically appear in my MW sidebar as they are created by a SMW form.
So in http://localhost/mediawiki/index.php/Mediawiki:Sidebar I have:
- navigation
- mainpage|mainpage-description
- portal-url|portal
- currentevents-url|currentevents
- recentchanges-url|recentchanges
- randompage-url|randompage
- helppage|help
{{#ask:
[[Category:Sections]]
[[Title::+]]
?Section Link#- |
link=none |
format=template |
template=Sidebar Query |
}}
The Sidebar Query Template is:
- {{{1}}}|{{{2}}}
The result is that I get the section names and their links appearing in the sidebar as expected, except for one problem. The last one has [[SMW::on]] after it. e.g.:
Section1
Section2
Section3
Section4[[SMW::on]]
The [[SMW::on]] should not be showing. Where is it coming from?
Posted on SMW mailing list but got no answer.
Thanks
Neill
Version: unspecified
Severity: minor