This repository has been archived by the owner on Nov 16, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
LocalSettings_meta.php
98 lines (84 loc) · 4.46 KB
/
LocalSettings_meta.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?php
$wgSitename = "Brickimedia Meta";
$wgMetaNamespace = "Brickimedia";
$wgLogo = "http://images.brickimedia.org/thumb/a/ab/Brickimedia-logo.png/150px-Brickimedia-logo.png";
$wgFavicon = "http://images.brickimedia.org/favicons/favicon.ico";
$wgPasswordSender = "meta";
$wgPasswordSenderName = "Brickimedia Meta";
$wgLanguageCode = "en";
$wgDefaultSkin = 'refreshed';
$wgGroupPermissions['sysadmin']['userrights-global'] = true;
$wgGroupPermissions['sysadmin']['userrights-interwiki'] = true;
$wgGroupPermissions['sysadmin']['userrights'] = true;
$wgGroupPermissions['sysadmin']['globalblock'] = true;
$wgGroupPermissions['sysadmin']['globalunblock'] = true;
$wgAddGroups['sysadmin'] = array( 'sysadmin' );
$wgRemoveGroups['sysadmin'] = array( 'sysadmin' );
$wgGroupPermissions['sysop']['globalblock'] = true;
$wgGroupPermissions['sysop']['globalunblock'] = true;
$wgGroupPermissions['sysop']['abusefilter-modify'] = true;
$wgGroupPermissions['sysop']['abusefilter-private'] = true;
$wgGroupPermissions['sysop']['abusefilter-modify-restricted'] = true;
$wgGroupPermissions['sysop']['abusefilter-revert'] = true;
$wgGroupPermissions['sysop']['abusefilter-view-private'] = true;
$wgGroupPermissions['sysop']['abusefilter-log-private'] = true;
$wgLocalDatabases = array( 'en', 'dev', 'gbc', 'admin' );
// Google Analytics
require_once "$IP/extensions/googleAnalytics/googleAnalytics.php";
$wgGoogleAnalyticsAccount = 'UA-38958899-7';
$wgGoogleAnalyticsAnonymizeIP = false;
$wgGoogleAnalyticsIgnoreSpecials = array();
//uploading
$wgEnableUploads = true;
$wgUploadSizeWarning = 8388608;
$wgMaxUploadSize = 1024*1024*32; // 32MB Set mich higher than actually - the actual limits are in PHP config.
#SocialProfile
$wgUserStatsPointValues['edit'] = 5; // Points awarded on a mainspace edit
$wgUserStatsPointValues['vote'] = 1; // Points awarded for voting for an article
$wgUserStatsPointValues['comment'] = 1; // Points awarded for leaving a comment
$wgUserStatsPointValues['comment_plus'] = 2; // Points awarded if your comment gets a thumbs up
$wgUserStatsPointValues['comment_ignored'] = 0; // Points awarded if another user ignores your comments
$wgUserStatsPointValues['referral_complete'] = 0; // Points awarded for recruiting a new user
$wgUserStatsPointValues['friend'] = 1; // Points awarded for adding a friend
$wgUserStatsPointValues['foe'] = 0; // Points awarded for adding a foe
$wgUserStatsPointValues['gift_rec'] = 10; // Points awarded for receiving a gift
$wgUserStatsPointValues['gift_sent'] = 0; // Points awarded for giving a gift
$wgUserStatsPointValues['points_winner_weekly'] = 20; // Points awarded for having the most points for a week
$wgUserStatsPointValues['points_winner_monthly'] = 50; // Points awarded for having the most points for a month
$wgUserStatsPointValues['user_image'] = 5; // Points awarded for adding your first avatar
$wgUserStatsPointValues['poll_vote'] = 0; // Points awarded for taking a poll
$wgUserStatsPointValues['quiz_points'] = 0; // Points awarded for answering a quiz question
$wgUserStatsPointValues['quiz_created'] = 0; // Points awarded for creating a quiz question
$wgNamespacesForEditPoints = array( 0, 4, 12, 110, 1198 ); // Array of namespaces that can earn you points. Use numerical keys. 0 is mainspace, 4 is project
// The actual user level definitions -- key is simple: 'Level name' => points needed
$wgUserLevels = array(
'Brickimedian' => 0,
);
$wgUserProfileDisplay['stats'] = true;
# Donate
require_once("$IP/extensions/Donate/Donate.php");
# Refreshed
$wgRefreshedHeader = array(
'url' => 'http://meta.brickimedia.org/wiki/Main_Page',
'img' => $refreshedMeta,
'dropdown' => array(
'http://en.brickimedia.org/wiki/Main_Page' => $refreshedEn,
'http://greatballcontraption.com/wiki/Main_Page' => $refreshedGBC
)
);
# Translate
/*require_once ( "$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php" );
include_once("$IP/extensions/Translate/Translate.php");
$wgGroupPermissions['translator']['translate'] = true;
$wgTranslateDocumentationLanguageCode = 'qqq';
$wgGroupPermissions['sysop']['pagetranslation'] = true; disabled while it breaks meta */
# #brickimedia-rc-meta IRC
$wgRC2UDPAddress = '127.0.0.1';
$wgRC2UDPPort = '51665';
$wgRC2UDPPrefix = "";
#remove steward - some 1.22 thing
$wgGroupPermissions['smwadministrator']['smw-admin'] = false;
unset( $wgGroupPermissions['steward'] );
unset( $wgGroupPermissions['smwadministrator'] );
unset( $wgGroupPermissions['staff'] );
$wgAllowGlobalMessaging = true;