Skip to content

Mikumikuer/VectorMenuSidebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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

requirement:Font-awesome

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 vectorskin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published