https://bugzilla.wikimedia.org/show_bug.cgi?id=23297

           Summary: Getting [[SMW::on]] in query esults when used in
                    Mediwiki:Sidebar
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to