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;
Description
Description
Details
Details
Related Changes in GitLab:
| Title | Reference | Author | Source Branch | Dest Branch | |
|---|---|---|---|---|---|
| Normalize usernames; use SQL to check opt-in status | toolforge-repos/fast-ec!5 | legoktm | improvements | main |
Event Timeline
Comment Actions
legoktm opened https://gitlab.wikimedia.org/toolforge-repos/fast-ec/-/merge_requests/5
Normalize usernames; use SQL to check opt-in status