Page MenuHomePhabricator

"Publish" button remains greyed out: "TypeError: this.translationView.categoryUI is null"
Open, MediumPublic


I can't publishing the Translation with the Content translation at barWiki.

I called up the content translation (, translated the pages "Nilotische Sprachen" and "Mambiloide Sprachen" from deWiki and clicked the "Veröffentlichen (German for publish)" button. The button then turned gray, the articles were not published.

@Aklapper here is a screenshot

Event Timeline

WikiBayer created this task.Mon, Feb 3, 9:42 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMon, Feb 3, 9:42 AM
Aklapper changed the task status from Open to Stalled.Mon, Feb 3, 4:11 PM

Hi @WikiBayer, thanks for taking the time to report this and welcome to Wikimedia Phabricator!

Unfortunately this Phabricator task lacks some information. If you have time and can still reproduce the problem: Please add a more complete description to this task.
That should be a clear list of specific steps to reproduce the situation, a link to a public website where the issue can be seen, what exactly happens (error messages etc) or not after which steps, information about your web browser(s), etc.
You can edit the task description by clicking Edit Task. Ideally, exact and clear steps to reproduce should allow any other person to follow these steps (without having to interpret those steps) and see the same results. Problems that others can reliably reproduce can get fixed faster. Thanks!

WikiBayer updated the task description. (Show Details)Mon, Feb 3, 4:19 PM
WikiBayer updated the task description. (Show Details)Tue, Feb 4, 8:37 AM
WikiBayer updated the task description. (Show Details)Thu, Feb 6, 11:33 AM
WikiBayer updated the task description. (Show Details)
WikiBayer added a subscriber: Andre.
WikiBayer removed a subscriber: Andre.
Aklapper renamed this task from Content translation publishing is not possible. to Content translation publishing not possible: "Publish" button remains greyed out.Thu, Feb 6, 12:24 PM

Hi @WikiBayer, is this reproducible? Is there any output in the developer tools of the web browser?

For more information how to use the developer tools of your web browser, please see:

WikiBayer changed the task status from Stalled to Open.Thu, Feb 6, 3:49 PM

@Aklapper I use Firefox (linux)

TypeError: this.translationView.categoryUI is null load.php:1033:181

jQuery 6
<anonym> self-hosted:876
Aklapper renamed this task from Content translation publishing not possible: "Publish" button remains greyed out to "Publish" button remains greyed out: "TypeError: this.translationView.categoryUI is null".Thu, Feb 6, 4:38 PM
Pginer-WMF added subscribers: Jpita, Pginer-WMF.

@Jpita was doing some testing and publishing seemed to work as expected. Is the detail shared in T244114#5856579 helping to identify what can e the issue?

Pginer-WMF triaged this task as Medium priority.Fri, Feb 7, 3:29 PM
Pginer-WMF moved this task from Needs Triage to Bugs on the ContentTranslation board.
Qingyuzhe added a comment.EditedSat, Feb 8, 1:51 AM

I have encountered similar problems. When I press the "Publish" button, its status changes to "Publishing". When I review it five hours later, its status is still "Publishing". And my contribution does not have any record of creating this article.


some info: Chrome (Windows10) , translate english to chinese

Jpita added a subscriber: santhosh.Sat, Feb 8, 4:19 AM

@Qingyuzhe thanks for the log, it is super helpful, maybe @santhosh can see the issue now?

Can you tell me what article are you translating and the source and target languages and please unlock the ongoing translation (delete it from the in progress column in the dashboard) so I can try it for myself?

@WikiBayer please unlock the translation as well so I can try for myself.

@Jpita Thanks for replying. The origin article is And I want to translate it to . And I want to know if there is any way to save the draft temporarily? This article uses a lot of templates and is not easy to copy directly.

Jpita added a comment.Sun, Feb 9, 7:40 AM

@Qingyuzhe right now we can't save drafts without blocking the translation, if you don't want to lose the translation, can you please send me a similar article (same templates used) so I can try from my side?
also, did you use any of these MT engines or you did the translation yourself manually?

Jpita added a comment.Sun, Feb 9, 7:52 AM

@Pginer-WMF I was able to copy the wikitext into this article and was able to fully translate it using all the mt engines
I used both Chrome and Firefox.

Ranveig added a subscriber: Ranveig.Sun, Feb 9, 8:59 AM

@Jpita I delete it and move draft to . I used Google Translate. Thanks for your attention.

The error no longer occurs in the morning. I can now publish translations again, the Javascript error is no longer available.

Jpita added a comment.Sun, Feb 9, 12:18 PM

@Qingyuzhe can you try now to see if it was fixed like WikiBayer's case?

@Jpita No, I suspect it's caused by some templates but I'm not 100% sure.

Jpita added a comment.EditedSun, Feb 9, 12:26 PM

It seems that way.
Thank you for your cooperation, we will investigate further and see if we can find the issue.
Any more info you can provide will be much appreciated (list of templates, anything in particular you remember editing/adding, etc...) .

I have tested with an article that I could not publish.

The (unmodified) german version could be published without problems.
after I translated the first Sections of the article it was no longer possible to publish it.