Page MenuHomePhabricator

[Epic] CentralNotice translation should move closer to MediaWiki i18n standards and the code cleaned up
Open, Needs TriagePublic

Description

CentralNotice includes a ton of fragile and custom code to manage editing banners, and to do translation things. These don't work very well, are not intuitive, are a maintenance risk, and ideally we can consolidate our code with other i18n solutions.

One alternative might be to use translatable pages, although it's pretty clunky itself.

We need to list our use cases, roughly:

  • Banner copy should be collaboratively translatable.
  • Banner copy includes parameter substitutions for constant values.
  • Banner copy includes localizable strings.

Related Objects

StatusAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedNikerabbit
Resolvedkaldari
ResolvedNone
OpenNone
ResolvedNikerabbit
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedNone
OpenNone
OpenNone
Resolvedawight
ResolvedAndyRussG
OpenNone
OpenNone
OpenNone
DeclinedNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenAndyRussG
OpenNone
OpenNone

Event Timeline

awight created this task.Oct 21 2015, 10:31 PM
awight raised the priority of this task from to Needs Triage.
awight updated the task description. (Show Details)
awight added subscribers: awight, Nikerabbit.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 21 2015, 10:31 PM
awight renamed this task from Use translatable pages for banner content to [Epic] Use translatable pages for banner content.Oct 27 2015, 5:35 PM
awight added a project: Epic.
awight set Security to None.
DStrine added a subscriber: DStrine.Nov 2 2015, 7:23 PM

from Q3 brainstorming meeting:

Use translatable pages for banner content. This could wipe out ¼ of our CentralNotice backlog, plus make it way more pleasant to write and translate banners. **Need to talk to Peter and Jessica about how much this would help them to prioritize

awight edited a custom field.Nov 3 2015, 6:33 PM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 3 2015, 6:33 PM
awight added a comment.Nov 3 2015, 6:38 PM

might want to kick this until after roadmapping.

awight updated the task description. (Show Details)Nov 13 2015, 5:59 PM
awight added subscribers: jrobell, Pcoombe.

We have this as a stretch goal for Q3 - @AndyRussG and @awight with you being gone, I'm removing it as a goal for this quarter.

DStrine updated the task description. (Show Details)Feb 16 2016, 6:00 PM
DStrine edited a custom field.
Nemo_bis added a subscriber: Nemo_bis.EditedApr 20 2016, 6:25 AM

I'm very surprised by this proposal, I hope you'll investigate the design thoroughly before starting implementation.

I'm curious how you will automate the generation and update of a translatable page from the banner management special pages and how you will prevent manual edits from breaking the communication between the two.

It's not clear what the expected benefits are, other than the supposed decrease in amount of code and the wishful thinking that this will magically shift the burden of maintaining Translate features for CentralNotice on someone else's shoulders. Most of the blocked bugs seem quite hard to fix this way, you may want to go through them with the assistance of someone more confident with the Translate extension.

Do you CentralNotice folks still believe this is the way to go?

Hi @Nemo_bis, thanks for taking a look at the issue. This was erratic and wishful thinking on my part, for sure, and I'm open to anything we can do to reduce the technical debt of CentralNotice banner translation. I'll try to reword this bug to make fewer assumptions about how we might implement a solution.

awight renamed this task from [Epic] Use translatable pages for banner content to [Epic] CentralNotice translation should move closer to MediaWiki i18n standards and the code cleaned up.Nov 29 2016, 9:58 PM
awight updated the task description. (Show Details)
DStrine removed a subscriber: awight.Jun 22 2017, 9:12 PM
DStrine moved this task from Triage to FY 2019-20 on the Fundraising-Backlog board.May 8 2019, 7:48 PM