Page MenuHomePhabricator

[iOS Safari on desktop site] References do not get updated
Closed, DuplicatePublic

Description

I encounter a bug in the Web visual editor: what you see is not what you get.

I go to the page: fr.wikipedia.org/wiki/homme_de_Kennewick
I click modifier, to edit the article.
I get the Web visual editor.
I edit the article...
I click on a ref call. I change the ref.

Expected result: In the part Références at the end of the article, the ref has changed.

Observed result: In the part Références at the end of the article, the ref has not changed.

It would be nice to resolve this bug.

Thank you.

I have Saf on iOS 8.2 on an iPad.

Nnemo

Event Timeline

Nnemo raised the priority of this task from to Needs Triage.
Nnemo updated the task description. (Show Details)
Nnemo subscribed.
Nnemo renamed this task from In th Web visual editor, update the refs to In the Web visual editor, update the refs.Oct 25 2015, 8:01 AM
Nnemo awarded a token.
Nnemo set Security to None.
Aklapper renamed this task from In the Web visual editor, update the refs to References do not get updated.Oct 25 2015, 9:12 AM
Aklapper removed a project: MediaWiki-General.

@Nnemo: Thanks! What does "I change the ref" mean, for better steps to reproduc? (Also, could you try to avoid adding "MediaWiki-General-or-Unknown" to VisualEditor bugs? Thanks!)

Esanders renamed this task from References do not get updated to References do not get updated in iOS.Oct 26 2015, 10:01 AM
Esanders renamed this task from References do not get updated in iOS to [iOS Safari on desktop site] References do not get updated.
Esanders triaged this task as Low priority.
Jdforrester-WMF lowered the priority of this task from Low to Lowest.Oct 26 2015, 3:52 PM
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.

@Nnemo: Thanks! What does "I change the ref" mean, for better steps to reproduc?

I click the ref call. I get the ref dialog with the content of the ref. I change the content of the ref. I validate the change in the ref dialog.

Ciencia_Al_Poder subscribed.

This is not an iOS-safari problem only. This happens also on Mozilla Firefox and Google Chrome:

For example, I was fixing the [2] reference of this page, using Visual Editor, and when I changed it, the references section at the bottom of the page didn't reflect the change:

References-not-updated.png (531×1 px, 55 KB)

Note that this happens only during page editing. When the page is saved, the references section is updated correctly on page view. Note also that there's not a "display preview" since VE is supposed to be the preview. This was a very awkward user experience for me.

I'm wondering if some modification has been introduced so only the edited parts of the page are re-rendered in Visual Editor instead of the whole page (to save resources), and it didn't took in account the references part, which should be updated when other parts of the page change.

This is not an iOS-safari problem only. This happens also on Mozilla Firefox and Google Chrome:

No. The bug you're reporting is T52769: Adding or updating a reference in VisualEditor does not update fake references blocks inside templates, and is caused by using {{Listaref}} instead of the proper <references />.

@Jdforrester-WMF I don't see how is it different from T52769, that page has not a <references /> but a template containing it... This looks like a duplicate

@Jdforrester-WMF I don't see how is it different from T52769, that page has not a <references /> but a template containing it... This looks like a duplicate

Aha, you're right; when I looked at it I believe I thought it was using a real reference list. Will merge.