Open main menu

Extension:MakeWiki

MediaWiki extensions manual
OOjs UI icon advanced.svg
MakeWiki
Release status: beta
Description Creates a special page that when used with SimpleFarm allows wiki users to create new wikis.
Author(s) (Inquisitor Ehrensteintalk)
Latest version 0.1
MediaWiki 1.21
PHP 5.4
License GNU General Public License
Download example/file.php
Translate the MakeWiki extension if it is available at translatewiki.net
Check usage and version matrix.

I'm working on an extension for WikiHub that will allow users to create new wikis from a special page for their convenience.

I'm working on a script here that can handle the new wiki creation.

I've also outlined the features of the extension on my development website and plan to include a method of tracking what wikis have been created and wiki creation by user. I don't think this will be implemented as a standard MediaWiki log, but as a database query from a special page that will gather all wikis created by a given user or by all users.

To simplify tracking of wiki creation, I will make the special page only accessible from a central wiki on the farm that will be designated as the main wiki where new wikis can be created from. For some farms this could be the community or meta wiki.

InstallationEdit

This extension will require SimpleFarm in order to work, as it extends the functionality of that extension.


  • Download and place the file(s) in a directory called MakeWiki in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/MakeWiki/MakeWiki.php";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parametersEdit

The extension will need to be configured to use the database prefix of the wiki farm. It must use a database prefix with this extension in order to support MySQL users with a prefix wildcard setup so that they can access all wikis on the farm when they are created.

User rightsEdit

There will be a user right for created wikis, which will be assigned to all registered users. Users will need to register in order to track wiki creation and prevent spam. There will also be rights for accessing the list of wikis along with user names and personal information.

See alsoEdit