Extension:DynamicSidebar/de-formal
![]() Release status: stable |
|
---|---|
![]() |
|
Implementation | Skin , MyWiki |
Description | Provides dynamic sidebars based on user pages, groups, and categories. |
Author(s) | Ryan Lane (Ryan laneDiskussion) |
Latest version | 1.1 (2020-05-12) |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.29+ |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | 135 (Ranked 72nd) |
Translate the DynamicSidebar extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The DynamicSidebar extends the capabilities of the sidebar for logged in users. If allowed, users can add their own custom sidebars via the page "User:<username>/Sidebar". Administrators can add sidebars for groups, and userpage categories via the pages "MediaWiki:Sidebar/Group:<group>", and "MediaWiki:Sidebar/Category:<category>".
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
DynamicSidebar
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer
LocalSettings.php
hinzufügen:wfLoadExtension( 'DynamicSidebar' );
- Configure as required.
Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Konfiguration
The following options are available:
// Enable debugging
$wgDebugLogGroups['dynamic-sidebar'] = '/tmp/sidebar-debug.txt';
// Allow users to create their own custom sidebars under User:<username>/Sidebar
// Default: true
$wgDynamicSidebarUseUserpages = true;
// Allow group sidebars under MediaWiki:Sidebar/Group:<group>
// Default: true
$wgDynamicSidebarUseGroups = true;
// Allow category based sidebars under MediaWiki:Sidebar/Category:<category>
// Default: true
$wgDynamicSidebarUseCategories = true;
Usage
Custom user sidebars
$wgDynamicSidebarUseUserpages
must be enabled, then an administrator must add the following on the page "MediaWiki:Sidebar":
* USER-SIDEBAR
This string will be replaced with the user's sidebar.
Users should define their sidebar on the page "User:<username>/Sidebar".
Group sidebars
$wgDynamicSidebarUseGroups
must be enabled, then an administrator must add the following on the page "MediaWiki:Sidebar":
* GROUP-SIDEBAR
This string will be replaced with the user's group sidebars.
Administrators must add a sidebar for each group on the page "MediaWiki:Sidebar/Group:<group>". If a user is in multiple groups, sidebars will be shown for each group. The group name listed here should be as expressed in LocalSettings.php, so "MediaWiki:Sidebar/Group:sysop", not "MediaWiki:Sidebar/Group:Administrator" or "MediaWiki:Sidebar/Group:Administrators".
Category sidebars
$wgDynamicSidebarUseCategories
must be enabled, then an administrator must add the following on the page "MediaWiki:Sidebar":
* CATEGORY-SIDEBAR
This string will be replaced with the sidebars of the categories on the user's userpage.
Administrators must add a sidebar for each category at "MediaWiki:Sidebar/Category:<category>". If a user's userpage has multiple categories, sidebars will be shown for each category. Users can add sidebars by adding a category to their userpage.
Possible issues
If the Dynamic sidebar doesn't appear or the menu is not collapsible then you need install the CollapsibleVector (link below):
See also
![]() | This extension is included in the following packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
- Stable extensions/de-formal
- Skin extensions/de-formal
- Personalization extensions/de-formal
- GPL licensed extensions/de-formal
- Extensions in Wikimedia version control/de-formal
- SidebarBeforeOutput extensions/de-formal
- All extensions/de-formal
- Extensions included in Miraheze/de-formal
- Menu extensions/de-formal