MediaWiki is an open-source publishing platform that can be used for creating a collaborative document repository. It’s the software that drives the Wikipedia website. Setting up a MediaWiki install on your own domain can be done by following these steps:
- To get started you’ll need to login to your control panel (create.ou.edu) using your OUNetID (4×4) and password.
- Once logged in you’ll be at the homepage of your control panel. Navigate the Web Applications section of the cPanel and click View More for the Featured Applications. Then find and select MediaWiki.
- The next page gives you more information about the MediaWiki software. To begin the install, click install this application in the upper-right hand corner.
- On the next page the installer will ask for some information about this install. The first thing you’ll want to do is decide where to install it. If you’re wanting to install MediaWiki on your main (the root) domain, you can leave the directory area empty. If you created a subdomain, you can select it from the dropdown menu. You also have the option of installing MediaWiki in a subfolder by typing in the folder name in the Directory field. In this instance, we have opted to install it in a subdomain called mediawiki.createoutestdomain.com. Click here for more information about subdomains and subfolders.(By default the installer will automatically backup your MediaWiki website and update it anytime a new version comes out. While we recommend you keep this option, it is possible to only do minor updates, or turn them off completely. The installer will also create a database for you automatically, but if you’ve already created one for this website you can choose Let me manage the database settings and enter the details.)
- Finally, you’ll need to create an initial username and password for the WordPress install. Enter that information in final section and click Install (Note: A default username and password are provided for you.
The installer will take just a few moments to install WordPress and a progress bar will keep you updated. When it is complete you will see a link to your new MediaWiki site as well as a link to the backend administrative section for your MediaWiki site.
Congratulations, you have now completed the installation of MediaWiki! You can now start to create collaborative documents on your own domain.
The default Mediawiki installed has been customized to make it a bit harder for spammers to overwhelm wikis with illegitimate content and comments. This is done by modifying the LocalSettings.php file (a file that is included in every install in which it is possible to provide configurations details).
By default, Mediawiki allows anonymous users to create pages and edit pages in the wiki. The modifications change this in the following ways:
- Anonymous users cannot edit existing pages
- Anonymous users cannot create pages
- Registered users must click the confirmation link in the registration email in order to edit or create pages
This approach should drastically reduce unsolicited content and comments on Mediawiki installations. One further step that administrator might take is to turn registration off after a predetermined amount of time. Users must create accounts by this date; after that, the settings are changed so that registrations are no longer open.
To add this setting, you must edit LocalSettings.php in your Mediawiki install:
- Login to cPanel and browse to your File Manager.
- In the File Manager, browser to the folder within publichtml that contains your Mediawiki install. If you installed the wiki at the root of your domain, you won’t need to go any further than publichtml. If you installed the wiki in a subdomain or subdirectory, you’ll need to find the directory that is associated with that space.
- Locate LocalSettings.php and click the Edit or Code Editor icon at the top of the File Manager.
- Browse to the bottom of the document, and locate the custom settings that were added during the Mediawiki install and the line “$wgGroupPermissions[‘*’][‘createaccount’] = false;”