Last modified: 2010-05-15 15:33:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1764 - Patch to allow multiple quick bars
Patch to allow multiple quick bars
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on: 419
  Show dependency treegraph
Reported: 2005-03-27 03:18 UTC by Wesley Peck
Modified: 2010-05-15 15:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Patch to support multiple quick bars (4.47 KB, patch)
2005-03-27 03:18 UTC, Wesley Peck

Description Wesley Peck 2005-03-27 03:18:16 UTC
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
$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
Comment 1 Wesley Peck 2005-03-27 03:18:58 UTC
Created attachment 393 [details]
Patch to support multiple quick bars
Comment 2 Ævar Arnfjörð Bjarmason 2005-05-24 20:08:37 UTC
I redesigned the whole sidebar system, see bug 419, I added this functionality
to it while I as add it ( but didn't use this patch).

Marking this as FIXED.

Note You need to log in before you can comment on or make changes to this bug.