Last modified: 2014-02-12 23:35:47 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 T47679, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45679 - Special:Import should translate interwiki/internal links
Special:Import should translate interwiki/internal links
Status: NEW
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.21.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-03 22:58 UTC by Dominic
Modified: 2014-02-12 23:35 UTC (History)
3 users (show)

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


Attachments

Description Dominic 2013-03-03 22:58:47 UTC
Using the Special:Import function should automatically translate interwiki/internal links, so that import does not break links. For example, a page imported from outreachwiki to enwiki should change internal "[[links]]" in the original to "[[outreach:links]]" in the output, and it should also change any interwiki links in the original that point to the target wiki, like "[[w:links]]" into internal "[[links]]" in the output.

See this example, where broken links resulting from the import had to be cleaned up: http://en.wikipedia.org/w/index.php?title=Wikipedia:GLAM/US/Final_Report&diff=541955908&oldid=541954465
Comment 1 Dominic 2013-03-03 23:07:45 UTC
For completeness, it should probably also correct for the project family when importing, too. For example, a "[[:es:link]]" link in enwiki goes to Spanish Wikipedia, but when imported to another project family, it would go to the Spanish version of that project, so an import to a Wiktionary should change the links to "[[es:w:link]]".
Comment 2 Platonides 2013-03-05 10:13:15 UTC
Looks a good idea, but take into account that a) The interwikis should exist at the other wiki / have another name... b) if you are importing several pages, you probably want the links between them to be kept (not changed to point to the original wiki) c) What if an internal link points to a page previously imported?

In any case, it should be optional behavior.

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


Navigation
Links