How can I insert Language Selector into Personal_URL Bar? I tried this:
$wgLanguageSelectorLocation = LANGUAGE_SELECTOR_MANUAL;
and after this text in vector.php
<div class="portlet" id="p-personal"> <h5><?php $this->msg('personaltools') ?></h5> <div class="pBody"> <ul>
add
<?php echo wfLanguageSelectorHTML(); ?>
But doesn't work. It said: Catchable fatal error: Argument 1 passed to wfLanguageSelectorHTML() must be an instance of Title, none given,
any suggestion?
thx!