In attempting to fix http://bugzilla.wikimedia.org/show_bug.cgi?id=7651, I discovered that returning the flag "noargs" => true from the callback function seems to fix the problem, but I haven't the foggiest clue why this is.
Can anyone actually explain this to me?
Rob Church
On Fri, 08 Jun 2007 00:51:58 +0100, Rob Church wrote:
In attempting to fix http://bugzilla.wikimedia.org/show_bug.cgi?id=7651, I discovered that returning the flag "noargs" => true from the callback function seems to fix the problem, but I haven't the foggiest clue why this is.
Can anyone actually explain this to me?
When it splits out the argument array, it clobbers the old arguments. It's possible to restore it by adding another argument to the end, like |1={{{1}}}.
"noargs"=>true would just bypass the argument parsing, so nothing will be clobbered.
wikitech-l@lists.wikimedia.org