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

           Summary: SMW format=template queries html not terminating
                    properly?
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: mitchell_ne...@hotmail.com


I want the sections of my 
website automatically appear in my MW sidebar as they are created by a 
SMW form.

So in http://llocalhost/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]]

Any idea where the [[SMW::on]] is coming from? I have a suspicion that 
format=template queries are not terminating correctly elsewhere as well.

I'm using SMW 1.4.3 and MW 1.15.1.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to