Page MenuHomePhabricator

Create URL campaign for Wiki for Human Rights in Content Translation
Closed, ResolvedPublic

Description

As part of the Wiki for Human Rights event we want to enable a url campaign parameter so that organizers can generate links to translate articles with Content translation. Making it possible to later track how many contributions were generated through this channel.

The proposed name for the campaign would be "wiki-for-human-rights". Since recent campaigns like "external-machine-translation" (T212405) seem to follow this name convention (lowercase + dashes) instead of the original (all lowercase)

As a result of this task, it should be possible to start a translation by following this link (even if Content translation beta feature was not enabled for the user): https://en.wikipedia.org/wiki/Special:ContentTranslation?campaign=wiki-for-human-rights&page=Universal+Declaration+of+Human+Rights&from=en&to=tl

Result. You can see links to Content translation in this page from Wiki for Human Rights.


Related: T208399: Extend URL campaigns to be more customizable

Event Timeline

Pginer-WMF triaged this task as Medium priority.Dec 6 2019, 9:53 AM
Pginer-WMF raised the priority of this task from Medium to High.Dec 6 2019, 10:07 AM

Change 555921 had a related patch set uploaded (by KartikMistry; owner: KartikMistry):
[operations/mediawiki-config@master] Add 'wiki-for-human-rights' CX campaign

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

Change 555921 merged by jenkins-bot:
[operations/mediawiki-config@master] Add 'wiki-for-human-rights' CX campaign

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

Mentioned in SAL (#wikimedia-operations) [2019-12-10T12:19:12Z] <nikerabbit@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:555921|Add wiki-for-human-rights CX campaign (T239977)]] (duration: 00m 56s)

Nikerabbit subscribed.

I verified that passing campaign=wiki-for-human-rights to Special:CX enables the beta feature. If this is sufficient, please move to Done directly.

Great. Thanks!
I've also checked that the link works even when the beta feature is disabled, and also for wikis where CX is out of beta.
So I think it is safe to close.