Daniel Werner wrote:
> I am thinking about creating a very simple parser function #parse doing 
> nothing but returning parameter 1 with an "'noparse' => false" option. 
> Is there anything like this (or what could be abused for this) already 
> or is there any reason why this might be a bad idea?
> 
> The reason I want to have something like this is, I want to create a 
> template (for template and parser function black-box tests) accepting 
> something like {{((}}#somefunction:a{{!}}b{{!}}c{{))}} as parameter 
> value, showing {{#somefunction|a|b|c}} as output and at the same time 
> calling {{#parse: {{((}}#somefunction:a{{!}}b{{!}}c{{))}} }} so that 
> besides the definition also the result can be shown by the template output.
> 
> regards,
> Daniel

I think that would make more sense as a tag extension (parse doesn't
look like a good name, what about <wikidemo>?).

@Happy Melon: I think he wants a funtion which shows both parsed
wikitext and the original source.



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

Reply via email to