Extension talk:LanguageSelector/LQT Archive 1

LANGUAGE_SELECTOR_AS_PORTLET
Hello,

I have install this very interresting extension on my Wiki. And I wanted to use the value "LANGUAGE_SELECTOR_AS_PORTLET" for "$wgLanguageSelectorLocation" but it doesn't run. I use a Skin based on Monbook. Only values LANGUAGE_SELECTOR_AT_TOP_OF_TEXT and LANGUAGE_SELECTOR_IN_TOOLBOX can run on my Wiki. I don't know if I have to change some values on LanguageSelector.php?

(I'm sorry for my english, but I'm a french student!) Sébastien 14:22, 6 April 2007 (UTC)


 * The other options only work with MediaWiki 1.10 and newer. You can add support for this by hacking the SkinTemplate.php file: near the end of the outputPage function, before // execute template, add this:

// original version by hansm if( !wfRunHooks( 'SkinTemplateOutputPageBeforeExec', array( &$this, &$tpl ) ) ) { wfDebug( __METHOD__ . ': Hook SkinTemplateOutputPageBeforeExec broke outputPage execution!' ); }
 * well, just this would probably do:

wfRunHooks( 'SkinTemplateOutputPageBeforeExec', array( $this, $tpl );
 * No guarantee, though. Perhaps just wait a few days for MW 1.10 to come out officially. -- Duesentrieb ⇌ 21:04, 6 April 2007 (UTC)