1. Find the file 'includes/SkinTemplate.php'
2. Search for the function "function buildPersonalUrls()"
3. Comment out accordingly, i.e.
/*$personal_urls['userpage'] = array(
'text' => $this->username,
'href' => &$this->userpageUrlDetails['href'],
'class' => $this->userpageUrlDetails['exists']?false:'new',
'active' => ( $this->userpageUrlDetails['href'] == $pageurl )
);*/
$usertalkUrlDetails = $this->makeTalkUrlDetails($this->userpage);
/*$personal_urls['mytalk'] = array(
'text' => wfMsg('mytalk'),
'href' => &$usertalkUrlDetails['href'],
'class' => $usertalkUrlDetails['exists']?false:'new',
'active' => ( $usertalkUrlDetails['href'] == $pageurl )
);*/
$href = self::makeSpecialUrl( 'Preferences' );
$personal_urls['preferences'] = array(
'text' => wfMsg( 'mypreferences' ),
'href' => $href,
'active' => ( $href == $pageurl )
);
$href = self::makeSpecialUrl( 'Watchlist' );
$personal_urls['watchlist'] = array(
'text' => wfMsg( 'mywatchlist' ),
'href' => $href,
'active' => ( $href == $pageurl )
);
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Showing posts with label mediawiki. Show all posts
Showing posts with label mediawiki. Show all posts
Monday, March 22, 2010
Tuesday, May 05, 2009
Random Mediawiki Problem with Cite Extension
I was getting this:
Call to undefined method ParserOptions::getIsSectionPreview() in Cite_body.php on line 699
The 'temporary' way to get rid of this problem is to comment out the following line on line 699.
//if ( $parser->getOptions()->getIsSectionPreview() ) return true;
Unfortunately!
Call to undefined method ParserOptions::getIsSectionPreview() in Cite_body.php on line 699
The 'temporary' way to get rid of this problem is to comment out the following line on line 699.
//if ( $parser->getOptions()->getIsSectionPreview() ) return true;
Unfortunately!
Thursday, April 16, 2009
Ubuntu Install PEAR Mail for PHP / sending mail in Ubuntu via PHP
If you're getting some sort of 'php unable to load dynamic library' problem in PHP while trying to send email with PEAR/PHP on Ubuntu you'll probably need to do the following to install pear:
sudo apt-get install php-pear
sudo pear install mail
sudo pear install Net_SMTP
sudo pear install Auth_SASL
sudo pear install mail_mime
sudo apt-get install php-pear
sudo pear install mail
sudo pear install Net_SMTP
sudo pear install Auth_SASL
sudo pear install mail_mime
Subscribe to:
Posts (Atom)