Extension talk:SidebarEx

In the installation section, "* 5) Apply any page protection deemed necessary " - deemed necessary by whom? The MediaWiki: namespace is already protected by default, so (if the namespace is set to its default value) attempting to lock MediaWiki:Sidebar and the like adds nothing. --Carlb 22:31, 6 July 2007 (UTC)
 * Good point. I must admit I think a lot in terms of BizzWiki extension these days and rights management is a bit different than in stock Mediawiki! &#91;user:jldupont&#124;Jean-Lou Dupont] 22:50, 6 July 2007 (UTC)

Create new Sidebars
Hey

Thanks a lot for this extension

But I've got a Problem, how do I create new Sidebars for a new User.

I created one for the '*' and it works, but for Example I can't create one for the User: Admin.

I triede to edit LocalSettings and to fill in there: $bwSidebarNs = MediaWiki; $bwSidebarPage = 'Sidebars'; $bwSidebarSearch = array ( 'user', '*', 'admin' );

but there is no change.

Can I create a new sidebar for every User, or every User on his own?

I don't know why it works with the not logged in Users ('*') and with the other Users don't.

Please help me, Thanks
 * The order matters for $bwSidebarSearch: if you want 'admin' membership to be checked first, then ('admin', 'user', '*'). If you put 'user' first, all logged users will see the sidebar corresponding to 'user'.

Jean-Lou Dupont 13:26, 6 August 2007 (UTC)


 * So I can define a new sidebar for every User?
 * The User should have the possiblity to edit their pages, on their own. is this possible?
 * And can I leave the field $bwSidebarSearch empty so that every one has his own sidebar or is it just group based?
 * The extension is 'group membership' aware and *not* 'per-user' aware i.e. the extension, currently, can not handle 'per-user' sidebars. Jean-Lou Dupont 15:22, 6 August 2007 (UTC)
 * Too bad but thanks a lot for your help!
 * Took me two minutes to add 'per-user' functionality. Enjoy. Jean-Lou Dupont 15:32, 7 August 2007 (UTC)

Could this be used also for Sidebars depending on namespace?
I reckon it would not be very hard to adapt this that sidebars depended on namespaces?

--JuhaV 06:35, 28 August 2007 (UTC)
 * Correct. Jean-Lou Dupont 11:06, 28 August 2007 (UTC)
 * Done. Jean-Lou Dupont 12:55, 28 August 2007 (UTC)

Don't Appear?
Installed this extension, along with Extension:ExtensionClass which has one error which I have reported on that extension talk page. Now can't seem to get the different Sidebars to appear, have defined MediaWiki:Sidebar/user, MediaWiki:Sidebar/sysop and my own personal one at User:Dr DBW/Sidebar and can't get anything different from the one already defined at MediaWiki:Sidebar

Does this ignore the normal Sidebar at MediaWiki:Sidebar, or do we have to delete that one? If a person is not a member of the groups defined, so it default back to this one? Or do I have to have the MediaWiki:Sidebar/* defined? --Dr DBW 02:22, 30 August 2007 (UTC)


 * Worked it out thanks, didn't realise was using 1.9.3. Upgraded to 1.10.1 and starting to work now.  For clarification, do these sidebars totally replace the default one, or append it on the end of the default? --Dr DBW 03:58, 30 August 2007 (UTC)
 * Replaces the default one. Jean-Lou Dupont 12:04, 30 August 2007 (UTC)


 * Strange, because I have done the following, Sidebar contains a list of menus, Sidebar/user /sysop does not have those menus, but has some extra ones and it appends it to the end? Then if I have my own personal one, then that is also appended on the end again? BTW, thanks for this extension, it is a very good one :-) --Dr DBW 23:55, 30 August 2007 (UTC)

Undefined offset: 0 in Namespace.php on line 96
Recently upgraded to Mediawiki 1.10.1 from 1.9.3 and now the above error has appeared, and it is due to this extension (i.e. the error disappears when it is removed from LocalSettings.php). The contents of line 96 in Namespace.php is below. --Dr DBW 04:12, 10 September 2007 (UTC) return $wgCanonicalNamespaceNames[$index];
 * I just did a quick 1.10.1 install on my Windows machine + just installed this extension without anything else & no customization except for MediaWiki:Sidebar/* : it works on my side without an error. Please provide backtrace debug info. Jean-Lou Dupont 11:32, 10 September 2007 (UTC)
 * Turned on the debugging, nothing in there stands out as being wrong or associated with this error. What should I be looking for do you think?  Is there something additional with debugging that I should be turning on? --Dr DBW 23:06, 10 September 2007 (UTC)
 * How about allowing for more PHP level messages i.e. error_reporting in PHP.ini ? Jean-Lou Dupont 23:26, 10 September 2007 (UTC)