Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

CustomSidebar

 
Line 7: Line 7:
===Standard MediaWiki:Sidebar syntax===
===Standard MediaWiki:Sidebar syntax===
-
You may specify the main layout of the sidebar using standard [[Manual:Interface/Sidebar|sidebar]] syntax.
+
You may specify the main layout of the sidebar using standard [[mw:Manual:Interface/Sidebar|sidebar]] syntax.
'''Example:'''
'''Example:'''
Line 23: Line 23:
===Magic words and Template Support===
===Magic words and Template Support===
-
Version 0.3.0 adds full [[Help:Templates|template]] support.
+
Version 0.3.0 adds full [[mw:Help:Templates|template]] support.
-
Version 0.2.0 adds [[Manual:Magic words|Magic words]] and '''simple''' [[Help:Templates|template]].
+
Version 0.2.0 adds [[mw:Manual:Magic words|Magic words]] and '''simple''' [[mw:Help:Templates|template]].
====Magic Words====
====Magic Words====
-
You may use any of the default [[Manual:Magic words|Magic words]] within the sidebar text, or custom magic words listed below:  
+
You may use any of the default [[mw:Manual:Magic words|Magic words]] within the sidebar text, or custom magic words listed below:  
'''Custom Magic Words'''
'''Custom Magic Words'''
Line 83: Line 83:
  $wgDefaultSideBarGroupText['sysop'] = "Template:CustomSidebarSysop";
  $wgDefaultSideBarGroupText['sysop'] = "Template:CustomSidebarSysop";
 +
 +
== Testing Area ==
 +
 +
Anonymous users are welcome to try out the sidebar extension in the [[Sandbox:Sidebar|sandbox area]].
==Downloads==
==Downloads==
Line 92: Line 96:
To install this extension:
To install this extension:
# Place CustomSidebar.php in the folder ''yourwikifolder''/extensions/CustomSidebar/  
# Place CustomSidebar.php in the folder ''yourwikifolder''/extensions/CustomSidebar/  
-
# Add the following to [[Manual:LocalSettings.php|LocalSettings.php]]:
+
# Add the following to [[mw:Manual:LocalSettings.php|LocalSettings.php]]:
<source lang="php">
<source lang="php">
require_once("$IP/extensions/CustomSidebar/CustomSidebar.php");
require_once("$IP/extensions/CustomSidebar/CustomSidebar.php");

Current revision as of 01:41, 7 September 2009

Winbinder Projects