Last modified: 2014-11-17 09:21:33 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 T44307, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42307 - Implement a way for admins to blacklist Flickr users
Implement a way for admins to blacklist Flickr users
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: High enhancement with 1 vote (vote)
: ---
Assigned To: Tisza Gergő
:
Depends on:
Blocks: 43450
  Show dependency treegraph
 
Reported: 2012-11-20 22:13 UTC by Lupo
Modified: 2014-11-17 09:21 UTC (History)
7 users (show)

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


Attachments

Description Lupo 2012-11-20 22:13:00 UTC
This is a blocker for deployment to the Commons.

The flickr uploader *must* honor the community-maintained user blacklist at

https://commons.wikimedia.org/wiki/User:FlickreviewR/bad-authors

Otherwise we get far too many flickr-washed files.

The location of the blacklist must be configurable on-wiki.
Comment 1 Alex Monk 2012-11-20 22:22:46 UTC
(In reply to comment #0)
> The location of the blacklist must be configurable on-wiki.

How exactly? As far as I know you can't add a message for configuration any more and creating a whole new special page for this seems like overkill.
Comment 2 Lupo 2012-11-20 22:37:44 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > The location of the blacklist must be configurable on-wiki.
> 
> How exactly? As far as I know you can't add a message for configuration any
> more and creating a whole new special page for this seems like overkill.

"How exactly?" -- not my problem. But I presume if UW is ever to be used on other wikis, one cannot hard-code that blacklist location; and having it in the site-wide config is a very inconvenient approach.

Why can't one use a MediaWiki message for this, which would contain the name of the on-wiki page containing this blacklist?
Comment 3 Lupo 2012-11-20 22:38:04 UTC
Sample flickr URL of an image of a currently blacklisted user:

http://www.flickr.com/photos/endtohell/2194960865/

(No, I don't know off-hand why this user was blacklisted.)
Comment 4 Alex Monk 2012-11-20 23:15:42 UTC
(In reply to comment #2)
> But I presume if UW is ever to be used on
> other wikis, one cannot hard-code that blacklist location; and having it in the
> site-wide config is a very inconvenient approach.
You are correct, if this blacklisting feature is implemented it must not be hardcoded to Wikimedia Commons.

> Why can't one use a MediaWiki message for this, which would contain the name of
> the on-wiki page containing this blacklist?
Configuration-by-message is a bad thing and to be discouraged.
Comment 5 Lupo 2012-11-21 06:47:33 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > Why can't one use a MediaWiki message for this, which would contain the name of
> > the on-wiki page containing this blacklist?
> Configuration-by-message is a bad thing and to be discouraged.

Why?
Comment 6 Lupo 2012-11-21 06:56:06 UTC
I strongly disagree with the classification of this bug as a mere "enhancement". Trust me, I know the Commons, and as the author of Flinfo, I know that the blacklisting ability is *crucial* for acceptance of this whole thing at the Commons.

Without blacklisting ability, this will fall through. (Rightly so, I think. Flickrwashing is a perennial problem, and some blacklisting mechanism is the only way Commons can currently fight it.)

Whether a blacklist is the best mechanism is open to discussion; if you can come up with some more clever scheme that also works, all the better. If a blacklist is used, where it is located is also not that important, but in any case the blacklist must be (a) available for Commons admins to modify, and (b) accessible by external tools.
Comment 7 Isarra 2012-11-21 07:01:10 UTC
I would like to second everything Lupo just said.
Comment 8 Nischay Nahata 2012-11-21 11:06:51 UTC
I think we will need an API to find if a user is blacklisted, not sure how to store/make this list
Comment 9 Andre Klapper 2012-11-21 15:17:23 UTC
(In reply to comment #6)
> I strongly disagree with the classification as a mere "enhancement".

New functionality is by definition severity = "enhancement", no matter how important it is or not. You can express priority by the priority field.
Comment 10 Isarra 2012-11-24 08:17:19 UTC
Which field is the severity and which the priority, though? And if an enhancement is a blocker, which wording would be more likely to bring in needed eyes, or would either?

And does saving a comment save other fiddling with this thing?
Comment 11 Andre Klapper 2012-11-26 17:11:41 UTC
(In reply to comment #10)
> Which field is the severity and which the priority, though?

First is priority, second is severity. The UI is really bad, yeah. :(

>  And if an enhancement is a blocker, which wording would be more likely 
> to bring in needed eyes, or would either?

Good arguments, CC'ing people, setting an appropriate priority, maybe voting.

> And does saving a comment save other fiddling with this thing?

Yes, it saves ALL changes.
Comment 12 Nischay Nahata 2013-01-06 04:45:15 UTC
A config parameter can be set which points to the page where such a list exists.. It will be the responsibility of the admins to protect this page. Flickr can blacklist a user by just matching with this page, but this has to be done on the client side using an AJAX call.
Is this proposal fine?
Comment 13 Nischay Nahata 2013-01-08 15:41:22 UTC
Fix attempt for single photo uploads only https://gerrit.wikimedia.org/r/#/c/42770/
Comment 14 Nischay Nahata 2013-01-29 05:02:53 UTC
(In reply to comment #13)
> Fix attempt for single photo uploads only
> https://gerrit.wikimedia.org/r/#/c/42770/

This tries to only validate users on client-side, a check on the server side need to be implemented too. I guess this has to be done in the APIUpload with support from UploadWizard by a hook maybe?
Comment 15 Nischay Nahata 2013-02-07 05:48:19 UTC
Removing assigned as I am not working on server-side implementation.
Comment 16 Nischay Nahata 2013-05-23 10:31:58 UTC
Was waiting on this for some consensus and advice. That didn't come in much amount so I am trying to rework on this myself again.

https://gerrit.wikimedia.org/r/#/c/65102/
Comment 17 Gerrit Notification Bot 2013-05-23 11:45:10 UTC
Related URL: https://gerrit.wikimedia.org/r/65109 (Gerrit Change I97f8be973e942a732b9873c3b05f2e7790940503)
Comment 18 Gerrit Notification Bot 2013-07-24 17:16:21 UTC
Change 65102 merged by jenkins-bot:
hook to intercept upload_by_url

https://gerrit.wikimedia.org/r/65102
Comment 19 Andre Klapper 2013-09-25 09:50:30 UTC
Nischay: Patch got merged - can this bug report be closed as RESOLVED FIXED or is more work required?
Comment 20 Nischay Nahata 2013-09-25 18:25:09 UTC
I think this will need some more work, maybe in the TitleBlacklist extension or UW  where the hook I created should be used. 

I am not working on this currently so resetting assignee.
Comment 21 Gerrit Notification Bot 2014-01-01 17:16:38 UTC
Change 42770 had a related patch set uploaded by Gergő Tisza:
A way to blacklist flickr users.

https://gerrit.wikimedia.org/r/42770
Comment 22 Gerrit Notification Bot 2014-01-17 22:44:49 UTC
Change 65109 merged by jenkins-bot:
Add blacklisting feature for flickr in backend

https://gerrit.wikimedia.org/r/65109
Comment 23 Gerrit Notification Bot 2014-01-17 22:45:00 UTC
Change 42770 merged by jenkins-bot:
A way to blacklist flickr users.

https://gerrit.wikimedia.org/r/42770
Comment 24 Tisza Gergő 2014-01-17 22:56:45 UTC
Should be done. Accepts usernames (the ones in the URL - Flickr calls them path_alias) as well. You can use # at the beginning of the line for comments.
Comment 25 Tisza Gergő 2014-01-17 23:20:30 UTC
(In reply to comment #0)
> The location of the blacklist must be configurable on-wiki.

It is now configurable per-wiki, but not on-wiki. (That seemed pointless - how often does the location of the blacklist change?)
Comment 26 Gerrit Notification Bot 2014-01-17 23:22:31 UTC
Change 108167 had a related patch set uploaded by Gergő Tisza:
Make UploadWizard respect the Flickr blacklist on Commons

https://gerrit.wikimedia.org/r/108167
Comment 27 Tisza Gergő 2014-01-17 23:35:07 UTC
Also includes a new API - search for flickrblacklist at https://commons.wikimedia.beta.wmflabs.org/w/api.php
Comment 28 Gerrit Notification Bot 2014-01-22 19:17:51 UTC
Change 108167 merged by jenkins-bot:
Make UploadWizard respect the Flickr blacklist on Commons

https://gerrit.wikimedia.org/r/108167
Comment 29 Andre Klapper 2014-04-25 06:59:37 UTC
All patches merged a while ago - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?

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


Navigation
Links