Last modified: 2011-02-19 20:36: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 27486 - Special:Import ignoring destination namespace, providing incorrect source in logs
Special:Import ignoring destination namespace, providing incorrect source in ...
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 26676 27339
  Show dependency treegraph
Reported: 2011-02-17 05:08 UTC by aaron.adrignola
Modified: 2011-02-19 20:36 UTC (History)
3 users (show)

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


Description aaron.adrignola 2011-02-17 05:08:29 UTC
Transwiki imports are not working correctly since the update to 1.17 at en.wikibooks.

Importing a page from the Category namespace at Wikipedia results in imports only to the Category namespace even if another destination namespace is selected.

Importing a page from the mainspace goes to mainspace even if Transwiki namespace is selected as destination.  You get the idea.

Additionally, if a different destination namespace is selected, the import log shows "X revisions from w:<Destination namespace>:<Page name>", breaking attribution because the page imported doesn't exist at that namespace in the source wiki.

In the linked log you can see on February 7 v:Help:Quiz was imported to b:Transwiki:Quiz, but after the upgrade, the import on February 15 sent "w:Wet weather driving" to mainspace and showed "w:Transwiki:Wet weather driving" as the source.  That should have been where it was supposed to go.

Seems like some inputs are getting reversed.  Imports only work as expected if source and destination namespaces match.
Comment 1 Graham87 2011-02-17 10:12:51 UTC
The same problem occurs in the English Wikipedia. I tried to import the page "ManningBartlett" to the MediaWiki talk namespace (which I regularly use because it's uncommon), and it imported it into the main namespace instead. The import log also shows the same problems as it does on Wikibooks.
Comment 2 Mark A. Hershberger 2011-02-17 19:19:38 UTC
fixing tracking bug since we've already deployed.
Comment 3 Derk-Jan Hartman 2011-02-19 20:36:11 UTC
Fixed in r82482

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