User Tools

Site Tools



Installing MediaWiki

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:

  1. To get started you'll need to login to your control panel by going to the UMW Domains homepage and clicking Login.

    umwdomains homepage

  2. Here you'll login with the username and password that was provided to you with the Welcome email during the signup process. log in

  3. Once logged in you'll be at the homepage of your control panel.The easiest way to navigate the panel is using the search feature in the top right panel. Let's use it now to search for MediaWiki.

    UMW Domains Control Panel Home

  4. As you can see when you search a term, the corresponding section is shown. Click the MediaWiki button.

    cPanel MediaWiki

  5. The next page gives you more information about the MediaWiki software. To begin the install, click install this application in the upper-righthand corner.

    MediaWiki Installatron Info Page

  6. 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 directory called "mediawiki". Click here for more information about subdomains and subfolders.

    MediaWiki Installatron Location

  7. 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.

  8. 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)

    MediaWiki Installatron Settings

  9. 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.

    MediaWiki Installatron My Applications

  10. Congratulations, you have now completed the installation of MediaWiki! You can now start to create collaborative documents on your own domain.

    MediaWiki Screen

Managing Permissions

The default Mediawiki install on Domain of One's Own 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 DoOO modifications changes this in the following way:

  • 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 faculty member (who might be using a Mediawiki for a course) might take is to turn registration off after a predetermined amount of time. Students 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:

1. Login to cPanel and browse to your File Manager. 2. In the File Manager, browser to the folder within public_html 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 public_html. If you installed the wiki in a subdomain or subdirectory, you'll need to find the directory that is associated with that space. 3. Locate LocalSettings.php and click the Edit or Code Editor icon at the top of the File Manager. 4. 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;” 11953831465_8e29aea940_z.jpg

other_platforms/mediawiki.txt · Last modified: 2015/06/04 19:25 (external edit)