Page MenuHomePhabricator

Rendering of {{Start date}} template ignores new lines
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
VoicefulBread66
Oct 10 2023, 12:05 PM
Referenced Files
F38188558: Screenshot_2023-10-10-19-59-26-309_org.wikipedia.beta.png
Oct 10 2023, 12:07 PM
F38188556: Screenshot_2023-10-10-20-00-03-391_org.mozilla.fenix.png
Oct 10 2023, 12:07 PM
Restricted File
Oct 10 2023, 12:05 PM
Restricted File
Oct 10 2023, 12:05 PM
Tokens
"Like" token, awarded by Osps7.

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The following wikitext snippet:

{{Start date|df=y|1967|11|27}} (US LP)
{{Start date|df=y|1967|12|8}} (UK EP)

renders as 27 November 1967 (US LP) 8 December 1967 (UK EP)

What should have happened instead?:
It should be rendering as follows:
27 November 1967 (US LP)
8 December 1967 (UK EP)

due to the inclusion of a new line in the wikitext snippet.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.): Wikipedia Beta v2.7.50453-beta-2023-09-25, Android 13

Mobile web:

Screenshot_2023-10-10-20-00-03-391_org.mozilla.fenix.png (528 KB)

Android beta app:

Screenshot_2023-10-10-19-59-26-309_org.wikipedia.beta.png (1×964 px, 751 KB)