Last modified: 2014-07-25 11:32:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11344 - Special:Import displays wrong links to imported articles
Special:Import displays wrong links to imported articles
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 15918 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-09-14 22:10 UTC by Purodha Blissenbach
Modified: 2014-07-25 11:32 UTC (History)
3 users (show)

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


Description Purodha Blissenbach 2007-09-14 22:10:00 UTC
We use Special:Export to retrieve some articles and project opages from the German Wikipedia, and Special:Import on - a list of pages and numer of versions imported is shown as as a result. Page names are links, which usually link into the wiki of the upload. The project pages - having the namespace prefix "wikipedia" are incorrectly linked to the English Wikipedia.
Here is a piece of the html of the import response page:

                        <p>Importing pages...
<li><a href="/wiki/Krefeld" title="Krefeld">Krefeld</a> 0 revisions</li>
<li><a href="" title="wikipedia:WikiProjekt Krefeld">wikipedia:WikiProjekt Krefeld</a> 1 revision</li>
<li><a href="/wiki/Einwohnerentwicklung_von_Krefeld" title="Einwohnerentwicklung von Krefeld">Einwohnerentwicklung von Krefeld</a> 1 revision</li>
<li><a href="" title="wikipedia:Krefeld">wikipedia:Krefeld</a> 1 revision</li>
<li><a href="/wiki/Adalbert-Stiftung-Krefeld" title="Adalbert-Stiftung-Krefeld">Adalbert-Stiftung-Krefeld</a> 1 revision</li>
<li><a href="/wiki/Bahnbetriebswerk_Krefeld" title="Bahnbetriebswerk Krefeld">Bahnbetriebswerk Krefeld</a> 1 revision</li>
<li><a href="/wiki/Botanischer_Garten_Krefeld" title="Botanischer Garten Krefeld">Botanischer Garten Krefeld</a> 1 revision</li>
<li><a href="/wiki/Bundesstra%C3%9Fe_9" title="Bundesstraße 9">Bundesstraße 9</a> 1 revision</li>
<li><a href="/wiki/Bundesstra%C3%9Fe_288" title="Bundesstraße 288">Bundesstraße 288</a> 1 revision</li>
<li><a href="/wiki/Burg_H%C3%BCls" title="Burg Hüls">Burg Hüls</a> 1 revision</li>

This appear to me to be the result of a misinterpretation of the namespace prefix as an interwiki prefix.

There are two potential fixes. Both should be applied.

1) Always make the list entries in the result page link to the local wiki. This is the 'real' remedy.

2) Fix bug 5570. This would have avoided the wrong links in our case, but is not a general solution.
Comment 1 Siebrand Mazeland 2008-08-18 18:55:31 UTC
Mass compoment change: <some> -> Export/Import
Comment 2 Purodha Blissenbach 2009-02-26 11:47:16 UTC
Note, the above link under 2) was misyped. It should go to bug 5770 indeed.
Comment 3 This, that and the other (TTO) 2014-07-25 11:30:14 UTC
Import of such pages (wikipedia:Foo etc) would now be disallowed as an invalid title, unless you specify a target namespace or root page.
Comment 4 This, that and the other (TTO) 2014-07-25 11:32:11 UTC
*** Bug 15918 has been marked as a duplicate of this bug. ***

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