Last modified: 2013-10-04 21:44:21 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 T56990, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54990 - Special:Import doesn't account for different users with the same username
Special:Import doesn't account for different users with the same username
Status: RESOLVED DUPLICATE of bug 7240
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-04 20:20 UTC by Chris Steipp
Modified: 2013-10-04 21:44 UTC (History)
3 users (show)

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


Attachments

Description Chris Steipp 2013-10-04 20:20:41 UTC
When exporting and importing pages between WMF wikis, edits by a username on the source wiki can be attributed to a different user with the same username on the target wiki. See WikiRevision::importOldRevision().

There probably isn't a good solution for this, other than the form could add a hook to allow centralauth to inject a field that specifies the source wiki, and then a hook to update the user, so CentralAuth could make sure they were the same attached account on both wikis.
Comment 1 Marc A. Pelletier 2013-10-04 21:00:42 UTC
Honestly, with the impending SUL finalization, that seems to be much more trouble than could possibly be justified.

On the other hand, it might be wise if there was an option on import to say that "The authors are external, don't link user_id even if there is a name match" for non-wmf wikis.
Comment 2 Nemo 2013-10-04 21:44:21 UTC
This issue is covered by a dozen of friends of bug 7240.

(In reply to comment #0)
> There probably isn't a good solution for this, other than the form could add
> a
> hook to allow centralauth to inject a field that specifies the source wiki,

This is what the summary of bug 7240 currently proposes, so marking as a duplicate.

> and
> then a hook to update the user, so CentralAuth could make sure they were the
> same attached account on both wikis.

?

(In reply to comment #1)
> Honestly, with the impending SUL finalization, that seems to be much more
> trouble than could possibly be justified.
> 
> On the other hand, it might be wise if there was an option on import to say
> that "The authors are external, don't link user_id even if there is a name
> match" for non-wmf wikis.

user_id for imported revisions is 0

*** This bug has been marked as a duplicate of bug 7240 ***

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


Navigation
Links