[Mediawiki-l] Skin: Parsing wiki text/extension syntax

Alexis Moinet alexis.moinet at fpms.ac.be
Mon Sep 3 15:34:29 UTC 2007


Frank Sundermeyer wrote :
> The complete code in the skin template looks like this:
> 
> <?php if (wfMsgForContent( 'mainpage' ) == $this->data['title'] ) { ?>
>   <!-- Insert right navigation bar -->
>   <?php print wfMsg('mainpagerightcolumn')  ?>
>   <!-- End insert right navigation bar -->
> <?php } ?>
> 
> Also works fine. The only problem is, that wiki text or extension markup 
> from "MediaWiki:Mainpagerightcolumn" does not get parsed - it is 
> inserted "as is" (see first link in the right column). It's basically 
> the same as if using wiki text in the skin template which also wouldn't 
> work.
> Is there a way to make it work?

maybe <?php print wfMsgWikiHtml('mainpagerightcolumn'); ?>




More information about the MediaWiki-l mailing list