Siebrand has submitted this change and it was merged. Change subject: Define a configuration variable ......................................................................
Define a configuration variable Change-Id: I637937c1a09b9de3eb6ec9a4e84ba2eb26cf739b --- M InviteSignup.php 1 file changed, 6 insertions(+), 1 deletion(-) Approvals: Siebrand: Verified; Looks good to me, approved diff --git a/InviteSignup.php b/InviteSignup.php index 400da19..0c81f9e 100644 --- a/InviteSignup.php +++ b/InviteSignup.php @@ -14,7 +14,7 @@ $wgExtensionCredits['specialpage'][] = array( 'path' => __FILE__, 'name' => 'InviteSignup', - 'version' => '2012-12-26', + 'version' => '2013-05-22', 'author' => array( 'Niklas Laxström' ), 'descriptionmsg' => 'is-desc', ); @@ -28,6 +28,11 @@ $wgInviteSignupHash = null; +/** + * List of groups the invitee will be promoted automatically. + */ +$wgISGroups = array(); + $wgHooks['BeforeInitialize'][] = function ( $title, &$unused, &$output, &$user, $request ) { if ( !$title->isSpecialPage() ) { return true; -- To view, visit https://gerrit.wikimedia.org/r/64916 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I637937c1a09b9de3eb6ec9a4e84ba2eb26cf739b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/InviteSignup Gerrit-Branch: master Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits