-
Notifications
You must be signed in to change notification settings - Fork 0
/
SemanticWatchlist.settings.php
56 lines (45 loc) · 2.14 KB
/
SemanticWatchlist.settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/**
* File defining the settings for the Semantic Watchlist extension.
* More info can be found at http://www.mediawiki.org/wiki/Extension:Semantic_Watchlist#Settings
*
* NOTICE:
* Changing one of these settings can be done by copying or cutting it,
* and placing it in LocalSettings.php, AFTER the inclusion of this extension.
*
* @file SemanticWatchlist.settings.php
* @ingroup SemanticWatchlist
*
* @licence GNU GPL v3+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
if ( !defined( 'MEDIAWIKI' ) ) {
die( 'Not an entry point.' );
}
# Users that can use the semantic watchlist.
$wgGroupPermissions['*' ]['semanticwatch'] = false;
$wgGroupPermissions['user' ]['semanticwatch'] = true;
$wgGroupPermissions['autoconfirmed']['semanticwatch'] = true;
$wgGroupPermissions['bot' ]['semanticwatch'] = false;
$wgGroupPermissions['sysop' ]['semanticwatch'] = true;
# Users that can modify the watchlist groups via Special:WatchlistConditions
$wgGroupPermissions['*' ]['semanticwatchgroups'] = false;
$wgGroupPermissions['user' ]['semanticwatchgroups'] = false;
$wgGroupPermissions['autoconfirmed']['semanticwatchgroups'] = false;
$wgGroupPermissions['bot' ]['semanticwatchgroups'] = false;
$wgGroupPermissions['sysop' ]['semanticwatchgroups'] = true;
$wgGroupPermissions['swladmins' ]['semanticwatchgroups'] = true;
# Enable email notification or not?
$egSWLEnableEmailNotify = true;
# Send an email for every change (as opposed to a "something changed email" for the first $egSWLMaxMails changes)?
$egSWLMailPerChange = true;
# The maximum amount of generic emails to send about changes until the user actually checks his semantic watchlist.
$egSWLMaxMails = 1;
# The default value for the user preference to send email notifications.
$wgDefaultUserOptions['swl_email'] = true;
# The default value for the user preference to display a top link to the semantic watchlist.
$wgDefaultUserOptions['swl_watchlisttoplink'] = true;
# Enable displaying a top link to the semantic watchlist?
$egSWLEnableTopLink = true;
# Send email to editor
$egSWLEnableSelfNotify = false;