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"
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)
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@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@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
N i n e t n i n E wrote:
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' ),
You're missing a comma here, too.
-- brion vibber (brion @ pobox.com)
Thanks Brion for showing me that silly mistake... Error page was gone... but my wiki/Main_page and most all my wiki pages not appear. How is it?? Im already free my browser cache. Anyone can help??
On 6/27/05, Brion Vibber brion@pobox.com wrote:
N i n e t n i n E wrote:
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' ),
You're missing a comma here, too.
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org