Page MenuHomePhabricator

Enable CampaignEvents Extension on zhwiki
Closed, ResolvedPublic

Description

Wiki: zh.wikipedia.org
Consensus Discussion: Discussion Link
Summary of consensus discussion: Users have reached a consensus on introducing the CampaignEvents extension to zhwp.
Expected Outcome: The CampaignEvents extension is enabled on zh.wikipedia

Steps:

  • Add zhwiki to wmgUseCampaignEvents in wmf-config/InitialiseSettings.php
  • Create the event-organizer user group, assign the standard user rights, make it editable by sysops. Remove those rights from the user group. (wmf-config/core-Permissions.php)
// groupOverrides
' zhwiki' => [
	'event-organizer' => [ // T373821
		'campaignevents-enable-registration' => true,
		'campaignevents-organize-events' => true,
		'campaignevents-email-participants' => true,
	],
	'user' => [
		'campaignevents-enable-registration' => false, // T373821
		'campaignevents-organize-events' => false, // T373821
		'campaignevents-email-participants' => false, // T373821
	],
],
// wgAddGroups
' zhwiki' => [
	'sysop' => [
		'event-organizer', // T373821
	],
],
// wgRemoveGroups
' zhwiki' => [
	'sysop' => [
		'event-organizer', // T373821
	],
],

Event Timeline

Gerges renamed this task from Enable CampaignEvents Extension on zhwp to Enable CampaignEvents Extension on zhwiki.Sep 3 2024, 2:18 PM
Gerges added a project: CampaignEvents.

Thank you for filing this ticket, @ZhaoFJx! We are very pleased to learn that the zh Wikipedia community is interested in enabling the CampaignEvents extension. We will discuss next steps as a team and we will get back to you shortly with more details.

Hi @ifried , no problem, and thank you for working on this:)

As per to community consensus, allow event-organizer remove their user group by themself. Thanks!
Waiting for further discussion.

// wgGroupsRemoveFromSelf
' zhwiki' => [
	'event-organizer' => [ 'event-organizer' ], // T373821
	],

@ZhaoFJx: Thank you for this update! Can you provide more context on what this comment means? Is the proposal that both admins and the event organizer can remove themselves from the user group? Right now, it is set up so that admins do all the management of the user group.

@ifried Thanks for following up. I will let you know asap after the community discussion;)

@ifried the community has reached consensus, you can find it at this discussion.

event-organizer will be granted the permissions mentioned above.
event-organizer usergroup will be managed by sysops, and event-organizers can also remove the user group by themselves.

Thank you for your patience, let me know if anything else is unclear:)

Hi @ZhaoFJx! Thank you for this update. It is great that the community was able to quickly come together to reach consensus!

In response, I have provided some explanation and follow-up questions below, which can help us with the next steps:

  • Management by sysops: This works! Management of the event-organizer user group by sysops/admins is how the extension works now, so there is no problem there.
  • Event-organizer can also remove the user group by themselves: If I understand this request correctly, it is that an individual user with the event-organizer right could directly remove themselves from the user group, without needing to go through admins. Is this correct? If this is the case, we currently do not have this functionality in place. We could make a change to make this possible, but we would like to learn more. So, as a follow-up question: Why did the community request this additional way for people to be removed from the user group? What is the use case for this request? And how urgent/important is this request to the community?
  • Our proposal: Perhaps the ZH community can start with the default state (i.e., admins only manage the event-organizer right)? Then, the Campaigns team could look into potentially adding a configuration so that people with the right could directly remove themselves. What do you and other community members think? We are curious to hear others opinions!

Once we have a response to the last two bullet-points, we can know how to proceed with next steps. Thank you!

Thanks for your questions. Self-removal of permissions is like a convention, and there was a discussion that led to a consensus. For example, if the person who granted permissions wanted to resign, they can do it without bother sysops. It is not a urgent request.

I will put your proposal on discussion and let you know the result :-)

Hello, @ZhaoFJx! I wanted to check in and see if there has been any community discussion on the above proposal: "Perhaps the ZH community can start with the default state (i.e., admins only manage the event-organizer right."

@ifried Thank you for your patience, I was waiting for more comments, but since there are no opposition opinion about your proposal after 8 days, it is believed community passed the proposal :)

There are some additional comments about other related-issues, but they are not very pressing or essential, so we can leave them in the future tickets. The rest should be clear. May we know how long will it take to deploy on zhwiki? Thanks!

Change #1076797 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[operations/mediawiki-config@master] [zhwiki] Enable the CampaignEvents extension

https://gerrit.wikimedia.org/r/1076797

Hello @ZhaoFJx and other members of the ZH Wikipedia community! We have scheduled a release for this Wednesday, October 2 at 13:00 UTC. Note that it may not happen at exactly 13:00 UTC, but at around that time. As preparation, here are some things we ask of you and the ZH community:

  • Can you give us the username of an admin on ZH Wikipedia who will be available to grant the event organizer right to our Test Engineer, @vaughnwalters (his username on the wikis: VWalters-WMF) once the release has happened? Ideally, it will be an admin who is available to assist at around 13:00/14:00 UTC. Once Vaughn has the right, he will conduct some tests to ensure that the extension is running properly on the wiki and that there are no major issues.
  • We encourage members of the ZH Wikipedia community to complete the translations for the extension. You can see the translation rates, Right now, zh-hans is 48% translated, zh-hant is 75% translated, and zh-hk is 0% translated.

Thank you, and let us know if you have any questions! Also cc @Venuslui, for general awareness.

@ifried and @Venuslui , I have let the sysops know this at the noticeboard and asked the community to help with the translation. Thank you for working on this!

Thank you, @ZhaoFJx! One follow-up: If I'm looking at it correctly, I don't think any admins have responded to the post yet. Do you think it is better tor reach out to some admins directly?

@ifried Thanks for confirmation. I will try my best to contact an available admin to help out.

Thank you, @ZhaoFJx! One follow-up: If I'm looking at it correctly, I don't think any admins have responded to the post yet. Do you think it is better tor reach out to some admins directly?

Hello, I contacted @Manchiu (Here is his talkpage on zhwiki) and he confirmed that he will be available to grant the event organizer right, Thanks.

Thank you, @ZhaoFJx! One follow-up: If I'm looking at it correctly, I don't think any admins have responded to the post yet. Do you think it is better tor reach out to some admins directly?

Hello, I contacted @Manchiu (Here is his talkpage on zhwiki) and he confirmed that he will be available to grant the event organizer right, Thanks.

Granted. Regards.

Change #1076797 merged by jenkins-bot:

[operations/mediawiki-config@master] [zhwiki] Enable the CampaignEvents extension

https://gerrit.wikimedia.org/r/1076797

Mentioned in SAL (#wikimedia-operations) [2024-10-02T13:02:47Z] <lucaswerkmeister-wmde@deploy2002> Started scap sync-world: Backport for [[gerrit:1076797|[zhwiki] Enable the CampaignEvents extension (T373821)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-02T13:05:22Z] <lucaswerkmeister-wmde@deploy2002> lucaswerkmeister-wmde, daimona: Backport for [[gerrit:1076797|[zhwiki] Enable the CampaignEvents extension (T373821)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-02T13:17:32Z] <lucaswerkmeister-wmde@deploy2002> Finished scap sync-world: Backport for [[gerrit:1076797|[zhwiki] Enable the CampaignEvents extension (T373821)]] (duration: 14m 45s)

Deployed. Note that Invitation Lists are not enabled, because that's the default and it was not mentioned explicitly. We can enable it later if it's wanted. @ifried

This is all functioning correctly. I made a small bug ticket T376482 that doesn't really affect functionality, and there were some places that had not yet been translated. I'll include some of the screenshots below (but the user will easily be able to spot them when using the application).

notice after participant questions aggregationremoving a participantp and e dashboard integration notice
Screenshot 2024-10-04 at 10.23.22 AM.png (96×1 px, 29 KB)
Screenshot 2024-10-04 at 10.25.06 AM.png (342×736 px, 40 KB)
Screenshot 2024-10-04 at 11.04.51 AM.png (1×3 px, 515 KB)
Special:All events include ongoing eventsemail participants checkboxEnable event dialog
Screenshot 2024-10-04 at 10.22.47 AM.png (94×758 px, 15 KB)
Screenshot 2024-10-04 at 10.24.47 AM.png (96×424 px, 10 KB)
{F57588868}

Also, as I am currently the only user with the organizer right I was not able to test multiple organizers.

Looks good on my end, sending to product sign off.

Thank you, @ZhaoFJx, @SCP-2000, and @Manchiu! The extension has now been enabled on zh Wikipedia, and our test engineer has confirmed that it is working as expected, aside from one bug (T376482), which we will work on separately. For this reason, I will be closing this task as resolved. Also cc @Venuslui & @Udehb-WMF for general awareness.

Let us know if you have any questions or if you would like any support on using the extension from our team. We are always happy to organize training calls and office hours, if you are interested.

Again, thank you!

Cheers! Thank you to everyone, it's a pleasure to work with you! We will let you know if we need any help ;-)

Sounds good! Thank you, @ZhaoFJx and others!