Page MenuHomePhabricator

Wikitext paste converter not shown on mobile
Closed, ResolvedPublic

Description

  1. Open DT's reply tool or new topic tool, which use the 2017 WTE on mobile.
  2. Switch to source mode
  3. Paste some rich text (e.g. html with links or lists)
  1. Observed: pastes plain with no prompt

image.png (661×417 px, 54 KB)

  1. Expected: the "convert to wikitext" prompt is show, as on desktop:

image.png (644×412 px, 56 KB)

Event Timeline

The mobile context checks to see if the virtual keyboard is visible before showing a context, so we need to suppress the virtual keyboard manually.

Change 916529 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] MWWikitextSurface: Deactivate surface on mobile before showing paste context

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

Change 916529 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] MWWikitextSurface: Deactivate surface on mobile before showing paste context

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

matmarex assigned this task to Esanders.