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.4+ |
| Database changes | No |
| License | Public domain |
| Download | Download extension Git [?]: |
| Example | ShoutWiki |
|
Hooks used
|
|
| 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
- Download and place the file(s) in a directory called
WhitelistPagesin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'WhitelistPages' );
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
- Extension:GroupWhitelist - A similar extension that allows configuring which rights and groups are whitelisted for the pages.
- Extension:InternalWhitelist - Nearly identical extension
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.