-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into dev-no-longer-requi…
…red-accounts
- Loading branch information
Showing
12 changed files
with
94 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,8 +35,6 @@ | |
email_sender "[email protected]" | ||
email_sender_name "OSMF Board Wiki" | ||
private_site true | ||
recaptcha_public_key "6LflIQATAAAAAMXyDWpba-FgipVzE-aGF4HIR59N" | ||
recaptcha_private_key passwords["board"]["recaptcha"] | ||
version "1.37" | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,8 +35,6 @@ | |
email_sender "[email protected]" | ||
email_sender_name "OSMF Board Wiki" | ||
private_site true | ||
recaptcha_public_key "6LflIQATAAAAAMXyDWpba-FgipVzE-aGF4HIR59N" | ||
recaptcha_private_key passwords["dwg"]["recaptcha"] | ||
version "1.37" | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,8 +35,6 @@ | |
email_sender "[email protected]" | ||
email_sender_name "OSMF Board Wiki" | ||
private_site true | ||
recaptcha_public_key "6LflIQATAAAAAMXyDWpba-FgipVzE-aGF4HIR59N" | ||
recaptcha_private_key passwords["mwg"]["recaptcha"] | ||
version "1.37" | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,8 +41,6 @@ | |
email_sender "[email protected]" | ||
email_sender_name "OSMF Wiki" | ||
private_accounts true | ||
recaptcha_public_key "6LflIQATAAAAAMXyDWpba-FgipVzE-aGF4HIR59N" | ||
recaptcha_private_key passwords["wiki"]["recaptcha"] | ||
extra_file_extensions ["mp3"] | ||
version "1.37" | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?php | ||
# DO NOT EDIT - This file is being maintained by Chef | ||
wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ) ); | ||
$wgCaptchaClass = 'ReCaptchaNoCaptcha'; | ||
$wgReCaptchaSendRemoteIP = true; | ||
$wgReCaptchaSiteKey = '<%= @public_key %>'; | ||
$wgReCaptchaSecretKey = '<%= @private_key %>'; | ||
|
||
$wgCaptchaTriggers['addurl'] = true; | ||
$wgCaptchaTriggers['create'] = true; | ||
wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/hCaptcha' ) ); | ||
$wgHCaptchaSendRemoteIP = true; | ||
$wgHCaptchaSiteKey = '<%= @public_key %>'; | ||
$wgHCaptchaSecretKey = '<%= @private_key %>'; | ||
|
||
$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true; | ||
$wgGroupPermissions['bot' ]['skipcaptcha'] = true; | ||
$wgGroupPermissions['sysop' ]['skipcaptcha'] = true; | ||
|
||
$wgRateLimits['badcaptcha']['newbie'] = [ 100, 86400 ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"database": "database_password", | ||
"admin": "admin_password", | ||
"recaptcha": "precaptcha_token", | ||
"hcaptcha": "precaptcha_token", | ||
"thunderforest": "thunderforest_token" | ||
} |