Apologies for any groans of "not again" this question may generate :-) I have tried to follow previous threads regarding modifying the navigation links in the wiki sidebar, but it all seems to be rather complex to me. I wish to check with more experienced people than I prior to doing anything silly and completely stuffing things up on my wiki ~
To make a link in the nav bar to Special:AllPages (ie make a link to an index of all pages in the wiki) do I insert this (below) into SkinPHPTal.php code?
$nav_urls['allpages'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Allpages')));
and also in xhtml_slim.pt:
<li id="n-allpages"><a href="${nav_urls/allpages/href}" i18n:translate="string:allpages">All Pages</a></li> ??
Also what is the difference between: makeSpecialUrl and makeI18nUrl? - Should I have one or the other in the SkinPHPTal.php code?
Would this work or have I got it wrong? Are there any other files I need to modify? (This next bit is probably more complex, so I understand if there is not a straightforward answer) - How does one make external links using all the syntax above? Or even say a link to a php page sitting just above the wiki directory on my server? I see that the topic of modifying links in the nav bar has come up a few times. Is there a tutorial or a step-by-step walkthrough anywhere, say at MetaWiki or somewhere?
Thanks in advance for any help anyone may be able to give.
C. J. Stephen notReality ~ http://www.notreality.biz/notreality.php Photoblogring.org ~ http://photoblogring.nfshost.com
mediawiki-l@lists.wikimedia.org