Manual:Using MediaWiki as a content management system - MediaWiki (2024)

Manual:Using MediaWiki as a content management system - MediaWiki (1)

This page is outdated.

It was written for an older version of MediaWiki and may not apply to the most recent version. If you have checked or updated this page and found the content to be suitable, please remove this notice. See the talk page for a possible discussion on this.

MediaWiki can be used as a "CMS" content management system, e.g. if you want to create a bliki (combination blog/wiki). Before going this route, you may want to consider factors involved in deciding whether to use a wiki as your website type.

Advantages and disadvantages[edit]

Using MediaWiki as a CMS might be an appealing option if you are familiar with the ins and outs of editing MediaWiki and administering MediaWiki installations, but lack the time or inclination to learn how to use other CMS software (such as Wordpress, Joomla or Drupal). It might also be beneficial if you already have some pages written in MediaWiki markup that you want to import into your site.

MediaWiki was designed for openness and mass collaboration, though, rather than for single-user blogging. There are fewer MediaWiki installations than there are other CMS installations, because one MediaWiki installation can often serve hundreds or thousands of users, while typically there is one Wordpress installation per person or several persons. Therefore, arguably not as much attention has been paid to making MediaWiki easy for the non-technically-savvy to administer. For example, MediaWiki lacks the sort of advanced extension management platform offered by Wordpress. If you primarily just need a CMS, and only have limited need for wiki-style collaborative tools, an alternative is to get a CMS and install an extension that will provide those capabilities. See for example the DokuWiki extension to Joomla[dead link]. There are also some wiki software packages, such as Confluence, Foswiki, SharePoint, Tiki Wiki CMS Groupware, TWiki, and XWiki, that have blogging functionality either built into their cores or available through plugins.

One possibility, if you like Visual Basic, is to combine MediaWiki with vbadvanced, vbulletin, mediawiki, and vbwikipro. Vbulletin allows you to have forums and blogs, along with e-commerce possibilities and social networking. VBAdvanced handles all your CMS issues, add modules, and allow you to integrate all types of pages (such as flash, php, and html apps). Then you can add MediaWiki and the vbulletin bridge, which would be vbwikipro.

Extensions[edit]

Some extensions you might want to use are:

  • Extension:Semantic MediaWiki - allows you to define and query data from within the wikis pages. You can add data like date, tags, author etc. to your wiki articles and query for these articles.

Settings[edit]

LocalSettings.php[edit]

Here are some configuration settings you may want to adjust if you're interested in using MediaWiki as a content management system (particularly a single-user CMS).

#Stricter than normal settings:#prevent anonymous users from registering$wgGroupPermissions['*']['createaccount'] = false; #prevent anonymous users from editing$wgGroupPermissions['*']['edit'] = false;$wgGroupPermissions['*']['createpage'] = false; #disable section edit links for anonymous viewers$wgDefaultUserOptions['editsection'] = false; #disable RSS/atom change feeds$wgFeed = false; #Looser than normal settings: #disable 'nofollow' on external links$wgNoFollowLinks = false; #allow uploading of non-images$wgStrictFileExtensions = false;$wgCheckFileExtensions = false;$wgVerifyMimeType = false; #disable anti-vandalism patrols$wgUseNPPatrol = false;$wgUseRCPatrol = false; #allow raw HTML in <html>...</html> blocks$wgRawHtml = true; #allow more liberal redirecting$wgMaxRedirects = 42;$wgFixDoubleRedirects = true; #Other: #unless your site is multilingual..$wgHideInterlanguageLinks = true; #unless you use the Universal Edit Button..$wgUniversalEditButton = false;

robots.txt[edit]

You may also want to disable certain pages in your robots.txt file for search engine optimization purposes:

User-agent: *Disallow: /wiki/Special:RandomDisallow: /wiki/Special%3ARandomDisallow: /wiki/Special:SearchDisallow: /wiki/Special%3ASearch

MediaWiki:Common.css[edit]

Some settings for your MediaWiki:Common.css

#mw-head-base,#mw-page-base,#mw-head,#p-namespaces,#footer,.portal h5,#p-tb,#searchGoButton,#mw-searchButton {display: none; /* remove all tools and wikistuff */}/* start customizing */body {background-color: #c3dee9; /* example for a new color */padding: 260px 0 0 60px; /* example for a new proportion */}#p-logo {top: -180px;}

MediaWiki:Common.js[edit]

Some settings for your MediaWiki:Common.js

$(document).ready(function() { if ( wgUserName != null ) { // reappearance wikistuff like editbutton for your website staff $('#mw-head').css({ "display": "block" }); }});

See also[edit]

Manual:Using MediaWiki as a content management system - MediaWiki (2024)

FAQs

Is MediaWiki a content management system? ›

Besides its usage on Wikimedia sites, MediaWiki has been used as a knowledge management and content management system on websites such as Fandom, wikiHow and major internal installations like Intellipedia and Diplopedia.

What are the use cases for MediaWiki? ›

The most obvious use cases for MediaWiki in a business environment are: Process Documentation and Analytics. Operational Standards Storage. Project Documentation.

What is MediaWiki used for? ›

MediaWiki is the free open-source wiki software used to power Wikipedia and thousands of other wikis.

How do I get started with MediaWiki? ›

  1. Check the installation requirements.
  2. Download the MediaWiki software.
  3. Extract the MediaWiki software.
  4. Upload files to your web server.
  5. Set up the database.
  6. Run the installation script.
  7. Further configuration.
  8. Keep up to date!
Apr 11, 2024

What are three content management systems? ›

WordPress. Joomla. Drupal. Magento (e-commerce)

What is the difference between DokuWiki and MediaWiki? ›

The basic difference between these tools is their goal. MediaWiki is meant for large and complicated wikis and DokuWiki is meant for smaller, simpler wikis. Of course, you can use MediaWiki for a small wiki and people have used DokuWiki for larger installs also.

What are the disadvantages of MediaWiki? ›

MediaWiki has the advantage of being an open source system and thus free. It also allows cooperation on a large scale. Yet this software is not suitable for use as an enterprise wiki. Its main drawback is the lack of rights management, which plays a crucial role in collaboration within an enterprise wiki.

Is MediaWiki still being used? ›

MediaWiki is a particular wiki engine software developed for and used by Wikipedia and the other Wikimedia projects. MediaWiki is freely available for others to use (and improve), and it is in use by all sorts of projects and organizations around the world.

How do I use MediaWiki templates? ›

To use the template in a page, type "{{header}}". What marks the use of the template are the "{" and "}" characters, also known as curly brackets. To replace the name of the template with its contents directly in the source wikitext before the text is saved, use "{{subst:header}}".

Is MediaWiki easy to use? ›

IMO - although mediawiki is a hugely useful software package, it is also one of the most difficult for a casual user to set up and manage – particularly for a small business or for personal use.

What is the best database for MediaWiki? ›

The database most commonly used with MediaWiki is MySQL . See Phabricator for a list of issues. MediaWiki requires PostgreSQL 10.0 or later, and PG database support enabled in PHP.

What is the best MediaWiki theme? ›

Top MediaWiki Themes
Highlights
#1 ChameleonHighly customizable Uses Bootstrap
#2 MedikGreat out of the box Classic left-hand sidebar
#3 TimelessGreat out of the box Default ProWiki theme
#4 Vector 2022Default MediaWiki theme The new Wikipedia theme
5 more rows
Jan 11, 2024

How do I manage users on MediaWiki? ›

Go to Special Pages > User rights management and enter the username of the person to be added (Note: if you're not sure you can also go to Special Pages > User List to see a listing of everyone's that has logged into the site.)

What websites use MediaWiki? ›

Websites using MediaWiki
#WebsiteTraffic
1fandom.com50%
2wikimedia.org6%
3wiktionary.org5%
4wikihow.com2%
6 more rows

Where are users stored in MediaWiki? ›

The user table is where MediaWiki stores information about users.

What is considered a content management system? ›

A content management system helps you create, manage, and publish content on the web. It also helps keep content organized and accessible so it can be used and repurposed effectively. There are various kinds of content management systems available—from cloud-based to a headless CMS—to meet every audience need.

Which of the following is an example of a content management system? ›

Some common categories of CMS include: Web CMS: A web CMS helps you create and manage websites. It usually includes tools for managing website navigation, design, and other aspects of the user experience. Examples include WordPress, Webflow, and Wix.

What are the five content management system or CMS? ›

The five main types of CMS are: Component Content Management Systems (CCMS) Enterprise Content Management Systems (ECM) Web Content Management Systems (WCMS)

What are content management systems CMS examples? ›

What are some examples of a CMS? While there are hundreds of CMS platforms each with their own unique functionality, some of the best and most popular CMS providers are: Wordpress. Drupal.

Top Articles
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 6442

Rating: 4.3 / 5 (74 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.