Description

InterWiki links are not quoted. This might break those links on some browsers that will use wrong encoding for the url.

Example

This is the html source we get:

<a href="/Aktuelle%c3%84nderungen">AktuelleÄnderungen</a>

<a class="interwiki" title="MoinMoin" href="/AktuelleÄnderungen"><img src="/wiki/modern/img/moin-inter.png" alt="[MoinMoin]" height="16" width="16">AktuelleÄnderungen</a>
</li>

Details

Moin 1.3

Workaround

None

Discussion

Our urls must be quoted or they are not valid. If we put unquoted url in the page, we don't know how the url will be handled by the browser.

That will mean we use url-encoded utf-8 strings for URLs (%xx%xx), like moin understands them. It won't be correct for any wiki as we don't know how they encode their non-ascii URLs. It won't be even correct for older moin wikis. But it maybe is more correct than directly using utf-8 chars in URLs.

We don't care what is the broken non standard way some wiki chose to represent non-ascii values (like moin pre 1.3 way). We just have to produce standard url, if the other side does not know how to handle standards, we can't help them. -- NirSoffer 2005-01-10 11:33:23

Reference:

Both recommend two step process:

  1. Encoding into utf-8
  2. Replace each non-ascii value with %HH, HH is the hexadecimal value

We already use this process for internal links, we should use it also for external links. -- NirSoffer 2005-01-10 11:46:54

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/InterWikiLinksNotQuoted (last edited 2007-10-29 19:06:04 by localhost)