Author: wesleypeck
Description:
Changes to SkinTemplate.php, MonoBook.php, and DefaultSettings.php which make it
easy to create multiple quick bars.
For example, the original system has one quick bar which is customized through
the $wgNavigationLinks array. This variable is an array of arrays which defines
all of the links to place into the quick bar.
$wgNavigationLinks = array (
array( 'text'=>'mainpage', 'href'=>'mainpage' ), ...
);
The patch changes the $wgNagigationLinks array to support multiple quick bars as
follows:
$wgNavigationLinks = array (
array( 'text'=>'quickbar1', 'content'=> array(
array( 'text'=>'mainpage', 'href'=>'mainpage' ),
....), ),
array('text'=>'quickbar2', 'content'=> array(
array('text'=>'page1', 'href'=>'page1'),
...), ),
array('text'=>'quickbar3', 'content'=> array(
array('text'=>'page2', 'href'=>'page2'),
...), ),
),);
This example defines three quick bars named "quickbar1", "quickbar2", and
"quickbar3" which have the specified links which show up inside of them.
Tested On: Redhat Enterprise Linux WS 4
Patch Agaist: version 1.4rc1
Skin Tested: MonoBook
Version: 1.4.x
Severity: enhancement