Extension:Uniwiki Javascript
From MediaWiki.org
|
Release status: experimental |
||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Implementation | Skin | |||||||||||||||||||||||||||||||
| Description | Adds uniwiki.js to each page (which currently just provides lightweight i18n support in Javascript), and serves as a placeholder for future Javascript code shared between Uniwiki extensions | |||||||||||||||||||||||||||||||
| 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?
Nothing, by itself. It provides a foundation on which i18n-via-Javascript support is implemented by other Uniwiki extensions. It will probably be expanded in the future.
[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/Javascript
Add the following to LocalSettings.php:
require_once("$IP/extensions/uniwiki/Javascript/Javascript.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
Other extensions from the Uniwiki bundle:
- Generic Edit Page
- Uniwiki Toolbar
- Auto Create Category Pages
- Category Box at Top
- Layouts
- Authors
- Uniwiki Javascript
- CSS Hooks
- CreatePage
- MooTools 1.2 Core
Sites using uniwiki extensions: