Extension:Whitelist Pages/en

From Linux Web Expert

MediaWiki extensions manual
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.39.7+
Database changes No
License Public domain
Download
Example ShoutWiki
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the Whitelist Pages extension if it is available at translatewiki.net

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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/WhitelistPages</tvar>|Download]] and move the extracted <tvar name=name>WhitelistPages</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WhitelistPages
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'WhitelistPages' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

MediaWiki:Public read whitelist should look like:

Main Page
Special:RequestAccount

Page names should have spaces, not underscores between words.


See also