Extension:Whitelist Pages

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:Public domain licensed extensions
MediaWiki extensions manual
Whitelist Pages
Release status: stableCategory:Stable extensions
Implementation MyWiki Category:Personalization extensions
Description Allows whitelisting pages on a private wiki so that anonymous users can read said pages
Author(s) Jack Phoenix
Misza
Latest version 0.4.0 (2015-11-19)
MediaWiki 1.43.1+Category:Extensions with manual MediaWiki version
Database changes No
License Public domain
Download Category:Extensions in Wikimedia version control
Example ShoutWiki
Translate the Whitelist Pages extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

Whitelist Pages is a MediaWiki extension that allows site administrators to modify the value of the $wgWhitelistRead global by editing the system message called MediaWiki:Public read whitelist. Whitelisted pages in the MediaWiki:Public read whitelist system message are separated by newlines.

The extension was written by Jack Phoenix and Misza for ShoutWiki.

Installation

  • Download and move the extracted WhitelistPages folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WhitelistPages
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'WhitelistPages' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

MediaWiki:Public read whitelist should look like:

Main Page
Special:RequestAccount

Page names should have spaces, not underscores between words.

See also

Category:Extensions by ShoutWiki
Category:All extensions Category:Extensions by ShoutWiki Category:Extensions in Wikimedia version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:Personalization extensions Category:Public domain licensed extensions Category:Stable extensions Category:TitleReadWhitelist extensions