Ticket #1543 (closed Bug: fixed)

Opened 2 years ago

Last modified 19 months ago

FCKEditor breaks Interwiki links

Reported by: dbasulto Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version: SVN (FCKeditor)
Keywords: Confirmed Cc:

Description

When using  InterWiki links, FCKEditor translates them to regular wiki links, breaking its functionability.

IE:

[w:Barcelona] gets translated to a link to  http://en.wikipedia.org/wiki/Barcelona when using InterWiki capabilities.

FCKEditor converts that syntax into:

[[W:Barcelona|w:Barcelona]]

converting it into a regular Wiki link to page W:Barcelona

Change History

Changed 2 years ago by fredck

  • component changed from General to Project : MediaWiki+FCKeditor

Changed 2 years ago by cvh

I use 2 wiki for 2 languages and make use of interwiki links: fr:Main-Page and nl:Main-Page When I read a page with interwiki link, the source contains the link and it works well. But when I edit the page with FCKeditor the link disappears from de textarea and if I save the link is irremediably lost is ther a pragmatic solution to avoid this ? I use MediaWiki: 1.11.0 and fck/mw-extension (0.7.4) 2007 (07-02-2007)

Changed 2 years ago by w.olchawa

  • status changed from new to closed
  • resolution set to duplicate

I'm setting this ticket as DUP of #1883 because we have more information about this issue in that ticket.

Changed 2 years ago by evan

This is not a dupe of 1883! This is about interwiki links, which are rendered in the page as regular <a> links. That's different from interlanguage links, which are rendered outside the main text of the page (in a special menu on the left-hand sidebar, in the default skin).

For example, on the Vinismo article about Italian wine,  http://vinismo.com/en/Italy , there's an interwiki link to the Wikipedia article on Italian wine. It looks like "[ wine]". It renders in the text of the article.

There's also an interlanguage link to the French Vinismo article about Italian wine at  http://vinismo.com/fr/Italie . The code looks like "[[fr:Italie]]", and it renders on the left sidebar. Different MW skins put interlanguage links in different pages, but they almost always end up outside the main flow of text.

So: there are two different problems here; it's probably a bad idea to try to combine them.

Changed 2 years ago by w.olchawa

  • status changed from closed to reopened
  • resolution duplicate deleted

Sorry Evan. I misunderstood the reporter. I'm reopening this ticket.

Thanks for help.

Changed 2 years ago by EricBloch

I'm using a recent mediawiki+fckeeditor integration and what I see is that the editor rewrites my interwiki links. Suppose I have [[foo:bar]] mapped to  http://foo.com/bar. The editor will take [[foo.bar]] wikitext and rewrite it to

the actual expanded URL  foo:bar. This is workable, but a pain when I need to modify the mapping from foo:bar to  http://foo2.com/bar]

I suspect this is an error in the integration and no fckeditor per se, but I don't know.

Changed 2 years ago by EricBloch

Gasp. The editor ate some of my formatting. Let me try again.

I'm using a recent mediawiki+fckeeditor integration and what I see is that the editor rewrites my interwiki links. Suppose I have [[foo:bar]] mapped to http://foo.com/bar The editor will take [[foo.bar]] wikitext and rewrite it to the actual expanded URL [http://foo2.com/bar foo:bar]. This is workable, but a pain when I need to modify the mapping from foo:bar to

I suspect this is an error in the integration and no fckeditor per se, but I don't know.

Changed 2 years ago by w.olchawa

#2030 has been marked as DUP

Changed 2 years ago by EricBloch

Fwiw, the description is #2030 describes a similar but slightly different rewriting, if that makes a difference.

Changed 2 years ago by w.olchawa

  • keywords Confirmed added
  • version set to SVN

Confirmed using IE and FF2 at MW 1.12 and SVN version of FCKeditor

Changed 2 years ago by wwalc

  • status changed from reopened to closed
  • resolution set to fixed

Fixed with [1852].

Changed 2 years ago by EricBloch

  • status changed from closed to reopened
  • resolution fixed deleted

I just took last nights fckeditor build and plopped it into my mediawiki and I'm still seeing the issue I reported in #2030

[[foo:bar]] is being re-written as  foo:bar

Changed 2 years ago by EricBloch

Ach I forget to do the write formatting here agin.

[[foo:bar]]

is being rewritten as

[http://foo/bar  foo:bar]

Changed 2 years ago by wwalc

Fixed bug with overwriting interwiki link description (introduced with [1859]): [1930].

EricBloch: I can't reproduce this issue in our Sandbox:  http://mediawiki.fckeditor.net/index.php/1543 (remember to clear your browsers cache).

Changed 19 months ago by wwalc

  • status changed from reopened to closed
  • resolution set to fixed

Marking as fixed because the original issue has been fixed, please create another ticket to report issue with [[foo:bar]] if you still are able to repoduce it (I can't).

Note: See TracTickets for help on using tickets.