Page MenuHomePhabricator

CodeMirror line numbers overlap “New section” placeholder in 2017 wikitext editor
Closed, ResolvedPublicBUG REPORT

Description

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

  • Ensure the 2017 wikitext editor is enabled
  • Start a new topic on a discussion page by using "Add topic" (or just click here)

What happens?:
The "New section" placeholder overlaps with line numbers

What should have happened instead?:
The placeholder should not overlap

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

Schermata del 2026-04-24 17-15-16.png (960×568 px, 31 KB)

This was reported on itwiki's Village pump (technical). As far as I know, CodeMirror preferences are not available on the 2017 wikitext editor, so line numbers cannot be disabled by the user.

Event Timeline

Change #1277225 had a related patch set uploaded (by Bhsd; author: Bhsd):

[mediawiki/extensions/CodeMirror@master] CodeMirrorVisualEditor: update CSS margin for placeholders

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

Change #1277225 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] CodeMirrorVisualEditor: update CSS margin for placeholders

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

Bhsd claimed this task.
Bhsd moved this task from Bugs to Done on the MediaWiki-extensions-CodeMirror board.