Page MenuHomePhabricator

Genitive grammar for Norwegian doesn't work with <bdi> tags
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:

  • The title says "Meloss bidrag globalt"

What should have happened instead?:

  • It should say "Melos’ bidrag globalt"

Why it happens:
In this message, and I suspect many other similar messages, the username is surrounded by <bdi> tags. This isn't accounted for in the regex applying the grammar transformation.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Change #1192870 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/core@master] Ignore closing HTML tags in Norwegian's genitive grammar

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

Change #1192870 merged by jenkins-bot:

[mediawiki/core@master] Ignore closing HTML tags in Norwegian's genitive grammar

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

jhsoby claimed this task.