Brian Wolff has uploaded a new change for review.

Change subject: (bug 38429) Add var to suppress listing dupes from diff repo 
w/same name
......................................................................

(bug 38429) Add var to suppress listing dupes from diff repo w/same name

People who include the same foreign file repo twice end up with
a lot of excess "this file is a duplicate" warnings

Add variable to discard any duplicate listing files that have the
same name as the current file, on the image description page.
Special:FileDuplicateSearch is unaffected by the variable.

Previous behaviour is still the default.

(for example if you include de.wikipedia.org and en.wikipedia.org as
foreign file repos you end up with commons twice, because
foreign file repos are cascasive).

I suppose an alternative approach would have been to disable dupe
listings on non-local files.

Change-Id: I045544e3391873574286176fd50e8f844cdee348
---
M RELEASE-NOTES-1.20
M includes/DefaultSettings.php
M includes/WikiFilePage.php
3 files changed, 20 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/59/20659/1
--
To view, visit https://gerrit.wikimedia.org/r/20659
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I045544e3391873574286176fd50e8f844cdee348
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <bawolff...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to