Description

After upgrade from 1.5.8 to 1.6.1, interwiki links are not working anymore. E.g. I have in my interwiki.txt something like

datasheets  http://local-site/

and a link like

[[wiki:datasheets:/foo.pdf PDF]]

which was migrated to

[[datasheets:/foo.pdf|PDF]]

In 1.5.8 the first variant worked fine and I got a link to my local http site. In 1.6.1 none of both variants works and a non working link into local wiki is generated.

Strangely, the predefined interwikis (e.g. "Why") worl and my interwiki.txt is recognized (tested by changing Why's address).

Steps to reproduce

  1. echo 'datasheets http://foo.example.com/' >> interwiki.txt

  2. add [[datasheets:/foo.pdf|PDF]] to a wiki page

Component selection

Details

MoinMoin Version

1.6.1

OS and Version

CentOS 5.1

Python Version

2.4

Server Setup

Apache HTTP 2.2, mod_python

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

The problem is that your interwiki name does not start with an uppercase letter. 1.5.x was a bit inconsistent there (see the docs/CHANGES entry in the changeset linked below).

You can fix it by using an interwiki name starting with an uppercase letter (this is maybe a bad option if you have many interwiki links using this) or by applying the patch linked below or by checking out the current 1.6 from http://hg.moinmo.in/moin/1.6 or by waiting for 1.6.2 (expected soon).

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/InterwikiLinksNotWorkingAfterUpgrade (last edited 2008-03-09 17:58:54 by ThomasWaldmann)