Extension:ViewsourceRight

Purpose
This extension adds a 'viewsource' right. Only the users with the 'viewsource' permission can 'view' an article's source wikitext.

FEATURES

 * No mediawiki installation source level changes

DEPENDANCIES

 * StubManager extension
 * HNP extension

PEAR

 * Install PEAR channel 'http://mediawiki.googlecode.com/svn'
 * Install extension through PEAR:
 * Modify
 * Modify
 * Modify

SVN

 * Install Extension:StubManager
 * Download archive: SVN
 * Place extension files in MW /extensions directory
 * Modify

LocalSettings.php
Modifications to  is only necessary if not using Extension:ExtensionManager
 * Modification if extension is located in MW installation directory:
 * Modification if extension is installed through PEAR:

Extension Manager
If using Extension:ExtensionManager, then skip the modification to.

HISTORY

 * Corrected missing 'return true' statement in hook.
 * Removed 'view source' tab when permission is not granted to user.
 * Moved Singleton invocation to end of file to accomodate some PHP versions
 * Removed dependency on ExtensionClass
 * Made 'stub'-enabled
 * Added some protection against !isset indexes in '$wgExtensionCredits'

1.0.0

 * Moved to PEAR repository