MediaWiki is a collaboration and documentation platform brought to you by a vibrant community.
The MediaWiki software is used by tens of thousands of websites and thousands of companies and organizations. It powers Wikipedia and also this website. MediaWiki helps you collect and organize knowledge and make it available to people. It’s powerful, multilingual, free and open, extensible, customizable, reliable, and free of charge. Find out more and if MediaWiki is right for you.
Step1: Choose download zip:
Microsoft SQL Server and Oracle Database, HHVM and PHP 7.0 and 7.1 support has been removed since MediaWiki 1.34.
1. Alternatives to manual installation
Some users may prefer to skip manual installation by using a pre-integrated MediaWiki software appliance or hosting services; repositories of some distros also increasingly offer packages for MediaWiki, with different degrees of frequency and extensions coverage (e.g. Debian, Ubuntu, Fedora, Gentoo).
Step 2: Choose extract here:
2 . User manual link:
3.Manually Installing MediaWiki:
- First, Create a subdomain in the cPanel Domains section.
- Create a database and database user. Add the database user to the database and save the Username, Password, and Database name in a notepad or other editor to reference it later. This will be needed to set up the Mediawiki program.
- Upload the mediawiki-1.20.2.tar.gz file through the cPanel and extract the file to the server, or upload the contents of the mediawiki-1.20.2 folder, that is extracted to your local computer, to the directory for the subdomain using ftp.
Visit the subdomain in your web browser. Initially the MediaWiki 1.20.2 screen should load.
Click set up the wiki
Next, the MediaWiki 1.20.2 installation screen will load. Select the language for the site and click Continue.
On the Welcome to MediaWiki page, there may be some warnings on the set up. For example the following error may display:
Warning: Could not find APC, XCache or WinCache.
Object caching is not enabled.
Ignore the warnings. The APC warning is a caching for PHP on the server. Shared servers do not have this. If you are an a VPS or dedicated server, you can have your server set up to run APC. At this point this is not critical.
As long as the installation says “The environment has been checked. You can install MediaWiki” in Green, you can continue with the installation.
Next the page for configuring the database will display. Here is where you will enter the database information that you saved when setting up the database in your cPanel. Enter the database connection settings. For example:
Database host: localhost
Database name: cpaneluser_databasename
Database table Prefix: This can be left blank or set to anything. ( ie. mw_ or wiki_ )
Database username: cpaneluser_username
Database password: The password you set when creating the user in cPanel
Next, The Database settings page will show. Select InnoDB and Binary.
If there is any InnoDB issues the site will show the error in the snapshot stating,
“Warning you selected MyISAM as a storage engine for MySQL, which is not recommended for use with MediaWiki”. If this occurs, contact your host to fix InnoDB on your server.
InnoDB is recommended by MediaWiki. MyISAM is discouraged due to stability problems.
Binary mode allows mediawiki to use the full range of Unicode characters, whereas UTF-8 mode will only store basic language encoding. MediaWiki recommends binary mode.
The Name page will load, requiring the basic Wiki admin login and Site name set up. Fill in the fields for the administrator account.
VERY IMPORTANT! The “Your Name” Field is actually the user name for logging into MediaWiki. It is VERY CRITICAL that the username for the login is correct. After setting up MediaWiki, it is VERY difficult to change the username for the Admin login.
Select the I’m bored already, just install the wiki radio button and click Continue.
Confirm the installation by clicking Continue.
The install screen will load next verifying that the files were installed correctly. Click Continue.
When the Complete! screen pops up, you will be prompted to save the LocalSettings.php page for uploading to your server. This file is required for the MediaWiki site to function. Save the LocalSettings.php file and upload it to your MediaWiki directory.
Congratulations, you have installed MediaWiki successfully.
Some features of MediaWiki
|Database-based||Instead of storing databases in text files, MediaWiki uses MySQL or PostgreSQL. This allows all revisions of the article to be kept.|
|Multilingual support||Currently, MediaWiki supports 140 languages.|
|Editability||MediaWiki’s largest addition — Wikipedia — has over 1 million articles.|
|Partial Editing||Users can edit article sections instead of having to download the entire article.|
|RSS||Users can track changes to specific content through RSS feeds.|
|Special report pages||Users can locate Web site statistics, user lists, newly created articles, all pages by title, favorite articles, Popular articles and other reports help them navigate through the content.
Discussion lists Users can follow and participate in discussions related to the content of an article through the talk page.
|Discussion lists||Users can follow and participate in discussions related to the content of an article through the talk page.|
|Side-by-side discrimination||Users can compare the modifications indicated next to those highlighted in bold.|
Every page on a MediaWiki site not only has information to show you but also allows you to move to other pages. This is called “navigation”.
To help you navigate, every page on MediaWiki, has three main navigation elements:
- The sidebar gives you access to important pages in the wiki such as recent changes or upload file. MediaWiki requires you to log in before seeing all of the sidebar options.
- Links (often called tabs) which relate to the page currently displayed: its associated discussion page, the version history, and – most notably – the edit link.
- User links; as an anonymous user, you’ll see a link to create an account or log in. As a logged-in user you have a collection of personal links, including ones to your user page and preferences.
In addition to the standard navigation elements that each page has, a page will have its own unique information which appears in the larger main area of the page. Generally within this information will be links to other pages.
This page mainly documents the MonoBook and Vector skins. Appearances may be different when using other skins.
Example sidebar, shown along the page
The sidebar is displayed on the edge of the page below the site logo (if using the MonoBook or Vector skin). This sidebar gives you access to important pages in the wiki such as Recent Changes or Upload File.
Clicking on the logo brings you back to the main page of the wiki. The links in the navigation section just below will take you to important pages of the wiki. These links can be configured by site administrators.
The tools contains a selection of links which change depending on what type of page you are viewing.
On all pages (except special pages)
- “What links here” takes you to a special page that lists the pages on that wiki which contain a link to the current page. This is helpful when you are looking for pages of related information. The “what links here” information can also be useful when you are refactoring wiki pages and need to check whether links to this page are still relevant after changes in the current page.
- The “related changes” tool lists all recent changes in the pages linked to from the current page. Recent changes to all relevant template pages are included in the resulting page list. The “Hide minor edits” option that can be set in the user preferences applies, among other things, to “related changes”.
On all pages (including special pages)
- “upload file” displays a special page that allows logged-in users to upload images and other files to the wiki. Uploaded files can be linked from or embedded in wiki pages. This link is not displayed if file uploading is not enabled.
Uploading files, viewing files on the server, including them in wiki pages and managing the uploaded files is discussed in the managing files section of this manual.
- The “special pages” tool lists the MediaWiki special pages. In MediaWiki terminology, a special page is one that presents information about the Wiki and/or allows access to administration activities for the wiki. For example, a list of users registered with the wiki, statistics about the wiki such as the number of pages and number of page edits, system logs, a list of orphaned pages, and so on. These special pages are commonly generated when the special page is loaded rather than being stored in the wiki database.
The function and use of the default special pages can be found in the special pages section of this manual.
Default page tabs at the top of the page
The page tabs are displayed at the top of the page to the right of the site logo (if using the MonoBook or Vector skin). These tabs allow you to perform actions or view pages that are related to the current page. The available default actions include: viewing, editing, and discussing the current page. The specific tabs displayed on your pages depend on whether or not you are logged into the wiki and whether you have sysop (administrator) privileges on the wiki. On special pages, only the namespace tab is displayed.
Default for all users
- “namespace” (page, help, special page, template, user page etc.)
- “edit” (may read “view source” if anonymous editing is disabled, the page is in the MediaWiki: namespace, or the page is protected)
Extra tabs for logged-in users
Extra tabs for sysops
Default user links at the top right of the page
The user links are displayed at the top far right of the page (if using the default Vector skin). These tabs allow the logged-in user to view and edit their user page and wiki preferences. Additionally, the user links allow the user to quickly access their contributions to the wiki and logout.
For anonymous users the user links is replaced by a link to the wiki login page or, if enabled by the site administrator, a link to your IP address and your IP address’s talk page.
This links to your user page which is where you can put information about yourself, store bits of information you want to remember or whatever else you fancy.
This links to your discussion page, where people can leave messages for you.
Allows you to change your personal site preferences.
A list of all pages that you are watching. Pages can be added to this list by clicking “watch” at the top of the page.
A list of all contributions you have made to the wiki.
Click this link to log out of the wiki.Buy us some coffee Thank You for your support as we work to give you the best of guides and articles.