Manual talk:Hooks/ParserGetVariableValueSwitch

Hook execution question
I am using Mediawiki 1.11.1 and I have a problem with the following sentences in the text:


 * Otherwise it does nothing and returns . Returning   tells MediaWiki to go onto the remaining hooks assigned to ParserGetVariableValueSwitch in hopes of finding a value for the magic word id.

From the tests that I have performed it seems instead that if there are several hooks the execution of the hooks is interrupted as soon as one of them returns. It is when a hook returns  that the execution continues to the next hook. Is it an error in the text or have I misunderstood something? &mdash; Tommy Ekola 12:06, 26 February 2008 (UTC)

return Links
Hi, when I do something like $ret='&lt;div style="border:1px solid black"&gt;txt&lt;/div&gt;'; a box is rendered. When I return $ret='&lt;a href="http://mysite/index.htm"&gt;Index&lt;/a&gt;'; no link is rendered, but the HTML code is shown. Is it possible to generate a link with this technique? -- Bardnet 11:58, 28 May 2008 (UTC)