What is MediaWiki?
A wiki is a website that many people can edit together. MediaWiki is free software for building one. It runs on PHP and stores its pages in a MySQL database. A database is an organised store for your data.
Before you start
- Your domain should point to your hosting account.
- Log in to your hosting control panel. Your welcome email has the login details. You can also sign in to the client area.
Option 1: Use an auto-installer
Many control panels have an installer such as Softaculous. Ask Hostvento support whether it is on your plan.
- Open the installer in your control panel.
- Search for MediaWiki.
- Click Install.
- Choose your domain. Leave the folder box empty to install on the main address.
- Enter a wiki name, an admin username, a strong password and your email.
- Click Install and wait for the success message.
Option 2: Install by hand
- Download MediaWiki from the official MediaWiki website. You get a .tar.gz file.
- In your control panel, open File Manager.
- Open the folder for your site, often called
public_html. - Click Upload and add the file.
- Right-click the file and choose Extract.
- Move the files out of the extracted folder into your site folder, if you want the wiki on the main address.
- Go back to the control panel and open MySQL Databases.
- Create a new database, a new user and a strong password. Add the user to the database with all privileges.
- Write down the database name, user and password.
- Open your site address in a browser. The setup page appears.
- Choose your language and click Continue.
- Enter the database details. The host is usually
localhost. - Enter your wiki name and an admin account.
- Finish the steps. The installer offers a file called
LocalSettings.phpto download. - Upload
LocalSettings.phpto the main MediaWiki folder. - Open your site again. Your wiki is ready.
Tip: Keep
LocalSettings.php private. It holds your database password. Take a backup of it.After install
- Log in with your admin account and add a first page.
- Consider limiting who may edit, so spam does not fill the wiki.
- Update MediaWiki when new versions appear.
Quick recap
- MediaWiki is free wiki software that needs PHP and a database.
- An auto-installer is the easiest way.
- Manual install means upload, create a database, run the setup page, then upload
LocalSettings.php. - Keep your settings file private.