Extension:Uniwiki Auto Create Category Pages

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Uniwiki Auto Create Category Pages

Release status: experimental

Implementation Page action
Description Create stub Category pages automatically
Author(s) Merrick Schaefer,
Mark Johnston,
Evan Wheeler,
Adam Mckaig (Uniwikitalk)
Last version 0.1 (2008-08-01)
MediaWiki 1.12.0
License GPLv3
Download From Subversion
Hooks used
ArticleSaveComplete
Extension (Results)
1.13.5 1.14.0 trunk
r43900
MediaWiki 1.13.1 - - Yes
1.14.0 - - -
trunk - - -
Configure Supported from 1.15.
MediaWiki Testing
Check usage and version matrix
Bugs: list open list all report

Contents

What can this extension do? [edit]

Automatically creates stub pages for non-existent categories as soon as they are linked to, avoiding the confusing default behavior of "There is currently no text in this page..." or redirecting to the edit page.

Installation [edit]

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/AutoCreateCategoryPages

Add the following to LocalSettings.php:

require_once("$IP/extensions/uniwiki/AutoCreateCategoryPages/AutoCreateCategoryPages.php");

To make it run on Mediawiki 1.18, a call signature needs to be changed, see discussion page.

Installing the entire Uniwiki bundle [edit]

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");

Internationalizing Uniwiki extensions [edit]

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.

See also [edit]

Sites using uniwiki extensions
Other extensions from the Uniwiki bundle