Extension:EditSubpages

What can this extension do?
This extension restricts editing of all but a few pages and their subpages by anonymous users. Sysops (or whatever group has the 'editinterface' permission) can add pages to MediaWiki:Unlockedpages to open them for anonymous editing.

Usage
Add pages to be unlocked to MediaWiki:Unlockedpages in a bulleted list (they may be links). Example:
 * Unlocked page 1
 * Talk:Unlocked page 1
 * Help:Unlocked page 2

This will allow anonymous users (or any user lacking the 'edit' permission) to edit that page and all subpages of it (e.g. Unlocked page 1, Unlocked page 1/Subpage, etc.). At this time, talk pages must be declared separately. Also, you cannot add comments to MediaWiki:Unlockedpages at this time either.

Download instructions
Please 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:

Changelog

 * Version 1.0:Initial creation

Todo

 * Feel free to add your suggestions to this list! Not all of them may be implemented, though.


 * Make the message that appears for locked pages the normal "You have to log in to edit" message instead of the protected page message.
 * Make talk pages of unlocked pages editable as well.
 * Allow comments on MediaWiki:Unlockedpages.