Last modified: 2013-10-05 01:14:28 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 T17310, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15310 - Imported edits do not appear in some counts
Imported edits do not appear in some counts
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 15583
  Show dependency treegraph
 
Reported: 2008-08-25 20:05 UTC by Happy-melon
Modified: 2013-10-05 01:14 UTC (History)
5 users (show)

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


Attachments

Description Happy-melon 2008-08-25 20:05:20 UTC
On www.mediawiki.org, I have over fifty imported edits on the page [[mw:User:Happy-melon/Templates]], however, these do not appear in any integrated editcount: the counter in Preferences, and the API ?meta=userinfo&uiprop=editcount and ?list=usercontribs&ucuser=Happy-melon all record only the six edits I actually made directly to the site.  I can see how there could be licensing issues if the usernames represented distinct users on the two wikis, but given that I *am* the same user (both accounts are part of the my SUL and were at the time of the import), shouldn't these numbers account for the imported edits? Regardless, surely the situation whereby the edits *look* like they're from me in histories, contribs, diffs, etc, but aren't recorded as being mine, isn't right?
Comment 1 brianna.laugher 2009-03-26 00:28:35 UTC
To clarify, the page was transwikied from meta to mediawiki.
http://www.mediawiki.org/w/index.php?title=Special:Log&page=User%3AHappy-melon%2FTemplates

I think the mistake is actually that the imported edits are attributed to your mediawiki username at all. See https://bugzilla.wikimedia.org/show_bug.cgi?id=18163 "Importing a page shouldn't attribute the edits to local usernames".
Comment 2 Happy-melon 2009-03-26 11:00:34 UTC
In general I agree with the sentiments of that bug and bug 13798 which it is duped to; *however* when both wikis are part of the SUL network that is not so sensible, as "happy-melon@enwiki" is the *same user* as "happy-melon" on mediawikiwiki.  

I guess the default implementation should be to attribute the edits to the user account on the old site, and add a hook that CentralAuth uses to instead attribute the edits to the local account if it exists. 
Comment 3 Nemo 2013-10-04 21:48:58 UTC
(In reply to comment #0)
> Regardless, surely the situation whereby the edits
> *look* like they're from me in histories, contribs, diffs, etc, but aren't
> recorded as being mine, isn't right?

Special:Contributions was "fixed" because it looks now (also?) for user_id, which for imported edits is 0, so the situation you describe is no longer there.
Anyway, unless the user_id is matched to the local user nothing can or should be done: it would be wrong to consider in any way edits we don't know the author of. 

If that was solved, the only left fragment of this bug would be the need to update some editcounts for the newly matching user_id's, but I wouldn't call that a bug. Closing.

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


Navigation
Links