Extension talk:DynamicSidebar

From MediaWiki.org
Jump to: navigation, search
Start a new discussion

Contents

Thread titleRepliesLast modified
Position of TOOLBOX015:40, 7 September 2011
Sorting of groups and categories014:41, 7 September 2011
Using {{fullurl:Special ... }} URL gets broken001:43, 7 September 2011
Custom sidebar based on Namspace100:23, 4 May 2011
Does * count as group418:03, 12 March 2011
Error upon adding group, category, or user sidebar312:17, 8 July 2010

Position of TOOLBOX

Hi, in case you have a configuration like

* SEARCH
* GROUP-SIDEBAR
* TOOLBOX
* Links

the extension moves the TOOLBOX to the very bottom of the sidebar below * Links which is not the intended behaviour. Is there something I can do about it?

[[kgh]]15:40, 7 September 2011

Sorting of groups and categories

Hi, is there any way to control the sorting of the displayed sections of the sidebar. Currently it only seems to be possible to show them in a descending order, e.g. the sidebar for group A gets shown above the one for group B, group C etc. What if it should be C A B, or in a descending order like C B A? Cheers

[[kgh]]14:39, 7 September 2011

Using {{fullurl:Special ... }} URL gets broken

Unfortunately when linking a source with //www.mediawiki.org/wiki/Special_... the URL gets broken, using the same approach in Mediawiki:Sidebar just works fine.

MWJames01:43, 7 September 2011

Custom sidebar based on Namspace

Would it be possible to extend this to handle Mediawiki Namespaces

193.203.70.5516:26, 23 April 2011

I purposely did not implement namespace support, like the extension this is based on. Namespace support would mean no sidebar caching...

Ryan lane00:23, 4 May 2011
 

Does * count as group

Heiya Ryan lane, this extension pops into my mind over and over again. :) Will it be possible to define a sidebar for anonymous users [*]? If I understand correctly this will not be possible. Cheers

[[kgh]]21:08, 7 March 2011

That shouldn't be necessary since you can add that into the regular sidebar.

Ryan lane23:57, 11 March 2011

Oops, I think my question was a bit stupid. :| You are right, the regular sidebar should be the one for anonymous users. Actually I am looking for a way to disable the search box for anonymous users and not using css. As far as I know it is presently not possible. Do you happen to know if it will be possible with 1.17+? Cheers

[[kgh]]10:35, 12 March 2011

Ah. I don't think that's possible without CSS or removing it from the skin, even in 1.17.

Ryan lane17:01, 12 March 2011

That is a pity. Thank you for your reply anyway. Cheers

[[kgh]]18:03, 12 March 2011
 
 
 
 

Error upon adding group, category, or user sidebar

When adding either of the following lines to MediaWiki:Sidebar,

GROUP-SIDEBAR CATEGORY-SIDEBAR USER-SIDEBAR

The Wiki in its entirety fails to work, providing only blank pages. The following error is in the apache log:

PHP Fatal error: Call to undefined method SkinMonoBook::addToSidebar() in /var/lib/mediawiki/extensions/DynamicSidebar/DynamicSidebar.body.php on line 35

The same problem is found when incorporating the patch suggested on the extension page. The only way to reverse the total failure is to go back in one's browser history and re-save MediaWiki:Sidebar without the GROUP/CATEGORY/USER-SIDEBAR calls. Alternatively, one could disable DynamicSidebar altogether.

MediaWiki 1.15.1 PHP 5.3.2-1ubuntu4 (apache2handler) MySQL 5.1.41-3ubuntu12.3

-- enterprise_user 16:17, 6 July 2010 (UTC)16:18, 6 July 2010

Hi enterprise_user, this seems to be a kind of an inevitable problem (see this report) when using this extension with MediaWiki prior to version 1.17.0 My recommendation is to wait until this version is released officially. Cheers --kgh 16:38, 6 July 2010 (UTC)

kgh16:38, 6 July 2010

The patch was made for 1.14. I recommend applying the patch by hand. In all reality, all you need to do is take the code block and add it to the end of that file. This is a *really* simply patch, and I've tested this block addition with 1.16 beta 3. I can promise you it is working. I'm using it in production right now.

Ryan lane20:05, 6 July 2010

That is what I had thought too. Once again I failed and got the error message. Most probably I will still have done something wrong. I will give it another try after I upgraded to 1.16 beta 3. Cheers --kgh 12:16, 8 July 2010 (UTC)

kgh12:17, 8 July 2010
 
 
 
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox