Last modified: 2010-05-15 15:33:56 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 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
Created attachment 393 [details] Patch to support multiple quick bars
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.