How to hide Toolbox for anonymous user ??
Extension talk:DynamicSidebar
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;
};
If user selected x theme, the sidebar changes to x Dynamic Sidebar.
i am trying to set up sidebars for specific users and it doesnt appear to be working. is anyone able to help?
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?
Per https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php, it's only used on Wikitech (and test Wikitech).
So for those who come later, here's an actual link to that project group-sidebar config. https://wikitech.wikimedia.org/wiki/MediaWiki:Sidebar/Group:cloudadmin
Looks like it needs the group as expressed in Local Settings, so "sysop", not "Administrator" or "Administrators".
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?
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ǃ
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
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.
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 ?
See https://www.mediawiki.org/wiki/Topic:W9ejw4twkkkyghwt
- That skin simply renders a menu named USER-SIDEBAR or GROUP-SIDEBAR etc. That menu is a link to an article of the same name. Not sure which project is causing the issue, this extension or that skin.
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
- add to LocalSettings.php line: $wgDynamicSidebarUsePageCategories = true;
- 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
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
Did you turn on User Sidebar in locasettings? As, try User:gharryh/Sidebar. Notice the lowercase "b" in Sidebar.