Last modified: 2014-11-03 23:03:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74625, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72625 - VisualEditor: After saving the page, external links in media always take preference in auto-numbering irrespective of their locations
VisualEditor: After saving the page, external links in media always take pref...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Low trivial
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-28 14:49 UTC by Ritu Swain
Modified: 2014-11-03 23:03 UTC (History)
8 users (show)

See Also:
Web browser: Google Chrome
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Auto numbers generated before saving the page. (17.09 KB, image/png)
2014-10-28 14:57 UTC, Ritu Swain
Details
Numbers change after saving the document (14.92 KB, image/png)
2014-10-28 14:58 UTC, Ritu Swain
Details

Description Ritu Swain 2014-10-28 14:49:49 UTC
Environment- test2, beta, production

1> insert an external link to a blank page. Number generated for this link is “1”.
2> hit enter a couple of times, to move the cursor down
3> Click to insert media ,in the media settings dialog enter  the same external link in the caption sub-editor.Click to insert.
4> notice the auto-numbers generated beside the external links.Number generated for the link in media is “2”.
5> Save the page. And notice that the media file external link’s auto-number has now changed to #1 and the external link in the page is #2.

See screencast.
Comment 1 Ritu Swain 2014-10-28 14:56:01 UTC
See screenshots.
Comment 2 Ritu Swain 2014-10-28 14:57:16 UTC
Created attachment 16927 [details]
Auto numbers generated before saving the page.
Comment 3 Ritu Swain 2014-10-28 14:58:18 UTC
Created attachment 16928 [details]
Numbers change after saving the document
Comment 4 etonkovidova 2014-11-01 00:45:58 UTC
Confirmed in betalabs - the steps to reproduce the bug are exactly as described by Ritu.
Comment 5 James Forrester 2014-11-03 23:03:59 UTC
This feels like we should fix this in MediaWiki rather than in VisualEditor. Alternatively, we could just wait for Parsoid HTML for read mode to come along, which fixes this that way instead. Meh.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links