[Mediawiki-l] Navigation alteration caused me an error

N i n e t n i n E ninetnine at gmail.com
Mon Jun 27 04:05:59 UTC 2005


Pls help,
I'm copied this from includes/DeffaultSetting.php and paste it to
/LocalSetting.php. Then I've make some alteration to this code:

## Navigation bar
$wgNavigationLinks = array (
	array( 'text'=>'Main page',   'href'=>'Main_Page' ),
        array( 'text'=>'Blog',	'href'=>'http://www.ninetnine.net' ),
	array( 'text'=>'Community_Portal' 'href'=>'NINETNINE:Community_Portal' ),
	array( 'text'=>'Current events', 'href'=>'Current_events' ),
        array( 'text'=>'News',	'href'=>'News' ),
	array( 'text'=>'Recent Changes', 'href'=>'Special:Recentchanges ),
	array( 'text'=>'Random page',	 'href'=>'Special:Randompage' ),
	array( 'text'=>'Help', 		 'href'=>'Help:Contents' ),
	array( 'text'=>'Donations',	 'href'=>'Donations' ),

);

--------------------------------------------------------------------------------------

Hopefully to get like this navigation bar:
# Main page
# Blog
# Community Portal
# Current events
# News
# Recent Changes
# Random page
# Help
# Donations   which # refer to deffault bullet.

Pls help 'cause now Im can't even log to my wiki main pages. Error
"Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING,
expecting ')' in [my root domain]
public_html/wiki/LocalSettings.php on line 38"

-- 
www.ninetnine.net - don't cover the book from iTs judge.



More information about the MediaWiki-l mailing list