[Mediawiki-l] Adding a link to the navigation bar
Mark Johnson
crvmp3 at hotmail.com
Mon Jun 13 18:07:42 UTC 2005
I'm have been unsucessful at adding a item to the navigation toolbar. I
tried to follow the instructions found here
http://meta.wikimedia.org/wiki/MediaWiki_FAQ#How_do_I_change_the_contents_of
_the_navigation_toolbar.3F)
but the new link shows up as <Juno> and link's url in the status bar
says "--error:_link_target_missing--". This is what my $wgNavigationLinks
array in LocalSettings.php looks like:
$wgNavigationLinks = array (
array( 'text'=>'mainpage' , 'href'=>'mainpage' ),
array( 'text'=>'Juno' , 'href'=>'Juno' ),
array( 'text'=>'currentevents' , 'href'=>'currentevents-url' ),
array( 'text'=>'recentchanges' , 'href'=>'recentchanges-url' ),
array( 'text'=>'help' , 'href'=>'helppage' ),
array( 'text'=>'sitesupport' , 'href'=>'sitesupport-url' ),
);
I've confirmed that I do indeed have a page at
http://tux/wiki/index.php?Juno (tux is the server on our intranet) so I
assume that I'm mis-reading the instructions or something. I tried adding
an absolute URL with no luck either. Perhapse I created the page wrong? I
just edited the main page and added [[Juno]], saved the page, then clicked
on the red Juno link and then edited that page and save it. Anyway, I must
have missed a step or something, can someone help me get this working?
Thanks for your time!
More information about the MediaWiki-l
mailing list