Page MenuHomePhabricator

[edit] link showing inside the mobile visual editor
Open, Needs TriagePublic

Description

The

[
e
d
i
t
]

bit should not be there.

Event Timeline

Restricted Application added a project: VisualEditor. · View Herald TranscriptMar 8 2019, 7:24 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This does not occur on most pages. I have divined that you see this on https://m.mediawiki.org/wiki/Editor#/editor/0, and it indeed happens on that page. It also happens on desktop.

Apparently this is because the page is translateable, and the heading is wrapped in <translate>…</translate> tags. I'm pretty sure someone has told me once upon a time that this is a bad practice (and the tags should be inside the heading, like this: == <translate>Current</translate> ==)

marcella moved this task from To Triage to Freezer on the VisualEditor board.Mar 12 2019, 3:15 PM