Page MenuHomePhabricator

Release CampaignEvents extension to Spanish Wikipedia [Oct 22, 14:00 UTC]
Closed, ResolvedPublic

Description

As an Spanish Wikipedia user, I want the CampaignEvents extension enabled on my wiki, so that I can attain the local Event Organizer right and use the Event Registration tool.

All features of the CampaignEvents extension that are currently accessible, except invitations should be accessible to Spanish Wikipedia.

Acceptance Criteria:

  • Set the need configs values needed on mediawiki-config to enable CampaignEvents Extension on Spanish Wikipedia

Steps:

  • Add eswiki 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
'+eswiki' => [
	'event-organizer' => [ // T376786
		'campaignevents-enable-registration' => true,
		'campaignevents-organize-events' => true,
		'campaignevents-email-participants' => true,
	],
	'user' => [
		'campaignevents-enable-registration' => false, // T376786
		'campaignevents-organize-events' => false, // T376786
		'campaignevents-email-participants' => false, // T376786
	],
],
// wgAddGroups
'+eswiki' => [
	'sysop' => [
		'event-organizer', // T376786
	],
],
// wgRemoveGroups
'+eswiki' => [
	'sysop' => [
		'event-organizer', // T376786
	],
],
  • Schedule a deployment window - note that target release date is Oct 22

Event Timeline

Change #1078907 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[operations/mediawiki-config@master] Release CampaignEvents to eswiki

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

ifried renamed this task from Release CampaignEvents extension to Spanish Wikipedia to Release CampaignEvents extension to Spanish Wikipedia [Oct 22, 14:00 UTC].Oct 15 2024, 4:14 PM

Noting that @IZapico-WMF already has identified an admin to grant the organizer right to @vaughnwalters after the release. She will add the username of the admin to the ticket in a bit.

The admin who will grant the organizer right to @vaughnwalters after the release will be @Raystorm.

Change #1078907 merged by jenkins-bot:

[operations/mediawiki-config@master] Release CampaignEvents to eswiki

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

Mentioned in SAL (#wikimedia-operations) [2024-10-22T13:04:58Z] <lucaswerkmeister-wmde@deploy2002> Started scap sync-world: Backport for [[gerrit:1078907|Release CampaignEvents to eswiki (T376786)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-22T13:07:34Z] <lucaswerkmeister-wmde@deploy2002> mhorsey, lucaswerkmeister-wmde: Backport for [[gerrit:1078907|Release CampaignEvents to eswiki (T376786)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-22T13:14:33Z] <lucaswerkmeister-wmde@deploy2002> Finished scap sync-world: Backport for [[gerrit:1078907|Release CampaignEvents to eswiki (T376786)]] (duration: 09m 35s)

Hello, @Raystorm! The CampaignEvents extension has been enabled on Spanish Wikipedia. In that case, can you grant the Event Organizer right to @vaughnwalters, so that he can test out the extension on the wiki? His username is VWalters-WMF. Thank you!

Extension tested and working as expected, sending to product sign off. @Raystorm you can remove my organizer right VWalters-WMF now. Thank you!!

Hi, before closing the ticket, how can we translate some strings such as event-organizer?

image.png (391×403 px, 29 KB)

Hi, before closing the ticket, how can we translate some strings such as event-organizer?

image.png (391×403 px, 29 KB)

For that one, you have to create https://es.wikipedia.org/wiki/MediaWiki:Group-event-organizer-member. As a general tip, you can find what message corresponds to given a string in the interface by using uselang=qqx.

For that one, you have to create https://es.wikipedia.org/wiki/MediaWiki:Group-event-organizer-member. As a general tip, you can find what message corresponds to given a string in the interface by using uselang=qqx.

Thanks, I never figured out how to find it... and TIL about it :kudos: