Extension:ViewsourceRight

What can this extension do?
Enables the support for a 'viewsource' right on a per-namespace level. Normally, when a user does not have the 'edit' right the said user can still view the source wikitext of an article. This extension controls access to this wikitext.

Installation

 * Requires Extension:ExtensionClass
 * Requires Extension:Hierarchical Namespace Permissions
 * Requires patched 'includes/User.php': available @ in the 'patches x.y.z' directory.

Changes to LocalSettings.php
require_once("$IP/extensions/ExtensionClass/ExtensionClass.php"); require_once("$IP/extensions/ViewsourceRight/ViewsourceRight.php");