Page MenuHomePhabricator

Unable to save message documentation with unbalanced <translate> tags.
Closed, ResolvedPublic

Description

1 MessageUpdateJob [MediaWiki:Visualeditor-annotations-translate-description/qqq]: Failed to update content for source message {"content":{"WikitextContent":[]},"errors":[{"type":"error","message":"pt-parse-open","params":["Additional explanation for a pair of <translate> tags."]}]} []
1 MessageUpdateJob [MediaWiki:Visualeditor-annotations-translate-end/qqq]: Failed to update content for source message {"content":{"WikitextContent":[]},"errors":[{"type":"error","message":"pt-parse-open","params":["Label of the context item for a closing <translate> tag."]}]} []
1 MessageUpdateJob [MediaWiki:Visualeditor-annotations-translate-start/qqq]: Failed to update content for source message {"content":{"WikitextContent":[]},"errors":[{"type":"error","message":"pt-parse-open","params":["Label of the context item for an opening <translate> tag."]}]} []

Need to figure out what makes sense here. qqq is technically parsed as wikitext, so the tag should likely be escaped?

Event Timeline

Change 731318 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/extensions/Translate@master] Escape <translate> and <tvar> tags in message documentation

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

Nikerabbit changed the task status from Open to In Progress.Oct 18 2021, 7:13 AM
Nikerabbit claimed this task.

Change 731318 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Escape <translate> and <tvar> tags in message documentation

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