Page MenuHomePhabricator

ERayfield (Ellen Rayfield)
Disabled

User Details

User Since
Sep 15 2021, 6:22 PM (135 w, 5 d)
Roles
Disabled
LDAP User
Unknown
MediaWiki User
ERayfield (WMF) [ Global Accounts ]
This account has been disabled.

Recent Activity

Aug 17 2023

ERayfield added a comment to T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.

ON HOLD - (unless someone wants to pick it up) UNTIL 28 AUG 2023
due to a lack of understanding of the PHP unit tests, this ticket is on hold until I return from PTO unless someone wants to play with the code - please drop a line to me if you decide to do that.

Aug 17 2023, 3:57 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Aug 16 2023

ERayfield added a comment to T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.

Just noticed on wiki/Special:Upload that we allow png, fig, jpg, jpeg and webp - However, PhotoDNA does not check webp files. Also, we list the Max file size to upload as Maximum file size: 100 MB, but photoDNA will require that size to be shrunk

image.png (734×1 px, 45 KB)

Aug 16 2023, 7:08 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Aug 14 2023

ERayfield updated the task description for T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.
Aug 14 2023, 5:25 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.

T341221 and T336576 have been folded into this ticket

Aug 14 2023, 5:24 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield updated the task description for T336576: Modify script to take image from database and upload images directly to PhotoDNA.
Aug 14 2023, 5:22 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T336576: Modify script to take image from database and upload images directly to PhotoDNA.

This is done in T339988

Aug 14 2023, 5:21 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield closed T336576: Modify script to take image from database and upload images directly to PhotoDNA as Invalid.
Aug 14 2023, 5:20 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield closed T336576: Modify script to take image from database and upload images directly to PhotoDNA, a subtask of T336069: [EPIC] Run a successful manual scan with MediaModeration's ModerateExistingFiles maintenance script, as Invalid.
Aug 14 2023, 5:20 PM · Trust and Safety Tools Team Backlog, MediaModeration
ERayfield added a comment to T341221: Send one file at a time to PhotoDNA.

This has been done in T339988

Aug 14 2023, 5:18 PM · MediaModeration, Trust and Safety Tools Team Backlog (Kanban)
ERayfield updated the task description for T341221: Send one file at a time to PhotoDNA.
Aug 14 2023, 5:17 PM · MediaModeration, Trust and Safety Tools Team Backlog (Kanban)
ERayfield closed T341221: Send one file at a time to PhotoDNA, a subtask of T336069: [EPIC] Run a successful manual scan with MediaModeration's ModerateExistingFiles maintenance script, as Invalid.
Aug 14 2023, 5:17 PM · Trust and Safety Tools Team Backlog, MediaModeration
ERayfield closed T341221: Send one file at a time to PhotoDNA as Invalid.
Aug 14 2023, 5:17 PM · MediaModeration, Trust and Safety Tools Team Backlog (Kanban)

Aug 2 2023

ERayfield added a comment to T303327: Add noop ModerationCheck class for the MediaModeration extension.

if this is done, we will need to consider that the image check amount is x amount of free checks per month - I think this is not supposed to be available to the general public, due to the limit of images per month. We still have not gone through all of the photos of the primary products WMF supports.

Aug 2 2023, 12:57 PM · Trust and Safety Tools Team Backlog, MediaModeration

Aug 1 2023

ERayfield added a comment to T336576: Modify script to take image from database and upload images directly to PhotoDNA.

modify the email to include the prefixed Title name - what title? title of image? title of person being emailed? needs clarification

Aug 1 2023, 1:40 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jul 31 2023

ERayfield added a comment to T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.

Response 200
Name Description
Status Status codes and corresponding descriptions:
3000: OK
3002: Invalid or missing request parameter(s)
3004: Unknown scenario or unhandled error occurred while processing request
3206: The given file could not be verified as an image
3208: Image size in pixels is not within allowed range (minimum size is 160x160 pixels; maximum size is 4MB)
TrackingId UniqueID that identifies this individual request.
IsMatch Boolean value indicating whether the submitted image matched a known image

Jul 31 2023, 11:17 AM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T336576: Modify script to take image from database and upload images directly to PhotoDNA.
Jul 31 2023, 11:16 AM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jul 25 2023

ERayfield added a comment to T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.

Have emailed PhotoDNA requesting clarification of limits on image size. What I had from the website is no longer there, so am keeping my fingers crossed that they have dropped those requirements.

Jul 25 2023, 4:00 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield updated the task description for T336576: Modify script to take image from database and upload images directly to PhotoDNA.
Jul 25 2023, 2:25 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jul 19 2023

ERayfield added a comment to T336576: Modify script to take image from database and upload images directly to PhotoDNA.

Create an additional parameter to the maintenance script (--send-image-contents, default to `true) that allows the user to specify uploading as images instead of URLs
I do not think adding this parameter would be of use. This is not a public-facing code, it is a script to verify images are free of particular content, and notify TPTB (the powers that be) of images that PhotoDNA flagged. If a complete URI is used (and is located in the database), yes the content may be processed if it is in a proper format. There is no need to specify what to send to PhotoDNA, IMHO.

Jul 19 2023, 3:25 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T336576: Modify script to take image from database and upload images directly to PhotoDNA.
public function processSingle(
		string $fileName,
		IDatabase $db,
		bool $old ): bool {
		$retBool = false;
		// ON HOLD FOR NOW T336576
		// TODO (T336576) https://phabricator.wikimedia.org/T336576
		// TODO OF PROJECT OF JUST GETTING THE THING TO RUN PROPERLY
		// if there is an image located via url, but not in the database
		// this is where we would check and verify the image
		// is valid and not malicious
		// if ( str_starts_with( $fileName, 'http' ) ) {
		// $img = file_get_contents($fileName);
		// echo $img;
		// } else {
Jul 19 2023, 2:53 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jul 17 2023

ERayfield added a comment to T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.

file; includes/http/GuzzleHttpRequest.php -> this is the beginning of the API request development process.

Jul 17 2023, 2:02 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jul 13 2023

ERayfield added a comment to T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.

ticket?
Verify image size, if greater than 4 MB - need to verify has been done
Verify image height x width - not being done now, just makes everything a set size thumbnail, regardless of size
ticket?
Update code to use a new system of submitting code for batches - in retrospect, may try guzzle to submit batch of 5, but think right now if we can just get moving with one at a time, that would be good
Sumit files using guzzle to be sure that the timing is correct Up to 10 million transactions per month (5 requests per second) (governor)
ticket?
Attempt to tie into the current code base for evaluation and tracking
should be new ticket?
Verify email works when there is an image found that is in violation
should be new ticket?
Need to update tests on each section

Jul 13 2023, 5:15 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T337558: Update the documentation on how to run and debug the maintenance script from 💻 In Progress to 🔍 Review/Feedback on the Trust and Safety Tools Team Backlog (Kanban) board.
Jul 13 2023, 4:48 PM · MW-1.41-notes (1.41.0-wmf.18; 2023-07-18), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T341221: Send one file at a time to PhotoDNA from 💻 In Progress to 🔍 Review/Feedback on the Trust and Safety Tools Team Backlog (Kanban) board.
Jul 13 2023, 4:48 PM · MediaModeration, Trust and Safety Tools Team Backlog (Kanban)

Jul 6 2023

ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.

$wgMediaModerationPhotoDNASubscriptionKey has been deployed -

IMPORTANT: all of the need values are in that file, so if we want to update:
Jul 6 2023, 8:59 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield closed T339282: Request a rotation of the PhotoDNA MediaModeration keys as Resolved.
Jul 6 2023, 8:54 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.

Documentation on how to deploy
https://wikitech.wikimedia.org/w/index.php?title=How_to_deploy_code&diff=2090931&oldid=2065655 (edited)

Jul 6 2023, 8:53 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield created T341221: Send one file at a time to PhotoDNA.
Jul 6 2023, 12:36 PM · MediaModeration, Trust and Safety Tools Team Backlog (Kanban)
ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.

hopefully, we will be updating the key on 6 July 2023 on the afternoon train...

Jul 6 2023, 11:32 AM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jul 5 2023

ERayfield updated subscribers of T339282: Request a rotation of the PhotoDNA MediaModeration keys.

that value is in PirvateSettings.php on the deployment host

Jul 5 2023, 9:23 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.

UPDATED POST:
Hi folks, I am not sure of the process, but y'all have been recommended as a resource. I need to update the MediaModerationPhotoDNASubscriptionKey The configuration to update is MediaModerationPhotoDNASubscriptionKey (as seen in extension.json in MediaModeration extension). Believe the location is PrivateSettings.php - if this isn't clear enough please slack me and I'll try to provide answers. Thanks! (edited)

Jul 5 2023, 8:22 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.

posted to slack channel #engineering-enablement
1:51 PM 5 July 2023
Ellen Rayfield Hi folks, I am unsure of the process, but y'all have been recommended as a resource. I need to update the MediaModeration PhotoDNA key, it may also be named Ocp-Apim-Subscription-Key. Believe the location is PrivateSettings.php - if this isn't clear enough please slack me and I'll try to provide answers. Thanks!

Jul 5 2023, 8:01 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.

this ticket should cover the following items

Jul 5 2023, 12:29 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jul 3 2023

ERayfield updated subscribers of T339282: Request a rotation of the PhotoDNA MediaModeration keys.

Beginning to find things out:
Is there anyone who is able to explain what a scap file looks like, and where it should be in the local repo? Have read:
https://wikitech.wikimedia.org/wiki/Scap all the links off that page and several others including https://wikitech.wikimedia.org/wiki/Scap#All-script
https://wikitech.wikimedia.org/wiki/Heterogeneous_deployment?useskin=vector-2022#Run_a_maintenance_script_on_a_wiki
Thanks in advance & happy Friday

Jul 3 2023, 1:42 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jun 30 2023

ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.

It sounds like you want to edit /srv/mediawiki-staging/private/PrivateSettings.php on deployment.eqiad.wmnet ? scap would come into play to actually deploy the changed file to all mediawiki servers. (edited)

Jun 30 2023, 3:32 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.
So far the best documentation I can find on that subject is here: https://doc.wikimedia.org/releng/scap/scap3/quickstart/setup.html.  Let me know if that does or does not get you anywhere.
Jun 30 2023, 3:15 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.

references
https://gitlab.wikimedia.org/repos/releng/scap/-/blob/master/RELEASE.md
https://wikitech.wikimedia.org/wiki/Heterogeneous_deployment#Change_wiki_configuration
https://wikitech.wikimedia.org/wiki/Configuration_files
https://www.mediawiki.org/w/index.php?title=Manual:Writing_maintenance_scripts&useskin=vector-2022
https://wikitech.wikimedia.org/wiki/Scap#All-script
https://wikitech.wikimedia.org/wiki/Heterogeneous_deployment?useskin=vector-2022#Run_a_maintenance_script_on_a_wiki

Jun 30 2023, 2:34 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jun 29 2023

ERayfield added a comment to T339282: Request a rotation of the PhotoDNA MediaModeration keys.

fair warning and FYI, this is going to take some time, as there is some difficulty in finding step-by-step instructions...

Jun 29 2023, 12:56 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jun 28 2023

ERayfield moved T336205: Debug Error: The given file could not be verified as an image from 🔍 Review/Feedback to 🤘 Done on the Trust and Safety Tools Team Backlog (Kanban) board.
Jun 28 2023, 2:13 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T339282: Request a rotation of the PhotoDNA MediaModeration keys from 🎬 Ready to 💻 In Progress on the Trust and Safety Tools Team Backlog (Kanban) board.
Jun 28 2023, 11:01 AM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield changed the status of T339282: Request a rotation of the PhotoDNA MediaModeration keys from Open to In Progress.
Jun 28 2023, 11:01 AM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second from 🎬 Ready to 💻 In Progress on the Trust and Safety Tools Team Backlog (Kanban) board.
Jun 28 2023, 10:59 AM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield claimed T339988: Throttle requests to PhotoDNA API to no more than 5 requests per second.
Jun 28 2023, 10:59 AM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T336205: Debug Error: The given file could not be verified as an image from 💻 In Progress to 🔍 Review/Feedback on the Trust and Safety Tools Team Backlog (Kanban) board.
Jun 28 2023, 10:58 AM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T339262: [Sub-epic] Logic outline of steps to rewrite MediaModeration from 💻 In Progress to 🔍 Review/Feedback on the Trust and Safety Tools Team Backlog (Kanban) board.
Jun 28 2023, 10:57 AM · Trust and Safety Tools Team Backlog (Kanban)

Jun 27 2023

ERayfield added a comment to T336205: Debug Error: The given file could not be verified as an image.

updated query to include just the file extensions PhotoDNA is interested in, earlier versions were pulling anything that was listed as "img_media_type = string(6) "BITMAP", but BITMAP is not granular enough,

Jun 27 2023, 7:35 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jun 21 2023

ERayfield added a comment to T336576: Modify script to take image from database and upload images directly to PhotoDNA.

Are we trying to turn this into something it is not? This is not going to be used for anything other than checking items in Wikimedia Foundation (WMF) database to verify content is AOK. It should be run within a cron, or whatever WMF uses instead. I think this is moving beyond what we are trying to do. I just want to confirm that this is what we want to spend time on, as there is already a way for a developer to get a test image into their database. And, I thought, that the reason that was done was so a developer could test locally.

Jun 21 2023, 2:01 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T339992: Ensure flagged content is emailed to the correct party.

Thank you @Madalina

Jun 21 2023, 1:23 PM · Trust and Safety Tools Team Backlog, MediaModeration
ERayfield added a comment to T339992: Ensure flagged content is emailed to the correct party.

Also, need to find out, and update (as soon as we figure out where), who should get said emails

Jun 21 2023, 11:23 AM · Trust and Safety Tools Team Backlog, MediaModeration

Jun 20 2023

ERayfield added a comment to T339262: [Sub-epic] Logic outline of steps to rewrite MediaModeration.

Details on the return message

NameDescription
StatusStatus codes and corresponding descriptions:
* 3000: OK
* 3002: Invalid or missing request parameter(s)
* 3004: Unknown scenario or an unhandled error occurred while processing the request
* 3206: The given file could not be verified as an image
* 3208: Image size in pixels is not within the allowed range (minimum size is 160x160 pixels; maximum size is 4MB)
TrackingIdUniqueID that identifies this individual request.
IsMatchBoolean value indicating whether the submitted image matched a known image
MatchDetailsCollection of MatchFlags.
MatchFlag: Specifies the source of the known image which the submitted image matched.
Note: Submitted images may match images from multiple sources.
EvaluateResponse Collection of image evaluation flags:
* AdultClassificationScore: Numeric score representing the likelihood of adult content
* IsImageAdultClassified: Boolean representing whether or not adult content was found
* RacyClassificationScore: Numeric score representing the likelihood of racy content
* IsImageRacyClassified: Boolean representing whether or not racy content was found
* AdvancedInfo: reserved for future use
* Result: Boolean representing whether or not adult and/or racy content was found
Note: this object is null unless the header 'Enable-Evaluation' is present and a valid Content Moderator key has been provided in PhototDNA portal

information from PhototDNA portal

Jun 20 2023, 12:33 PM · Trust and Safety Tools Team Backlog (Kanban)

Jun 19 2023

ERayfield added a comment to T336205: Debug Error: The given file could not be verified as an image.

Added section concerning image size to https://phabricator.wikimedia.org/T339262

Jun 19 2023, 12:59 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jun 15 2023

ERayfield added a comment to T339262: [Sub-epic] Logic outline of steps to rewrite MediaModeration.

Looking for input on this:

Steps/Tickets for MediaModeration

  1. Be able to just test one file from the command line done
  2. Change to use actual image files rather than hashes or thumbnails T336205
  3. Check that the files to be checked by PhotoDNA are of the correct mime type T336205
  4. Verify image size, if greater than 4 MB
  5. Update code to use a new system of submitting code for batches
  6. Sumit files using guzzle to can be sure that the timing is correct Up to 10 million transactions per month (5 requests per second) (governor)
  7. Attempt to tie into the current code base for evaluation and tracking
  8. A table for tracking has been suggested and may be a better solution than the one currently available
  9. If unable to tie in, there will be more steps/ticket
    • Steps Could Be
    • Tracking of files
    • Update database with current information
    • Make a way to notify the correct folks
  10. Verify email works when there is an image found that is in violation
  11. Need to update tests on each secton
  12. Does this need a logger?

Reseach/Actions prior to production

Find out the process to get the PhotoDNA subscription key to where it needs to be
Update PhotoDNA to correct value on the production servers
Find out who should be getting the emails for failed images - need emails addresses

Jun 15 2023, 6:10 PM · Trust and Safety Tools Team Backlog (Kanban)
ERayfield moved T339262: [Sub-epic] Logic outline of steps to rewrite MediaModeration from 🎬 Ready to 💻 In Progress on the Trust and Safety Tools Team Backlog (Kanban) board.
Jun 15 2023, 4:22 PM · Trust and Safety Tools Team Backlog (Kanban)
ERayfield created T339262: [Sub-epic] Logic outline of steps to rewrite MediaModeration.
Jun 15 2023, 4:22 PM · Trust and Safety Tools Team Backlog (Kanban)
ERayfield moved T287511: Evaluate PhotoDNA MediaModeration failures from 💻 In Progress to 🤘 Done on the Trust and Safety Tools Team Backlog (Kanban) board.
Jun 15 2023, 1:09 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

Jun 14 2023

ERayfield moved T307258: MediaModeration: check for file types from 🎬 Ready to ⌛ On Hold / Blocked on the Trust and Safety Tools Team Backlog (Kanban) board.

taken care of in T336205

Jun 14 2023, 1:42 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T307258: MediaModeration: check for file types from Ready for development to Kanban on the Trust and Safety Tools Team Backlog board.
Jun 14 2023, 1:39 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T303327: Add noop ModerationCheck class for the MediaModeration extension.

I believe this is taken care of by T336205, which will allow running a single file on the developers' environment

Jun 14 2023, 1:38 PM · Trust and Safety Tools Team Backlog, MediaModeration
ERayfield added a comment to T338804: [S] Inform the user about the success or failure of submitting a report.

for the language deficient like me:
Toast
A small informational message that pops up like toast.
http://en.wikipedia.org/wiki/Toast_(computing)

Jun 14 2023, 1:35 PM · Trust and Safety Product Sprint (Sprint Bodhrán), Incident-Reporting-System

May 31 2023

ERayfield added a comment to T336205: Debug Error: The given file could not be verified as an image.

here is what i was thinking -
use RequestModerationCheck::createModerationRequest(), but changing the $options -
$options = [

			'method' => 'POST',
			'postData' => Utils::jsonEncode( [
				'DataRepresentation' => 'URL',      <----- url
				'Value' => $url                                <------ image as string
			] ),
		];
May 31 2023, 1:50 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T336074: [ DEBUG ] fix or remove file hashing.

FWIW, since T336205 https://phabricator.wikimedia.org/T336205 will not be using hashing, would that take care of this ticket?

May 31 2023, 11:13 AM · MediaModeration, Trust and Safety Tools Team Backlog
ERayfield updated the task description for T336205: Debug Error: The given file could not be verified as an image.
May 31 2023, 11:11 AM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

May 30 2023

ERayfield updated the task description for T336205: Debug Error: The given file could not be verified as an image.
May 30 2023, 5:02 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T336205: Debug Error: The given file could not be verified as an image.

check for media type is done, but we are adding our own query to PhotoDNA so that we are able to control the timing of submissions

May 30 2023, 4:56 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

May 26 2023

ERayfield added a comment to T337558: Update the documentation on how to run and debug the maintenance script.

done, needed to pull the parameters from the running on prod, since you don't need to do anything in the local code

May 26 2023, 2:29 PM · MW-1.41-notes (1.41.0-wmf.18; 2023-07-18), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield changed the status of T337558: Update the documentation on how to run and debug the maintenance script from Open to In Progress.
May 26 2023, 2:12 PM · MW-1.41-notes (1.41.0-wmf.18; 2023-07-18), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield created T337558: Update the documentation on how to run and debug the maintenance script.
May 26 2023, 2:12 PM · MW-1.41-notes (1.41.0-wmf.18; 2023-07-18), Trust and Safety Tools Team Backlog (Kanban), MediaModeration

May 23 2023

ERayfield moved T336205: Debug Error: The given file could not be verified as an image from 🤘 Done to 💻 In Progress on the Trust and Safety Tools Team Backlog (Kanban) board.
May 23 2023, 1:38 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

May 18 2023

ERayfield removed a project from T336370: Document how to run and debug the maintenance script: Patch-For-Review.
May 18 2023, 8:53 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T336205: Debug Error: The given file could not be verified as an image from 🎬 Ready to 🤘 Done on the Trust and Safety Tools Team Backlog (Kanban) board.
May 18 2023, 8:51 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T336370: Document how to run and debug the maintenance script from 💻 In Progress to 🤘 Done on the Trust and Safety Tools Team Backlog (Kanban) board.
May 18 2023, 8:51 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T336205: Debug Error: The given file could not be verified as an image.

probably do check around

May 18 2023, 3:19 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield changed the status of T336205: Debug Error: The given file could not be verified as an image from Open to In Progress.
May 18 2023, 3:17 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield changed the status of T336205: Debug Error: The given file could not be verified as an image, a subtask of T287511: Evaluate PhotoDNA MediaModeration failures, from Open to In Progress.
May 18 2023, 3:17 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield updated the task description for T287511: Evaluate PhotoDNA MediaModeration failures.
May 18 2023, 3:05 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

May 15 2023

ERayfield added a comment to T336207: Debug Error: 429 too many requests.

Concerning 'instant check', not considered best practice due to the end user being able to alter photos to pass the inspection. Although I do think that the image should not be displayed until after it has been checked. Perhaps once a day for new images only? I know we could drop any of the images that are buttons, lines, borders, etc. I am not sure how the table(s) are set up but if there is some sort of date when entered the system that would make it much simpler to check.

May 15 2023, 1:19 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

May 12 2023

ERayfield added a comment to T336576: Modify script to take image from database and upload images directly to PhotoDNA.

additionally it would be illegal, as these are forbidden to be distributed to anyone for any reason

May 12 2023, 5:08 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration

May 11 2023

ERayfield added a comment to T336370: Document how to run and debug the maintenance script.

yes, I have no problems with doing this HOWEVER, as noted on the google doc, there are still some questions:

May 11 2023, 2:14 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield changed the status of T336370: Document how to run and debug the maintenance script from Open to In Progress.
May 11 2023, 2:11 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield changed the status of T336370: Document how to run and debug the maintenance script, a subtask of T287511: Evaluate PhotoDNA MediaModeration failures, from Open to In Progress.
May 11 2023, 2:11 PM · Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield moved T335801: Research/Add a loading indicator to a Vue component. from 💻 In Progress to 🔍 Review/Feedback on the Trust and Safety Tools Team Backlog (Kanban) board.
May 11 2023, 2:09 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield added a comment to T335801: Research/Add a loading indicator to a Vue component..

additional notes from google bard:
To pass a PHP value to a .vue file, you can use the following steps:
In your PHP file, create a variable and assign it the value you want to pass to the .vue file.
In your .vue file, use the {{}} syntax to access the variable.
To prevent the value from being passed to the client, add the v-cloak attribute to the element that contains the variable.
For example, the following PHP code would create a variable called message and assign it the value "Hello, world!".
PHP
$message = "Hello, world!";

May 11 2023, 2:08 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield moved T335801: Research/Add a loading indicator to a Vue component. from 🎬 Ready to 💻 In Progress on the Trust and Safety Tools Team Backlog (Kanban) board.
May 11 2023, 1:58 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield added a comment to T336370: Document how to run and debug the maintenance script.

some updates done, still need the test data section, changes located in Google Doc

May 11 2023, 1:55 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Trust and Safety Tools Team Backlog (Kanban), MediaModeration
ERayfield added a comment to T336206: Debug Error: Hash check request failed.

my understanding, and granted it seems a lot of the information I was given seems to be a bit off, was that we were sending hash strings to PhotoDNA, so now I am totally gonna have to go back and review what I thought I knew.

May 11 2023, 1:53 PM · Trust and Safety Tools Team Backlog, MediaModeration

May 9 2023

ERayfield updated the task description for T335801: Research/Add a loading indicator to a Vue component..
May 9 2023, 6:55 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield updated the task description for T335801: Research/Add a loading indicator to a Vue component..
May 9 2023, 6:51 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield updated the task description for T335801: Research/Add a loading indicator to a Vue component..
May 9 2023, 6:46 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield updated the task description for T335801: Research/Add a loading indicator to a Vue component..
May 9 2023, 6:42 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield updated the task description for T335801: Research/Add a loading indicator to a Vue component..
May 9 2023, 6:41 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield added a comment to T335801: Research/Add a loading indicator to a Vue component..

You can attach a loading indicator to a component in Vue.js by using the v-if directive and a boolean variable that is set to true when the component is loading and false when it is not.
Example for template:

May 9 2023, 1:12 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield added a comment to T335801: Research/Add a loading indicator to a Vue component..
May 9 2023, 11:34 AM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield changed the status of T335801: Research/Add a loading indicator to a Vue component. from Open to In Progress.
May 9 2023, 11:28 AM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield added a comment to T333378: SPIKE [EOD Friday, May 5th] Demo using user groups and permissions.

by the by, if the landing page is reached by a link, it might be a good idea to just pass the access level on the link -

May 9 2023, 11:25 AM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)

May 8 2023

ERayfield moved T333378: SPIKE [EOD Friday, May 5th] Demo using user groups and permissions from 💻 In Progress to 🔍 Review/Feedback on the Trust and Safety Tools Team Backlog (Kanban) board.
May 8 2023, 6:54 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)
ERayfield added a comment to T333378: SPIKE [EOD Friday, May 5th] Demo using user groups and permissions.

Final thoughts - yes we can pass between languages, but there may need to be some scaffolding work to be done first.

May 8 2023, 6:46 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)

May 5 2023

ERayfield added a comment to T258603: Scan all images on Wikimedia Commons.

--start=20220428141803

May 5 2023, 4:03 PM · Platform Team Sprints Board (Sprint 5), Platform Team Workboards (User Stories), Story, Platform Team Initiatives (Hash Checking), MediaModeration
ERayfield added a comment to T258603: Scan all images on Wikimedia Commons.

note each file run had ' DEBUG: Checking on upload is disabled.' which looking at the code seems to imply that it will go no further - does not check

May 5 2023, 3:04 PM · Platform Team Sprints Board (Sprint 5), Platform Team Workboards (User Stories), Story, Platform Team Initiatives (Hash Checking), MediaModeration

May 4 2023

ERayfield added a comment to T333378: SPIKE [EOD Friday, May 5th] Demo using user groups and permissions.

so, the below js code will

var userGroups = mw.config.get( 'wgUserGroups', [] );
console.log( userGroups);

When logged in as admin:
bureaucrat, interface-admin, suppress, sysop, *, user, autoconfirmed

May 4 2023, 1:29 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)

May 3 2023

ERayfield renamed T333378: SPIKE [EOD Friday, May 5th] Demo using user groups and permissions from SPIKE [EOD Friday, May 5th] to SPIKE [EOD Friday, May 5th] Demo using user groups and permissions.
May 3 2023, 1:57 PM · Incident-Reporting-System, Trust and Safety Tools Team Backlog (Kanban)