Manual:$wgNavigationLinks
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.5.0</tvar>.</translate> |
<translate> Site customization</translate>: $wgNavigationLinks | |
---|---|
Navigation links for the user sidebar. |
|
<translate> Introduced in version:</translate> | 1.4.0 |
<translate> Removed in version:</translate> | 1.5.0 |
<translate> Allowed values:</translate> | see below |
<translate> Default value:</translate> | see below |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Deprecated
The variable is deprecated as of version 1.5 because MediaWiki 1.5 introduced wiki editable 'MediaWiki:Sidebar' page. See Manual:Navigation bar .
Details
For users of older pre 1.5 MediaWiki versions, you may wish to follow these usage details, but you should consider upgrading!
Navigation links for the user sidebar.
- 'text'
- the name of the MediaWiki message that contains the label of this link
- 'href'
- 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.
Note that the values are not the text itself, they are pages in the MediaWiki namespace.
Default Value
array (
array( 'text'=>'mainpage', 'href'=>'mainpage' ),
array( 'text'=>'portal', 'href'=>'portal-url' ),
array( 'text'=>'currentevents', 'href'=>'currentevents-url' ),
array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ),
array( 'text'=>'randompage', 'href'=>'randompage-url' ),
array( 'text'=>'help', 'href'=>'helppage' ),
array( 'text'=>'sitesupport', 'href'=>'sitesupport-url' ),
)