Page MenuHomePhabricator

Use word-separator message for formatted time periods
Closed, ResolvedPublic

Description

Long file description on https://commons.wikimedia.org/wiki/File:%E4%B8%80%E8%B4%AF%E5%AE%B3%E4%BA%BA%E9%81%93_1952.webm?uselang=en:

WebM audio/video file, VP9/Opus, length 1 h 46 min 44 s, 1,279 × 974 pixels, 2.73 Mbps overall

In zh-hans (https://commons.wikimedia.org/wiki/File:%E4%B8%80%E8%B4%AF%E5%AE%B3%E4%BA%BA%E9%81%93_1952.webm?uselang=zh-hans):

WebM音频/视频文件,VP9/Opus,长度1小时 46分 44秒,1,279 × 974像素,共2.73 Mbps

Spaces should be omitted like:

长度1小时46分44秒

Event Timeline

Change 962153 had a related patch set uploaded (by 沈澄心; author: 沈澄心):

[mediawiki/core@master] Use word-separator message for Language::formatTimePeriod()

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

Reedy subscribed.

I note formatDuration seems to suffer from something similar based on the implementation/override LanguageZh_hans::formatDuration

Change 962153 merged by jenkins-bot:

[mediawiki/core@master] Use word-separator message for Language::formatTimePeriod()

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

matmarex assigned this task to Dringsim.