Page MenuHomePhabricator

Error when trying to delete references on articles
Closed, DuplicatePublic

Description

I got a error trying to delete the references on multiples articles (Lady (Hear Me Tonight) ; Daft Punk ; Big Bang... maybe all?).

Error: Expected [{"type":"mwReference","attributes":{"listIndex":3,"listGroup":"mwReference/","listKey":"auto/2","refGroup":"","refListItemId":"mw-reference-text-cite_note-4"}},{"type":"/mwReference"}] but got [{"type":"mwReference","attributes":{"mw":{"name":"ref","attrs":{},"body":{"id":"mw-reference-text-cite_note-4"}},"listIndex":3,"listGroup":"mwReference/","listKey":"auto/2","refGroup":"","contentsUsed":true,"refListItemId":"mw-reference-text-cite_note-4"}},{"type":"/mwReference"}]

Event Timeline

Lofhi renamed this task from Error when trying to delete a specific reference to Error when trying to delete references.Sep 27 2019, 8:02 PM
Lofhi updated the task description. (Show Details)

Finally, it's not specific to a reference and I have the same problem on at least one other article and with another browser (Chromium). Another contributor (@Bastenbas) has tested the same procedure and gets the same error.

Lofhi renamed this task from Error when trying to delete references to Error when trying to delete references on articles.Sep 27 2019, 8:29 PM
Lofhi updated the task description. (Show Details)

Change 541088 had a related patch set uploaded (by Divec; owner: Divec):
[VisualEditor/VisualEditor@master] TreeModifier: Ignore more attributes when validating linear data

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