Last modified: 2014-11-17 09:21:09 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 T8808, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6808 - Allow import to different page name
Allow import to different page name
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
unspecified
All All
: Low enhancement with 14 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://nl.wikibooks.org/wiki/special:...
:
Depends on:
Blocks: Wikisource 59194
  Show dependency treegraph
 
Reported: 2006-07-24 20:48 UTC by Effeietsanders
Modified: 2014-11-17 09:21 UTC (History)
10 users (show)

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


Attachments

Description Effeietsanders 2006-07-24 20:48:31 UTC
At the moment, importing pages (when activated) from other wikipediae is only
possible with the same pagename in the source-wiki as in the target-wiki. Is it
possible, just like with uploading images, to have the possibility to give the
page in the targetwiki another name as in the sourcewiki? for example, when we
want to copy the page [[pie]] in wikipedia to [[Coockingbook/pie]] in wikibooks,
because there is a recipe on that page, we can now only import to [[b:pie]], and
then rename it to [[coockingbook/pie]]. This is not very nice of course, but
give problems when there already exists a page with the same name, but with
other content.
Comment 1 Peter van Londen 2006-07-24 20:56:56 UTC
Examples:
1)
"nl:w:Periodiek systeem" I could not import. There was a redirect in the way. I
deleted the redirect and it was still not possible to import into nl.wikibooks.
2) "nl:w:Ei (voeding)" I could not import into wikibooks. Also with underscore
"Ei_(voeding)" it would not work. There is or was no article in wikibooks with
this name (nor "Ei"), so reason unknown.

Good luck
Comment 2 Peter van Londen 2006-07-25 20:49:00 UTC
It seems like that you can not import pages into another wiki, when this page on
the original wiki has more than 100 versions. 
Comment 3 Raimond Spekking 2006-07-25 21:02:07 UTC
The limit for import are 100 revisions. See [[bug 6646]] for creating an
errormessage if import fails.
Comment 4 Sebastian Moleski 2006-08-17 19:19:50 UTC
This problem has gotten more important now that [[v:|Wikiversity]] is up and
huge amounts need to be imported from [[b:|Wikibooks]] and [[m:|Meta]]. Right
now, we import, move and delete the redirect which is awfully tedious when doing
that dozens of times.
Comment 5 William Scales 2006-08-17 19:41:35 UTC
Looking at the code in SpecialImport.php, I don't think that this would be über
hard at all, and in fact I could probably hack something together that would do
this, but I wouldn't count on it actually working.
Comment 6 Dan Li 2006-08-18 05:22:29 UTC
For each <page> element in the outputted xml, there is only one <title> element
that specifies the title of the page. Replacing that with the desired title
should work for the time being. (It's surely easier than import+move+delete
redirect.)
Comment 7 Sebastian Moleski 2006-08-18 09:04:47 UTC
That option only works for XML import, not transwiki import. In other words,
this is a viable temporary solution for individual mediawiki installations but
can't be used on wikimedia setups.
Comment 8 Raimond Spekking 2007-07-18 11:12:54 UTC
Fixed with r24237.
Comment 9 Rob Church 2007-07-18 20:00:48 UTC
Note that this *will break* when we change things so multiple pages can be imported from a remote wiki at once. Import streams can contain a single page, which is what the current implementation of this request hopes for, or they can contain multiple pages, which would cause things to go horribly wrong here.
Comment 10 Brion Vibber 2007-07-18 20:06:21 UTC
Reverted in r24250 for now.
Comment 11 René Kijewski 2008-03-06 05:04:03 UTC
I think it should at be possible the change the destination, if one imports a distinct page. Also to import into the uploaders user space by default could be an option.

If you would allow either one of this possibilities and would enable "importing" out of the same project, one could use it as a page duplicator.
Comment 12 Siebrand Mazeland 2008-08-18 18:55:28 UTC
Mass compoment change: <some> -> Export/Import
Comment 13 db [inactive,noenotif] 2012-10-27 17:57:53 UTC
Since Gerrit change #17809 you can import pages as subpages
Comment 14 Doug 2012-11-03 22:27:20 UTC
So, is this bug fixed?
Comment 15 DaSch 2013-01-22 19:06:41 UTC
I think it would be great if there also where an option to import into a totaly other pagename.

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


Navigation
Links