To ALL,
What's wrong with this code
## Navigation bar - Line 35
$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'
),
);
Then i stil got this message: Parse error: parse error, unexpected
T_CONSTANT_ENCAPSED_STRING, expecting ')' in my root
domain]/public_html/wiki/LocalSettings.php on line 38
Pls help!
On 6/27/05, Brion Vibber <brion(a)pobox.com> wrote:
N i n e t n i n E wrote:
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 ),
You're missing a ' on that line.
-- brion vibber (brion @
pobox.com)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
www.ninetnine.net - don't cover the book from iTs judge.