Extension talk:DynamicSidebar

About this board

archive

Hiding Toolbox for anonymous user

2
Omda4wady (talkcontribs)

How to hide Toolbox for anonymous user ??

108.64.211.41 (talkcontribs)

This will make the toolbox disappear for everyone


$wgHooks['SidebarBeforeOutput'][] = function ( $skin, &$bar ) {

$temp = [];

foreach ($bar as $key => $innerArray) {

if ($key != "TOOLBOX")

{

$temp[$key] = $innerArray;

}

}

$bar = $temp;

};

Reply to "Hiding Toolbox for anonymous user"

Used on which Wikimedia projects

3
Summary by BDavis (WMF)

This extension was used on https://wikitech.wikimedia.org/, but has now been removed (T304006)

83.82.119.125 (talkcontribs)

This extension says that it is being used on one or more Wikimedia projects. I couldn't find one on which it looks like it is really used. Could you provide me with some sites so that I can have a look how things work?

Jdforrester (WMF) (talkcontribs)
Realsalt (talkcontribs)
MichaelZ70 (talkcontribs)

I have a Category named: EDV-Projekte and I have a Sidebar defined: MediaWiki:Sidebar/Category:EDV-Projekte. The Sidebar looks like this:

* EDV-Projekte
** RZIntern:Übersicht EDV-Projekte|Übersicht EDV-Projekte
** RZIntern:EDV-Projekte - Fällige Aufgaben|Fällige Aufgaben
** Form:EDV-Projekte|EDV-Projekte anlegen und verwalten

The Cartegoy-Sidebar are enabled in Localsettings.php but the side bar is not display. A GROUP-SIDEBAR is working. In the Mediawiki:Sidebar I have both entries:

* CATEGORY-SIDEBAR
* GROUP-SIDEBAR

Why is the sidebar for the category not working?

MichaelZ70 (talkcontribs)

I found out what the problem is / was. I thought that the category of the actual page is relevant to display the sidebar but is is the category of the user page.

Is it possible to display a side depending on the category of the actual page? This would be greatǃ

Ro.ga (talkcontribs)

Hallo MichaelZ70,

Arbeitest du noch mit der DynamicSidebar? Kannst Du mir ev. weiterhelfen? Ich möchte die Group-Sidebar verwenden, doch es läuft bei mir nicht. Kannst Du mir erläutern, wie du es zu laufen gebracht hast?

Vielen Dank. Grüsse Ro.Ga

78.177.240.85 (talkcontribs)

Is this topic up to date? Even though I did the same in the same way, the category did not come. but user links are coming.

Reply to "CATEGORY-SIDEBAR not working"
Mdyug (talkcontribs)

Please tell me how can I add an icon (image) to each menu navigation * item?

How is it possible to implement this or do I need to contact the section MediaWiki:Sidebar for help ?

Reply to "icons to *"

Trouble when using Cosmos Skin

1
D0li0 (talkcontribs)
Reply to "Trouble when using Cosmos Skin"
Johnywhy (talkcontribs)

Hi, on MW 1.35. My LocalSettings.php:

# SIDEBAR

wfLoadExtension( 'DynamicSidebar' );

$wgDynamicSidebarUseGroups = true;


My MediaWiki:Sidebar:

* navigation

** mainpage|Welcome

** Portal:Cheat Sheet|Cheat Sheet

** Portal:Table of Contents|Table of Contents

** Portal:Tags|Topic Tags

** Special:EmailUser/WikiSysop|Contact


* Editors

** Portal:Draft Cheat Sheet| Draft Cheat Sheet

** Form:Retort|New Retort

** Form:Definition|New Definition

** Form:Tag|New Tag

** MediaWiki:New_Page|Create Page

** recentchanges-url|recentchanges

** Help:Editing_Guidelines|Editing Guidelines

** Help:Help|Help


* GROUP-SIDEBAR


My MediaWiki:Sidebar/Group:Administrators

* navigation

** mainpage|mainpage-description

** recentchanges-url|recentchanges

** randompage-url|randompage

** helppage|help-mediawiki

* SEARCH

* TOOLBOX

* LANGUAGES


* Admin

** Special:AllPages|List Pages

** Help:Admin|Admin Help

** Project:To-Do|To-Do

** Project:Scrap|Scrap


Images in Vector, Timeless, and Monobook

group-sidebar-vector
group-sidebar-monobook
Group-sidebar-Timeless
Reply to "Seems Not Working"

How to turn on category of the actual page:

1
Tort.uredUser (talkcontribs)
  1. add to LocalSettings.php line: $wgDynamicSidebarUsePageCategories = true;
  2. Probably disable user page category by correct line 28 in DynamicSidebar.Body.php: if ( $wgDynamicSidebarUseCategories && isset( $sidebar['UCATEGORY-SIDEBAR'] ) ) {
    In my MediWikia (1.30) it work now
Reply to "How to turn on category of the actual page:"
HarryArends (talkcontribs)

As i am a novice to MediaWiki i totaly rely on the examples. Following those i dont get it working. This is the basic-sidebar

* SEARCH

* navigation

** mainpage|mainpage-description

* Algemeen

**Beknopte|Beknopte beschrijving

* Bollekop

** Bollekop-Inleiding

* Draaistel

** Draaistel|Algemeen

** Wielen|Wielen

** Tekeningen

** Aslagerpot|Aslagerpot

* Pantograaf

** Pantograaf|Algemeen

** PantograafBBC|type BBC

** PantograafFaiverly|type Faiverly

* Model in 3D

* USER-SIDEBAR

** Model-algemeen|Algemeen

And created a user:gharryh/SideBar Then logging in as that user i dont see the user sidebar.

So i must doing something wrong but what

Lemley7678 (talkcontribs)

Did you turn on User Sidebar in locasettings? As, try User:gharryh/Sidebar. Notice the lowercase "b" in Sidebar.

Reply to "Its not working for me"
Ro.ga (talkcontribs)

So I'm a newbie in MediaWiki and I have also Problem with the configuration. Please can you explain me a little bit more. (my wiki-language is german, and my wiki-version is 1.28.0)

In my mediawiki:sidebar I have wrote following:

  • navigation
    • mainpage|mainpage-description
    • recentchanges-url|recentchanges
    • randompage-url|randompage
    • helppage|help
  • SEARCH
  • TOOLBOX
  • LANGUAGES
  • GROUP-SIDEBAR

for testing purposes I have create the page mediawiki:sidebar/Group:Administratoren. There I added following:

  • Admin-Menu 1
    • test1|test 1
    • test2|test 2
  • Admin-Menu 2
    • test3| test 3
    • test4| test 4

is this correct? I don't see my new Group-Sidebar. What do I make wrong?? I hope you can give me a little hint.

Ro.ga (talkcontribs)

No Help???? What a shame :-(

Lemley7678 (talkcontribs)

Ro.ga, do you have group sidebars turned on in the localsettings file? In addition, does the group "Administratoren" exist in your Wiki's permissions and have you assigned yourself to it?

Reply to "Having problems with usage"
Dadai12 (talkcontribs)

Hi, thanks for this extension - it`s exactly what I was looking for. :-) I use the group based sidebar and have got a little problem with it. The toolbox always show, although it`s not embedded in the groups sidebar. Is this the default behavior or did I do something wrong? Thanks in advance! --Dadai12 15:03, 23 July 2013 (UTC +2:00)

Reply to "Toolbox default?"
Return to "DynamicSidebar" page.