Page MenuHomePhabricator

Retrieve list of users for cross-wiki uploads research
Closed, ResolvedPublic

Description

As part of Cross-wiki media upload research we have a goal to understand the current user behavior for uploading media through Wikipedia editor so that we can identify what might be contributing to the problematic media uploads that moderators are seeing on Commons.

Requirements:

  • users who uploaded their cross-wiki uploads within the past 60 days
  • target wiki: English and Arabic
  • restricting to those who have email user enabled

List of users in this spreadsheet: https://docs.google.com/spreadsheets/d/1vBC-t1Rii8kTs4aVddW4RKDI85YlVzxG-_D9ebn4V34/edit#gid=0

Event Timeline

cchen triaged this task as Medium priority.Feb 27 2024, 9:15 PM
cchen moved this task from Next 2 weeks to Doing on the Product-Analytics (Kanban) board.

Add query for users with EmailUser enabled for future reference.

WITH mail AS (
SELECT up_property AS mail,
    up_value AS mail_value,
    up_user AS user_id
FROM user_properties
WHERE up_property = 'disablemail'
)   
    
SELECT
        u.user_id,
        u.user_name,
        u.user_editcount
FROM user u 
LEFT JOIN mail m ON m.user_id = u.user_id
WHERE user_email IS NOT NULL
  AND user_email_authenticated IS NOT NULL
  AND mail_value IS NULL
  AND user_editcount > 0