Jump to content

Extension talk:DynamicSidebar/archive 2

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"

Possible to tie Sidebar to ThemeToggles?

1
Azgoodaz (talkcontribs)

If user selected x theme, the sidebar changes to x Dynamic Sidebar.

Reply to "Possible to tie Sidebar to ThemeToggles?"
VladoxBl1tz (talkcontribs)

i am trying to set up sidebars for specific users and it doesnt appear to be working. is anyone able to help?

Reply to "Setting up for Users"

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)

CATEGORY-SIDEBAR not working

4
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"