Page MenuHomePhabricator

A cloned banner should copy translated messages to CNBanner
Open, MediumPublicFeature

Description

Author: mwalker

Description:
When a banner is cloned and translate is enabled in CentralNotice the messages are not copied into the CNBanner namespace. The end result is that it appears to translate like the banner has not been translated.

We should probably copy all translations into CNBanner and set the group state to approved on a clone.


Version: master
Severity: enhancement

Details

Reference
bz44481

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:21 AM
bzimport set Reference to bz44481.
bzimport added a subscriber: Unknown Object (MLST).

Very strangely, it did just copy the CNBanner translations for exactly one language (out of >50 existing translations), namely Kazakh (kk):
https://meta.wikimedia.org/w/index.php?title=Special:Contributions&offset=20141019070000&limit=11&tagfilter=&contribs=user&target=Tbayer+%28WMF%29&namespace=866

(All the edits there dated 04:50, 18 October 2014 are automated edits resulting from cloning a translated banner.)

That's only a very partial solution for this bug though ;)

In seriousness, it would be great to have this bug solved. I currently do this via bot (see e.g. https://meta.wikimedia.org/w/index.php?title=Special:Contributions/HaeBot&offset=20141019080000&target=HaeBot ); having MediaWiki do this automatically would be much preferable.

It may be more pertinent at this stage to just remove or disable the "clone" button. For translated banners this creates huge messes.

T91078: Clone button for CN campaigns indicates that Fundraising might actually make use of this button though - is that still correct?

As a user of the button — please do not remove it, thanks.

Yeah, WMF Fundraising uses the clone button very often (although usually on banners without translations)

Alright, fair enough. :) Thanks for the info. I'm just now having to clean up after a cloned banner so I might be a little jaded ;)

Alright, fair enough. :) Thanks for the info. I'm just now having to clean up after a cloned banner so I might be a little jaded ;)

Yeah, this is a major issue since it doesn't perform as expected for folks. I wonder if it would be easier in the interim to at least stop the button from attempting to copy over any translations at all? That would be a reasonable stop gap imo.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed subscribers: Tbayer, wikibugs-l-list.