Hi,
I am using MediaWiki 1.4 beta-6 and the monobook style sheet. I want to remove the links Community portal and Current events, and add a google link beneath the search box. I tried following the document http://meta.wikimedia.org/wiki/Customization:Quickbar which tells you to edit defaultsettings.php.
$wgNavigationLinks = array ( array( 'text'=>'mainpage', 'href'=>'mainpage' ), array( 'text'=>'portal', 'href'=>'portal-url' ), array( 'text'=>'currentevents', 'href'=>'currentevents-url' ), array( 'text'=>'mylink', 'href'=>'mylink-url' ), array( 'text'=>'help', 'href'=>'helppage' ), array( 'text'=>'sitesupport', 'href'=>'sitesupport-url' ) );
I removed the links and saved and refreshed, but they have not been removed.
Any help is appreciated greatly...I am obviously changing the wrong file... and also does anyone know how to add the Google link?
Thanks in advance, Alison
On Wed, 02 Mar 2005 17:10:35 +0000, Alison Russell alisonrussellireland@hotmail.com wrote:
Hi,
I am using MediaWiki 1.4 beta-6 and the monobook style sheet. I want to remove the links Community portal and Current events, and add a google link beneath the search box. I tried following the document http://meta.wikimedia.org/wiki/Customization:Quickbar which tells you to edit defaultsettings.php.
Never edit DefaultSettings.php - as its name suggests, its for the *default* settings, not your customised ones. All customisation should be done in your LocalSettings.php file, which is executed later, and therefore over-rides the defaults. I've added an extra reminder to this effect in the page you read, although it did already say "...and copy it to LocalSettings.php"
wikitech-l@lists.wikimedia.org