Extension:Uniwiki CSS Hooks
Uniwiki CSS Hooks Release status: experimental |
||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Implementation | Skin | |||||||||||||||||||||||||||||||
Description | Add some CSS hooks to the HTML output of articles, for better styling | |||||||||||||||||||||||||||||||
Author(s) | Merrick Schaefer, Mark Johnston, Evan Wheeler, Adam Mckaig (Uniwikitalk) |
|||||||||||||||||||||||||||||||
Last version | 0.1 (2008-07-18) | |||||||||||||||||||||||||||||||
MediaWiki | 1.12.0 | |||||||||||||||||||||||||||||||
License | GPLv3 | |||||||||||||||||||||||||||||||
Download | From Subversion | |||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
Check usage (experimental) |
Contents |
[edit] What can this extension do?
Wraps each section of articles in a <div> with some CSS hooks, to make the output a little more flexible when developing your own skin. Will probably be enhanced with more hooks in future, as the need arises.
[edit] Installation
Create a subdirectory in your extensions directory:
(we do this to make it easy to distribute all Uniwiki extensions as a bundle)
cd /your/wiki/extensions mkdir uniwiki
Download the extension using subversion:
cd /your/wiki/extensions/uniwiki svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/uniwiki/CssHooks
Add the following to LocalSettings.php:
require_once("$IP/extensions/uniwiki/CssHooks/CssHooks.php");
[edit] Installing the entire Uniwiki bundle
Download all of the Uniwiki extensions using Subversion:
cd /your/wiki/extensions svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/uniwiki uniwiki
Add the following to LocalSettings.php:
# uniwiki # ======= $uw = "$IP/extensions/uniwiki"; require_once("$uw/CssHooks/CssHooks.php"); require_once("$uw/Javascript/Javascript.php"); require_once("$uw/MooTools12core/MooTools12core.php"); require_once("$uw/AutoCreateCategoryPages/AutoCreateCategoryPages.php"); require_once("$uw/GenericEditPage/GenericEditPage.php"); require_once("$uw/CatBoxAtTop/CatBoxAtTop.php"); require_once("$uw/CustomToolbar/CustomToolbar.php"); require_once("$uw/Layouts/Layouts.php"); require_once("$uw/Authors/Authors.php"); require_once("$uw/CreatePage/CreatePage.php");
[edit] Internationalizing Uniwiki extensions
The Uniwiki extensions are available in several languages already, and it is very easy to add a new language. Each extension that has interface text includes a .i18n file with the internationalized system messages. Follow the instructions here to add the new language to the file.
[edit] See also
- Sites using uniwiki extensions
- Wikimini - Encyclopedia written by children
- Appropedia
- iAIDS wiki
- Metia
- WikiMama - Photo- and Video- driven Wiki Recipes
- Other extensions from the Uniwiki bundle