Page MenuHomePhabricator

fast-ec: Use database query for EditCounterOptIn.js check instead of API call
Open, Needs TriagePublic

Description

check_optin_local() makes an Action API call to get the page existence and size of the "User:$username/EditCounterOptIn.js" page. It will probably be faster do this via SQL, e.g. select page_size from page where page_namespace=2 and page_title="$name/EditCounterOptIn.js" limit 1;

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Normalize usernames; use SQL to check opt-in statustoolforge-repos/fast-ec!5legoktmimprovementsmain
Customize query in GitLab