VOOZH about

URL: https://www.mediawiki.org/wiki/Extension:CustomMenu

⇱ Extension:CustomMenu - MediaWiki


Jump to content
From mediawiki.org
👁 Image
This extension is mainly supported in an external venue: BlueSpice Community Forum.
If you need help, you should post there, and not on the talk page.
MediaWiki extensions manual
👁 Image
CustomMenu
Release status: stable
👁 Image
Description Provides customizable menus
Author(s) Hallo Welt! GmbH
Maintainer(s) Hallo Welt! GmbH
Latest version -
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.43 (LTS)
Database changes Yes
  • $wgCustomMenuHeaderNumberOfMainEntries
  • $wgCustomMenuHeaderNumberOfLevels
  • $wgCustomMenuHeaderNumberOfSubEntries
  • $wgShowCustomMenuHeader
Licence GNU General Public License 3.0 only
Download
Translate the CustomMenu extension if it is available at translatewiki.net
👁 Image
 Community Forum


CustomMenu is implemented as header bar with drop-down menu items. It appears as collapsible menu above the top navigation bar. The HTML output is an unordered list.

Usage / features

[edit]

Menu items can be modified by editing the MediaWiki:CustomMenu/Header.


Example: A Dropdown with link to the Wiki pages 'Intranet' and 'Demo'. The visible label of the menu is 'Hello World'. The dropdown contains 'Our Intranet' and 'Demo':

* BlueSpice |https://bluespice.com
* Wikimedia|
** menuMediaWiki | https://mediawiki.org| MediaWiki
** menuWikipedia | https://wikipedia.org | Wikipedia
** menuCommons | https://commons.wikimedia.org | Wikimedia Commons
* menuVersion | Special:Version | Version

The html ID can be used to apply CSS rules in MediaWiki:Common.css.


External links

[edit]



Installation

[edit]

.git) as a "vcs repository" and the package name (mediawiki/CustomMenu) and version to the require section of your composer.local.json. Example:

{
"repositories":[
{
"type":"vcs",
"url":"https://github.com/wikimedia/mediawiki-extensions-CustomMenu
.git"
}
],
"require":{
"mediawiki/CustomMenu":"CustomMenu"
}
}
  • Run the following command in your MediaWiki installation path
composer update --no-dev
wfLoadExtension( 'CustomMenu' );

External Links

[edit]

This extension was originally made for BlueSpice. BlueSpice is a MediaWiki distribution for enterprises and organizations. It enhances MediaWiki, in particular in the areas of quality management, process support, administration, editing and security. This extension is bundled with BlueSpice free.

BlueSpice: