Page MenuHomePhabricator

Categories not shown when switched from source editor
Open, Needs TriagePublic

Description

Steps to reproduce

  1. Open any article on cswiki
  2. Click Editovat zdroj (Edit source)
  3. Switch to VisualEditor
  1. Open any article on cswiki
  2. Click Editovat (Edit)
  3. Compare

Expected behavior
Both results should look the same, there should be no difference between article directly opened in VE or switched from source editor.

Current behavior
When switched from source editor to VE, categories at the bottom of the page in VE are missing.

Configuration
reproduced in Firefox 75.0, but reported also for Chrome, IE and Safari: https://cs.wikipedia.org/wiki/Wikipedie:Pod_l%C3%ADpou_(technika)#Mizej%C3%ADc%C3%AD_kategorie

Event Timeline

Dvorapa created this task.Apr 29 2020, 11:00 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 29 2020, 11:00 AM
Dvorapa updated the task description. (Show Details)Apr 29 2020, 2:32 PM

It's not only on cs.wiki, I tested it on sk.wiki, pl.wiki and de.wiki.

Change 612403 had a related patch set uploaded (by DLynch; owner: DLynch):
[mediawiki/extensions/VisualEditor@master] Always rebuild category list from Parsoid data on surfaceReady

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

This problem also occurs when you're using a single edit tab and open the editor from an &action=edit URL, and the patch also resolves that case.

Change 612403 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Always rebuild category list from Parsoid data on surfaceReady

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