Last modified: 2014-06-28 22:38:08 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 T65353, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63353 - VisualEditor: Double colons when linking to File/Category
VisualEditor: Double colons when linking to File/Category
Status: RESOLVED DUPLICATE of bug 50279
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-01 09:08 UTC by Lokal_Profil
Modified: 2014-06-28 22:38 UTC (History)
8 users (show)

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


Attachments
Screencast (3.30 MB, video/ogg)
2014-04-01 09:27 UTC, Lokal_Profil
Details

Description Lokal_Profil 2014-04-01 09:08:11 UTC
Intention:
Linking to a file using visual editor

Steps to Reproduce:
1. Edit page on using VE
2. Click add link
3. Enter a filename with File-prefix (e.g. File:Foo.svg)
4. Press enter
5. Press enter again

The same thing happens for categories or if the preceding colon is added manually.


Actual Results:  
4. Inserted text is changed to :File:Foo.svg
5. Inserted text is changed to ::File:Foo.svg

Expected Results:  
4. As result
5. No change

Reproducible: Sometimes

The same thing happens for categories or if the preceding colon is added manually. I can get this to happen repeatedly but occasionally VE will correctly know not to add the second colon (have not identified when though.
Comment 1 Lokal_Profil 2014-04-01 09:27:07 UTC
Created attachment 14992 [details]
Screencast

Added video since this is not 100% reproducible
Comment 2 Elitre 2014-06-03 13:24:59 UTC
Also happening with FF, Win8.
The resulting wikilink works, though.
Comment 3 WhatamIdoing 2014-06-03 18:15:33 UTC
Here's a variation:

1.  Edit page on using VisualEditor.

2.  Type the file name you want (with or without the colon prefix that you want):  File:Example.jpg

3.  Open the link inspector, which will offer to link these files (at least on en.wp):

:File:Example.jpg
File:Example.jpg
File:Example.JPG

4.  Choose the first.  Press enter.  Now it has changed the link target to "::File:Example.jpg" and says "Invalid page title".  (Saving this link will work correctly anyway.)

5.  Alternatively, choose the second, and press enter.  This also works and does not produce the error message.
Comment 4 James Forrester 2014-06-28 22:38:08 UTC
Dupe of 50279 (and now fixed).

*** This bug has been marked as a duplicate of bug 50279 ***

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


Navigation
Links