I want to write a special page that accepts several parameters, and can also be included in other pages.
normally, to include, one will write '{{:Special:MySpecialPage/param1/param2}}' and my code will use '/' as parameters separator.
however, what if param1 is a path to a subpage? then, it contains '/'.
and why use '/' for parameters anyway? why not the normal template syntax of '{{:Special:MySpecialPage|param1|param2}}'?
i changed my code to handle this: in Parser.php, find the call of capturePath and add a second argument: 'self::createAssocArgs($args)' add it to the function declaration and also SpecialPage::executePath and SpecialPage::execute. this will allow a mix of both forms ('/' or '|' as separators)
what do you think?
ittay