Skip to content

MooncellWiki/mediawiki-extension-VectorMenuSidebar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

To install the extension, place the entire VectorMenuSidebar directory within your MediaWiki extensions directory, then add the following line to your LocalSettings.php file:

wfLoadExtension( 'VectorMenuSidebar' );

What is this extension

Create your own wikitext based sidebar for Vector skin

add $wgVectorMenuSidebar = true; in LocalSettings.php to activate MenuSidebar.

Sidebar style is built in backend, edit ./resources/MenuSidebar.css to customize MenuSidebar.

example for Mediawiki:MenuSidebar by default style settings:

MenuTitle #1
* '''NotLink Item must use Boldtext tag''' 
** [externalLink Item]
*** [[Item]]
MenuTitle #2
* [[Link Item]]
** '''NotLink Item'''
*** [[Item]]
**** [[item Level can be infinite]]
{{#Parser Function Item}}

Example site with MenuSidebar: www.gfwiki.org

Custom styles

add your own style in Mediawiki:MenuSidebar.css

then apply $wgEnableVMSCustomStyle = true; in LocalSettings.php to activate,

Notice :applying custom styles will disable default styles.

Content after Sidebar

add content based on wikitext in Mediawiki:MenuSidebarAfter and add $wgShowAfterMenuSidebar = true;in LocalSettings.php to activate,

About

Custom Mediawiki sidebar for Skin Vector

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 63.5%
  • PHP 36.5%