Difference between revisions of "CustomSidebar"
From Wiki4Intranet
Line 1: | Line 1: | ||
− | + | {{Extension4info | |
+ | |name=CustomSidebar | ||
+ | |description en=Insertion of arbitrary wiki code into [[Mediawiki:Sidebar]] navigation panel. | ||
+ | |description ru=Размещение произвольного wiki-кода в [[Mediawiki:Sidebar]] — панели навигации, обычно находящуюся в левой части страницы. | ||
+ | |created=2012-05-05 | ||
+ | |included=2012-05-05 | ||
+ | |status=our | ||
+ | |useful=maybe | ||
+ | }} | ||
+ | {{ExtensionFromInfo|lang=en|name=CustomSidebar}} | ||
− | + | == Usage == | |
− | + | ||
− | == | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Allows to add blocks with custom wikitext to Mediawiki Sidebar. | Allows to add blocks with custom wikitext to Mediawiki Sidebar. | ||
− | + | First put <tt>require_once("$IP/extensions/CustomSidebar/CustomSidebar.php");</tt> into your <tt>LocalSettings.php</tt> (you don’t need this if using [[MediaWiki4Intranet]]). Then create [[MediaWiki:CustomSidebar]] page with following content: | |
<pre> | <pre> |
Latest revision as of 17:58, 24 April 2013
CustomSidebar is a MediaWiki extension.
- Main purpose: Insertion of arbitrary wiki code into Mediawiki:Sidebar navigation panel.
- Repository: https://github.com/mediawiki4intranet/CustomSidebar
- Homepage: http://wiki.4intra.net/CustomSidebar
- License: GPLv2.0+
- Created: 2012-05-05
- Our rating: May be useful (3)
Status for Mediawiki4Intranet distribution:
- Inclusion date: 2012-05-05
- Included version: newest available
- Improvement status: Created by MediaWiki4Intranet project
Usage
Allows to add blocks with custom wikitext to Mediawiki Sidebar.
First put require_once("$IP/extensions/CustomSidebar/CustomSidebar.php"); into your LocalSettings.php (you don’t need this if using MediaWiki4Intranet). Then create MediaWiki:CustomSidebar page with following content:
Pagename|Title
Title will be the title of block, and its content will be taken from MediaWiki:Pagename. Title can also be a localisation message name, then it will be translated.