Hi,

I think I had a similar problem.
I solved it by using just one tag, and added an "action" param.

<sample action=dojobxxx>...</sample>

In "renderTagSample" you can then check the "action" arg and switch to the job you want to do...

Hope this helps.
Greetings
Frank


On 05.03.2016 10:35, Sigbert Klinke wrote:
Hi,

I'am writing a tag extension which declares several tags.

When with <sample>...</sample>

function renderTagSample( $input, array $args, Parser $parser, PPFrame $frame ) { ... }

is called is there a way to get the tag name "sample" itself inside renderTagSample?

Thanks in advance

Sigbert

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to