[Mediawiki-l] Pb (parsing?) with <tag param=value> to {{template |param={{{1}}} }} <splist /> and {{#tag:splist}}

Dr JFBurté burtejf at orange.fr
Sun Aug 17 09:59:09 UTC 2008


Hi tutti, question about  #tag or {{{param=}}}

I would like to use SubPageList3 (<splist  />), but by the way of a template
{{sous-page|1|2}} with parameters, and so I simply call {{sous-pages}} with
the good "parent page" with a parameter (named or unamed, I tried both) .
And I don't succeed ! (MW1.12 on localhost/WinXP/WAMP2.0)

I believed that {{#tag:MyExtension |param}} would allow to give/transmit
parameters to that kind of ExtensionTag, but I probably misunderstood
something
http://www.mediawiki.org/wiki/Extension:SubPageList3
(I 've read articles about TagParser and new #tag included in MW1.12)

So I defined {{sous-page}} like this :
{{ #tag:splist
 | parent={{{1|{{FULLPAGENAME}} }}}
 | showparent={{{showparent|no}}}
 | sort=desc
 | sortby=title
 | liststyle=bar
 | showpath=
 | kidsonly=yes
 | debug=0
}}

Apparently this template (this code above) works directly in a test-page and
I get the list (so MW seems to understand {{ #tag:splist |
parent={{FULLPAGENAME}}..)

But it works not when I call {{Sous-pages | Espace:Nompage}} ... It looks
like it doesn't understand {{ #tag:splist | parent={{{1}}}..)
The message is :"Sous-pages n'a pas de sous-pages à énumérer."

Please what happens ??


Merci d'avance et bon WEnd à tous ;O)
@+ de jfb "0.02$"





More information about the MediaWiki-l mailing list