Opened 17 years ago
Closed 17 years ago
#1995 closed New Feature (duplicate)
[IE] Square brackets are added to external links.
Reported by: | samuel | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Project : MediaWiki+FCKeditor | Version: | FCKeditor 2.5.1 |
Keywords: | Confirmed IE | Cc: |
Description
Mediawiki auto-converts hyperlinks in [ ] to be numbered links such as [1] and [2] if a link-name is not provided. Whereas any URL not encased within [ ] will be simply hyperlinking with the URL as the link name.
FCK editor converts a http://URL into a numbered link by default. Can the default be set to using the URL as the link name instead? This is much more intuitive than using numbered links.
Change History (7)
comment:1 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 follow-up: 3 Changed 17 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I do not think this is a mediawiki issue. It's more how FCK handles the default treatment of an URL input. Just suggesting that this will enhance the usability of the FCKEditor by defaulting to something more relevant. I'll rephrase the situation for clarity:
With FCKEditor today there are 2 situations that happens today.
Scenario 1 : When you type a URL string http://url.url, it auto converts to wiki code as http://url.url. There is no default linkname provided and the auto insertion of the [ ] brackets caused this to result in a numbered link e.g. [1] based on wiki codings. Main reason - the lack of a linkname.
Scenario 2 : When you copy'n'paste a URL of http://url.url into fckeditor, the treatment is different again. It converts to http://url.url. It uses the URL as the linkname. This also converts to a numbered link e.g. [1] based on wiki codings. Main reason - linkname is the same as URL.
Suggestion General behaviour of users when insert URL strings into editors were expecting to see the URL being hyperlinked, with the URL being the linkname. Mediawiki supports that today by simply not encapsulating the URL in [ ] brackets. FCKeditors defaults to converting all links to numbered links by inserting the [ ] for every URL inserted or copy'n-pasted in. There is no way to control whether a user prefers the link to be numbered or to display the URL as the linkname.
Suggest to disable to auto-encapsulating of URL within [ ], and instead, under the triggered hyperlink pop-up window, create a checkbox or button for "Numbered link".
comment:3 Changed 17 years ago by
Did some further testing. Behaviour for Scenario 2 is different when saved. Mediawiki does not convert a URL with Linkname being the same as URL into numbered links.
Suggestion still holds, as a potential new feature which allows better control of "numbered links" considering this is a rich text editor to potentially ease the non-techheads in using wikis. tx
Replying to junosque55:
I do not think this is a mediawiki issue. It's more how FCK handles the default treatment of an URL input. Just suggesting that this will enhance the usability of the FCKEditor by defaulting to something more relevant. I'll rephrase the situation for clarity:
With FCKEditor today there are 2 situations that happens today.
Scenario 1 : When you type a URL string http://url.url, it auto converts to wiki code as http://url.url. There is no default linkname provided and the auto insertion of the [ ] brackets caused this to result in a numbered link e.g. [1] based on wiki codings. Main reason - the lack of a linkname.
Scenario 2 : When you copy'n'paste a URL of http://url.url into fckeditor, the treatment is different again. It converts to http://url.url. It uses the URL as the linkname. This also converts to a numbered link e.g. [1] based on wiki codings. Main reason - linkname is the same as URL.
Suggestion General behaviour of users when insert URL strings into editors were expecting to see the URL being hyperlinked, with the URL being the linkname. Mediawiki supports that today by simply not encapsulating the URL in [ ] brackets. FCKeditors defaults to converting all links to numbered links by inserting the [ ] for every URL inserted or copy'n-pasted in. There is no way to control whether a user prefers the link to be numbered or to display the URL as the linkname.
Suggest to disable to auto-encapsulating of URL within [ ], and instead, under the triggered hyperlink pop-up window, create a checkbox or button for "Numbered link".
comment:4 follow-up: 5 Changed 17 years ago by
Component: | General → Project : MediaWiki+FCKeditor |
---|---|
Keywords: | Pending WorksForMe added |
Version: | → FCKeditor 2.5.1 |
Hi again!
I have the results I would expect. If I type http://olawa.net
manually no changes are made to the link upon save. (you may check it using our sandbox at:
http://mediawiki.fckeditor.net/index.php/Sandbox
If you manually add brackets then the links is shown like this [1]
.
Pasting the link gives the expected behavior and the link isn't transformed as well so it's an expected behavior for me.
Could you please test your examples using the sandbox or view the examples I have provided there.
Thanks.
comment:5 Changed 17 years ago by
Hi there,
Thank you for the attention.
I think the differing test results have been found. I've done 2 tests using IE and firefox respectively. The results for firefox are same as yours. IE on the other hand does not. You can view the test results on the sandbox.
In summary, IE seems to have a unique behaviour where the http:// link is converted upon carriage return or entry of a space character
Best Regards
Replying to w.olchawa:
Hi again!
I have the results I would expect. If I type
http://olawa.net
manually no changes are made to the link upon save. (you may check it using our sandbox at:http://mediawiki.fckeditor.net/index.php/Sandbox
If you manually add brackets then the links is shown like this
[1]
.Pasting the link gives the expected behavior and the link isn't transformed as well so it's an expected behavior for me.
Could you please test your examples using the sandbox or view the examples I have provided there.
Thanks.
comment:6 Changed 17 years ago by
Keywords: | Confirmed IE added; Pending WorksForMe removed |
---|---|
Summary: | Change default hyperlink to using URL as link name instead of numbered link. → [IE] Square brackets are added to external links. |
Hi again!
Ok so the main thing is that IE adds [] brackets to an inserted link but it should behave like FF2 does. A typed link http://test.com
should remain the same and not to be transformed into [1]
.
Thanks for investigating.
Confirmed in IE. Works in FF2.
comment:7 Changed 17 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Hi
Numbering links is a mediawiki issue so it would be hard to change it:
Check out http://meta.wikimedia.org/wiki/Help:Link#External_links for more information..
Thanks.