Hey,
> Otherwise, I think I had to use Parser::parse() and I am not fully aware
of the consequences really. Wouldn't even know which parameters I should
supply.
I'm not sure, but I think you should use recursiveTagParse here. Might be
worth asking about on wikitech.
> I alreaedy noticed that mInline is working in handleParameters(), where I
have to use it again to define for parameter 'name' that in non-inline
context empty string '' is equally to null/unset while in inline context ''
would be a valid value for the 'name'.
Right. You can do it just like that, as you then also take care of people
actually providing an empty string. If you need to distinguish between it
having been set by the user or being defaulted, you can set the default to
false, which in case of string params is done by
$param->setDefault( false, false );
where the first argument is the default value, and the second one indicates
that the default value should not be handled like user values, ie not
converted to a string.
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel