Open main menu

Extension:Whitelist Pages

MediaWiki extensions manual
Crystal Clear action run.svg
Whitelist Pages
Release status: stable
Implementation other (invalid type)
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.23+
Database changes No
License Public domain
Download
Example ShoutWiki
Translate the Whitelist Pages extension if it is available at translatewiki.net
Check usage and version matrix.

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.

InstallationEdit

  • Download and place the file(s) in a directory called Whitelist Pages in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'Whitelist Pages' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'Whitelist Pages' );, you need to use:

require_once "$IP/extensions/Whitelist Pages/Whitelist Pages.php";