Last modified: 2014-11-17 09:21:09 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
"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.
It seems like that you can not import pages into another wiki, when this page on
the original wiki has more than 100 versions.
The limit for import are 100 revisions. See [[bug 6646]] for creating an
errormessage if import fails.
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.
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.
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
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.
Fixed with r24237.
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.
Reverted in r24250 for now.
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.
Mass compoment change: <some> -> Export/Import
Since Gerrit change #17809 you can import pages as subpages
So, is this bug fixed?
I think it would be great if there also where an option to import into a totaly other pagename.