Install MediaWiki with WYSIWYG extension

By | October 5, 2013

mediawiki_linuxbrainboxMediaWiki is a free Open Source server-based software  designed to run on a large server farm for a website that gets millions of hits per day. MediaWiki is extremely powerful, scalable software and excellent for wiki implementation.

It uses PHP to process & display data stored in a database.The Pages inside it use MediaWiki’s wikitext format, hence users without knowledge of XHTML or CSS can easily edit them.When a user submits an edit to a page, MediaWiki writes it to the database, but without deleting the previous versions of the page, thus allowing easy reverts in case of human error or spamming. MediaWiki can also manage image and multimedia files which are stored in the filesystem. For large wikis with lots of users, MediaWiki has features to supports caching as well.

WYSIWYG is  short name  for “What You See Is What You Get”. In Information technology, a WYSIWYG editor is a system in which content (text and graphics) displayed onscreen while you are editing a page/post/text or graphics appears  closely corresponding to its appearance when published as a final product. example a printed document, web page, or slide presentation.

The advantage of WYSIWYG extension can help the user view something very similar to the end result while the document is being created. In general WYSIWYG has the ability to directly manipulate the layout of a document without having to type or remember names of layout commands

Steps to Install Mediawiki with WYSIWYG Extension:

Install the stable mediawiki-1.21.2  by downloading from the URL

Download the good working and tested WYSIWYG extenstion for mediawiki-1.21.2  from the following URL


Upload the downloaded zip file into the server’s mediawiki extension folder and extract it over there.

Edit the LocalSettings.php file at the document root of mediawiki and add the below 3 lines at the end of the file



$wgShowExceptionDetails = true;

Finally edit the CKeditor.body.php file and search for the word “wfLoadExtensionMessages” and comment out that lines.

Enjoy the mediawiki with WYSIWYG working extension 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *