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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13344, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11344 - Special:Import displays wrong links to imported articles
Special:Import displays wrong links to imported articles
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.11.x
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://krefeldwiki.de/wiki/Special:Im...
:
: 15918 (view as bug list)
Depends on:
Blocks:
  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: ---


Attachments

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 http://krefeldwiki.de - 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...
</p><ul>
<li><a href="/wiki/Krefeld" title="Krefeld">Krefeld</a> 0 revisions</li>
<li><a href="http://en.wikipedia.org/wiki/WikiProjekt_Krefeld" 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="http://en.wikipedia.org/wiki/Krefeld" 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.


Navigation
Links