Read the comment:
/** Navigation links for the user sidebar.
* 'text' is the name of the MediaWiki message that contains the label of
this link
* 'href' is the name of the MediaWiki message that contains the link target
of this link.
* Link targets starting with http are considered remote links. Ones not
starting with
* http are considered as names of local wiki pages.
*/
Use this:
$wgNavigationLinks = array (
array( 'text'=>'mainpage', 'href'=>'mainpage' ),
array( 'text'=>'recentchanges',
'href'=>'recentchanges-url' ),
array( 'text'=>'randompage',
'href'=>'randompage-url' ),
array( 'text'=>'allpages', 'href'=>'allpages-url'
),
array( 'text'=>'categories', 'href'=>'allpages-url'
),
);
Now, go to the page MediaWiki:allpages-url, at your site, and place the url,
like: Special:Allpages
As you can see, the text of the link and the href is stored at a system
message.
Hope this can help you, and sorry for the bad english.
On Apr 12, 2005 3:46 PM, Pablo Chamorro C. <pchamorro(a)ingeominas.gov.co>
wrote:
I want to include some links from the SpecialPages, e.g. Allpages and
Categories, but I see there is no such a 'allpages-url' or
'categories-url' variables. I would like to put them like this:
$wgNavigationLinks = array (
array( 'text'=>'mainpage', 'href'=>'mainpage' ),
array( 'text'=>'recentchanges',
'href'=>'recentchanges-url' ),
array( 'text'=>'randompage',
'href'=>'randompage-url' ),
array( 'text'=>'allpages', 'href'=>'allpages-url]]'
),
array( 'text'=>'categories',
'href'=>'[[allpages-url]]' ),
);
and, in general, how can I include a custom link under navitationlinks or
"toolslinks"?
Thank you very much,
Pablo
--
Tel: +57 (2) 7314752/3222/2595 - Fax: +57 (2) 7310514
Carrera 31 #18-07 Parque Infantil - PO Box 1795 - Pasto
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
Edit this page @
http://pt.wikipedia.org