Book Image

MediaWiki 1.1 Beginner's Guide

By : Jeff Orlof, Mizanur Rahman
Book Image

MediaWiki 1.1 Beginner's Guide

By: Jeff Orlof, Mizanur Rahman

Overview of this book

<p>MediaWiki is the free, open-source wiki engine software that powers Wikipedia and many of the other popular wikis across the Web. Written in PHP, it possesses many features that make it the engine of choice for large collaborative wikis: flexible markup, comprehensive user management, multimedia handling, and more. Whether you are creating a public wiki for open contributions, a private wiki for collaborating within your work team or group of friends, or even a wiki for personal use, this book will provide you with all the essential steps you require to achieve this.<br /><br />This book covers how to administer users, back up and restore content safely, migrate your installation to another server or database, and even make hacks to the code. From the installation process to customizing the pages, you will learn what it takes to run a well designed, secure MediaWiki site.<br /><br />Throughout the course of this book, you will see the many different ways that MediaWiki can be used on the Web. This book covers the open source MediaWiki wiki engine from installation and getting started through structuring your collaborative web site, advanced formatting, images, and multimedia to migrating your installation and creating new MediWiki templates. While you will be introduced to the many uses of a wiki, you will also be taken through step-by-step exercises that will help you master the many administrative tasks associated with running and securing your wiki. You will learn how to prevent unauthorized edits being made to content, how to prevent spam, how to back up and restore your wiki, how to configure its look and functionality to suit your needs, and much more.</p>
Table of Contents (21 chapters)
MediaWiki 1.1
Credits
About the Authors
About the Reviewers
Preface

Security


Protect your content and data from spam and vandalism with extensions designed to help better secure your wiki.

AuthorProtect

In the EditOwn extension, the sysop made the decision that only authors could edit their own work. AuthorProtect leaves this decision in the hands of the individual authors. They can choose to protect a page that they create by blocking everyone but themselves and the sysop from editing the page, or they can leave the page alone and let any user make edits.

The option to protect a page is done on a page-by-page basis. Installing this extension does not protect every page on the wiki by default.

http://www.mediawiki.org/wiki/Extension:AuthorProtect

Check Spambots

When it comes to bots spamming your wiki, you can never be too safe. CheckSpambots is an extension that checks the IP address of an editor, their e-mail address, and name against databases that list known spammers. The blacklists are all hosted on external servers and include:

This extension does not check the body of the edit and does not check external links to see if they are spam. Other considerations include the fact that there is no whitelist so every edit is checked against these external servers. Because these servers are hosted elsewhere, the edit process will be noticeably slower.

http://www.mediawiki.org/wiki/Extension:Check_Spambots

EnforceStrongPassword

More and more IT departments are requiring users to have strong passwords for their accounts as a way to protect against brute force attacks. This extension, EnforceStrongPassword, allows the sysop to define minimum password requirements for all users.

If you have users already registered for your wiki, notify them of the requirements. Once the extension is installed, they will not be able to log in if their password does not meet the minimum requirements.

http://www.mediawiki.org/wiki/Extension:EnforceStrongPassword

PasswordProtectPages

If the author wishes to protect specific pages using a password, for both viewing and editing, then this extension should be installed. PasswordProtectPages creates a protect link on the page that redirects the author to a page to set up the page password. After doing this, anyone wanting to read or edit this page has to unlock it using the predetermined password.

http://www.mediawiki.org/wiki/Extension:PasswordProtectPages

Bad Behavior

We saw Bad Behavior in Chapter 8 when we learned how to keep spam comments. This extension not only helps prevent spam, but it will help keep e-mail harvesters from stealing e-mail addresses from your wiki.

http://www.mediawiki.org/wiki/Extension:Bad_Behavior