Page MenuHomePhabricator

Work area of New wikitext mode resizes wrongly in the Chinese Wikipedia
Closed, DeclinedPublic

Description

Steps:

  1. Turn on "New wikitext mode" in preference
  2. Edit a page and paste text

Expected:
The work area should be resized every time a new line starts

Actual:
The work area resizes wrongly

Video Link: link
Tested in Chrome 81.0.4044.138 (Official Version) (64 bit) (cohort: Stable)

Event Timeline

Hamishcn renamed this task from Work area of New wikitext mode resizes wrongly to Work area of New wikitext mode resizes wrongly in the Chinese Wikipedia.May 17 2020, 10:17 AM

@Hamishcn: I am trying to replicate this phenomenon on zhwiki as well as on enwiki, but the cursor still follows the input and does not shift. I am using Chrome 83.0.4103.116 on macOS 10.15.5. If possible, please help retry this issue.

JTannerWMF subscribed.

The Editing team can not prioritize this task at this time

matmarex subscribed.

This is probably caused by some interaction of a gadget on zh.wp with our syntax highlighting feature. Your example has just plain text, so it's hard to tell, but this bug seems very similar to issues we saw with syntax highlighting in the past on other wikis.

We are not planning to work on this soon, sorry.

You can toggle the syntax highlighting feature in the menu as seen below, it would be helpful if you could check whether the issue occurs when it's turned off:

image.png (2×3 px, 854 KB)
image.png (2×3 px, 766 KB)

@Hamishcn, this might caused by one of the gadget you have enabled. If possible, it would be great if listing all the gadget you are currently using, so we can find which gadget that cause conflicts with MediaWiki-extensions-CodeMirror.

Aklapper changed the task status from Open to Stalled.EditedJul 27 2020, 7:21 AM

@Hamishcn: Does this also happen in safemode? See https://www.mediawiki.org/wiki/Help:Locating_broken_scripts

Please also answer the other questions in previous comments.

Unfortunately closing this Phabricator task as no further information has been provided.

@Hamishcn: After you have provided the information asked for in the last comments and if this still happens, please set the status of this task back to "Open" via the Add Action...Change Status dropdown. Thanks!