User:Lysander/EmailAllChanges: Difference between revisions

From BoyWiki
Lysander (talk | contribs)
No edit summary
Lysander (talk | contribs)
No edit summary
 
Line 2: Line 2:


==Installation==
==Installation==
*Download and place the file(s) in a directory called EmailAllChanges in your extensions/ folder.
*[https://github.com/Inclumedia/EmailAllChanges/archive/master.zip 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:
*Add the following code at the bottom of your LocalSettings.php:
  require_once "$IP/extensions/EmailAllChanges/EmailAllChanges.php";
  require_once "$IP/extensions/EmailAllChanges/EmailAllChanges.php";

Latest revision as of 02:46, 13 April 2015

The EmailAllChanges extension adds a preferences checkbox allowing users to have all changes to pages on the wiki, or just the changes they make, emailed to them. $wgEmailAllChangesRight is suitable for low-traffic wikis; $wgEmailAllChangesMyChangesRight is suitable for high-traffic wikis.

Installation

  • 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";
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Configuration

$wgEmailAllChangesRight

Set to whatever user right you want users to have to possess in order to use the "email all changes" feature. Defaults to 'userrights' (which would limit it to bureaucrats on most configurations).

$wgEmailAllChangesMyChangesRight

Set to whatever user right you want users to have to possess in order to use the "email my changes" feature. Defaults to 'edit', so that regular users can access the feature.

$wgEmailAllChangesExcludePages

Array of pages to exclude from notification.

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

$wgEmailAllChangesExcludeUsers

Array of users whose changes should be excluded from notification.

$wgEmailAllChangesExcludeUsers = array();

$wgEmailAllChangesExcludeGroups

Array of user groups whose changes should be excluded from notification.

$wgEmailAllChangesExcludeGroups = array( 'bot' );