Last modified: 2013-08-06 01:50:31 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 T40429, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38429 - Using multiple file repos that overlap in their collection of files causes extra duplicate images entries
Using multiple file repos that overlap in their collection of files causes ex...
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-16 20:56 UTC by DaSch
Modified: 2013-08-06 01:50 UTC (History)
4 users (show)

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


Attachments

Description DaSch 2012-07-16 20:56:41 UTC
When using more then one ForeignAPIRepo there are some strang things happening

I'm using Commons, german and english Wikipedia as filerepos

Because Wikipedia also uses Commons as a FileRepo the pictures are displayed to have a duplicate and no file description is shown

So the point is, that pictures from a filerepo should be somehow marked as such or not be pushed to the wikis that use it as filerepo.
Comment 1 Bawolff (Brian Wolff) 2012-07-17 12:08:09 UTC
>Because Wikipedia also uses Commons as a FileRepo the pictures are displayed to
>have a duplicate and no file description is shown

Don't use both commons and a wikipedia as a file repo ;). File repos are meant to be cascasive (however that doesn't really help you, as you still have the dupes from using both enwiki and dewiki).

The no file description shown is bug 27111.

>So the point is, that pictures from a filerepo should be somehow marked as such
>or not be pushed to the wikis that use it as filerepo.

Well the api output does mark them as coming from a different repo. However it would be very difficult to be able to match the repo name to the actual repo in general. Thus it would be difficult to be able to determine if the two dupes come from the same repo, or if they're two dupes that are from two separate repos. Maybe we could suppress the dupe notification if both dupes have the same file name (I think that would be reasonably sane, not 100% sure).

I suppose we could have a disabled by default config option to not fetch things from repos that aren't local.
Comment 2 DaSch 2012-07-20 11:01:22 UTC
Okay, well. The biggest problem in my eyes is the problem described in bug 27111 the other effects are not nice, but I can live with that. The missing description is a big problem because the licenses are missing.
Comment 3 DaSch 2012-08-04 10:57:37 UTC
I think the duplicate detection should simply exclude files with identical names
Comment 4 Bawolff (Brian Wolff) 2012-08-19 20:30:08 UTC
(In reply to comment #3)
> I think the duplicate detection should simply exclude files with identical
> names

Gerrit change #20659
Comment 5 Nemo 2012-11-25 00:02:27 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I think the duplicate detection should simply exclude files with identical
> > names
> 
> Gerrit change #20659

No movement there in three months. What about the alternative approach?
Comment 6 Gerrit Notification Bot 2013-05-08 23:17:44 UTC
Related URL: https://gerrit.wikimedia.org/r/62934 (Gerrit Change I9b4f93abd3abc140bd0ae1871d8e7c50be70fc65)
Comment 7 Gerrit Notification Bot 2013-05-08 23:18:42 UTC
https://gerrit.wikimedia.org/r/20659 (Gerrit Change I045544e3391873574286176fd50e8f844cdee348) | change ABANDONED [by Brian Wolff]

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


Navigation
Links