Extension:PasswordProtected

What can this extension do?
It can protect pages and require a password to edit/view.

Despite these password, if the user clicks to the View Source tab, he can see the code of the page and with it the password and the content. So this extension does not protect your contents to be viewed.

Usage
In page put in: the password for the page

Download instructions
Cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php: And execute this to your database (add in front of protect_pages your prefix): CREATE TABLE `protect_pages` ( `pageid` int(3) NOT NULL,  `password` blob NOT NULL )