Page MenuHomePhabricator

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

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 Normal.Nov 22 2014, 1:21 AM
bzimport set Reference to bz44481.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Jan 29 2013, 8:01 PM

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.

KTC added a subscriber: KTC.Jan 21 2015, 12:11 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 13 2015, 6:04 PM
Base added a subscriber: Base.Feb 19 2017, 1:46 PM
jrbs added a subscriber: jrbs.May 31 2017, 9:39 PM

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?

Base added a comment.May 31 2017, 11:05 PM

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

Pcoombe added a subscriber: Pcoombe.Jun 1 2017, 8:28 AM

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

jrbs added a comment.Jun 1 2017, 9:14 AM

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.

kaldari removed a subscriber: kaldari.Jun 1 2017, 5:53 PM