Extension:EmailAllChanges

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎català • ‎español • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎سنڌي • ‎中文 • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
EmailAllChanges
Release status: unmaintained
Implementation Notify
Description Adds a preferences checkbox allowing users to have all changes to pages on the wiki emailed to them.
Author(s) Nathan Larson (Leucostictetalk)
Latest version 1.1 (2015-01-07)
MediaWiki 1.23+
PHP 5.3+
Database changes No
License GNU General Public License 2.0 only
Download
Parameters

  • $wgEmailAllChangesRight
  • $wgEmailAllChangesExcludePages
  • $wgEmailAllChangesExcludeUsers
Hooks used
GetPreferences
AbortEmailNotification
Translate the EmailAllChanges extension if it is available at translatewiki.net
Check usage and version matrix.

The EmailAllChanges extension adds a preferences checkbox allowing users to have all changes to pages on the wiki emailed to them. It works by changing the value of $wgUsersNotifiedOnAllChanges .

Installation[edit]

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

Configuration[edit]

$wgEmailAllChangesRight[edit]

Set to whatever user right you want users to have to possess in order to use the feature. Defaults to 'block' (which would limit it to sysops on most configurations).

$wgEmailAllChangesExcludePages[edit]

Array of pages to exclude from notification

$wgEmailAllChangesExcludePages = array( 'MediaWiki:InterwikiMapBackup' );

$wgEmailAllChangesExcludeUsers[edit]

Array of editors whose changes should be excluded from notification

$wgEmailAllChangesExcludeUsers = array();

$wgEmailAllChangesExcludeGroups[edit]

$wgEmailAllChangesExcludeGroups = array( 'bot' );

Array of user groups whose changes should be excluded from notification