Last modified: 2014-10-20 14:23:23 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 T72758, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70758 - Add Link should not add linked text at random positions
Add Link should not add linked text at random positions
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
ContentTranslation (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Joel Sahleen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-12 07:03 UTC by Runa Bhattacharjee
Modified: 2014-10-20 14:23 UTC (History)
10 users (show)

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


Attachments
Random insertion of link in Content Translation interface (200.85 KB, image/png)
2014-09-12 07:03 UTC, Runa Bhattacharjee
Details
Another example of random insertion of link in Content Translation interface (205.95 KB, image/png)
2014-09-12 07:04 UTC, Runa Bhattacharjee
Details

Description Runa Bhattacharjee 2014-09-12 07:03:03 UTC
Created attachment 16451 [details]
Random insertion of link in Content Translation interface

Description: 

The scenario is when the user adds a translation using the +Add Translation option in the Translation column, and clicks on a link in the Source column for which corresponding link cards in both languages are displayed. If the user clicks the +Add Link option in the link cards section without specifying any cursor position, then text in the target language along with the link is placed at a random location somewhere on the interface. 

Steps to Reproduce:

1. Go to http://cx.wmflabs.org/index.php?title=Special:ContentTranslation&page=Barcelona&from=en&to=bn&targettitle= (needs login)
2. Use '+Add Translation' to copy the first paragraph
3. DO NOT click on the Translation column i.e. the Translation column should not have an active cursor position
4. Click on the link for 'London' in the Source Column. The Link cards should display the link to the article in en and bn Wikipedia
5. Click on the +Add Link option


Actual Behaviour:

A link for London from the bn Wikipedia is inserted between the section heading and the first paragraph . (See attachments)


Expected Behaviour:

It is expected that precise cursor placement will be defined when this development story is addressed: https://wikimedia.mingle.thoughtworks.com/projects/language_engineering/cards/4442

Until that happens, this random addition of links has to be handled and prevented.
Comment 1 Runa Bhattacharjee 2014-09-12 07:04:37 UTC
Created attachment 16452 [details]
Another example of random insertion of link in Content Translation interface
Comment 2 Joel Sahleen 2014-10-20 14:23:23 UTC
This can no longer be reproduced. Appears to have been fixed as part of the refactoring of the LinkCard tool in:

https://gerrit.wikimedia.org/r/#/c/161202/

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


Navigation
Links