Manual talk:Parser functions

From MediaWiki.org

Jump to: navigation, search

[edit] Unparsed Input

I know what I'm asking is essentially what tag extensions do, but is there any to specify that input arguments of the callback function should not be parsed? —Sledged (talk) 18:28, 16 September 2007 (UTC)

[edit] Change of Defaults in 1.12

It seems that commit 27667 changed the default for noparse and noarg from false to true in some situations. We have a function which returns a wikitext call to a template (for formatting) with a list of named parameters, and found that while it worked as expected in 1.9 it no longer works with recent SVN. Possibly this is a bug. We had to change our functions to ensure that to:

return array( $result, 'noparse' => false);

whereas previously they just:

return $result;

Perhaps someone knows if this was an anticipated change... Karora 01:10, 8 January 2008 (UTC)

Personal tools