Hi,

I am running into a problem with setting the $msg argument of the
SkinCopyrightFooter hook function to some HTML text (mediawiki
1.19.0). For instance, doing this:

function CopyrightFooter ( $title, $type, &$msg, &$link )
{
  $msg = 'Content is available under the <a
href="http://www.gnu.org/copyleft/fdl.html";>GNU Free Documentation
License 1.3 or later</a>';
  return true;
}
$wgHooks['SkinCopyrightFooter'][] = 'CopyrightFooter';

Renders like this:

<Content is available under the <a
href="http://www.gnu.org/copyleft/fdl.html";>GNU Free Documentation
License 1.3 or later</a>>

In other words, the html gets escaped somehow and does not end up
being rendered as intended. Did I use the $msg argument incorrectly?

Thanks,

nick

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to