Page MenuHomePhabricator

Tgr (Gergő Tisza)
Software Engineer, WMF

Today

  • No visible events.

Tomorrow

  • No visible events.

Friday

  • No visible events.

User Details

User Since
Sep 19 2014, 4:55 PM (633 w, 4 d)
Availability
Available
IRC Nick
tgr
LDAP User
Gergő Tisza
MediaWiki User
Tgr (WMF) [ Global Accounts ]

Things my team is working on: MediaWiki-Core-Platform-Team
Side projects I am working on (or planning to, eventually): User-Tgr
You can find more info about me on my user page.

Recent Activity

Yesterday

Tgr added a comment to T234371: Global blocks are apparently no longer preventing account autocreation.

I think this is fixed? The dashboard certainly shows plenty of globally-blocked autocreation attempts. We might just have forgotten to update it.

Tue, Nov 10, 2:50 PM · MediaWiki-Core-Platform-Team (Kanban), Product Safety and Integrity, MW-1.42-notes (1.42.0-wmf.2; 2023-10-24), SecTeam-Processed, Security, Security-Team, MediaWiki-extensions-CentralAuth, GlobalBlocking, Stewards-and-global-tools
Tgr closed T395204: MediaWiki should log request information (IP, user agent, referrer, HTTP method, etc) in a more uniform and predictable way as Resolved.

We might want to call this done with the introduction of WebRequest::getSecurityLogContext() in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1150677? I'm sure its use could still be more uniform and predictable, but there's always work to do, and I think we're in a decent place.

Tue, Nov 10, 2:28 PM · MW-1.46-notes, MW-1.45-notes, MW-1.47-notes (1.47.0-wmf.1; 2026-05-05), MW-1.43-notes, MW-1.44-notes, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-User-login-and-signup, MediaWiki-Debug-Logger, Security

Mon, Nov 9

Tgr added a comment to T431504: Tracking task for issues reported for site JS / other user's JS re-authentication.

T444228: MediaWiki reauthentication prompt does not appear with $wgNamespaceProtections is not exactly a JS editing issue, but somewhat related.

Mon, Nov 9, 10:29 PM · MediaWiki-Core-Platform-Team (Radar), Security, MediaWiki-Core-AuthManager
Tgr added a project to T444228: MediaWiki reauthentication prompt does not appear with $wgNamespaceProtections: Product Safety and Integrity.
Mon, Nov 9, 10:26 PM · Product Safety and Integrity, MediaWiki-Core-Platform-Team, MediaWiki-User-Interface, MediaWiki-Core-AuthManager
Tgr added a comment to T444213: Special:ResetPassword redirects to Special:ChangeCredentials rather than Special:PasswordReset.

No real reasons I know of, other than both having existed for a long time. We wanted to change it once but got lost in bikeshedding about the name.

Mon, Nov 9, 10:21 PM · MediaWiki-Core-Platform-Team, MediaWiki-Core-AuthManager
Tgr added a comment to T443530: LoggedInUserCacheabilityTest::testCachingEligibilityTempAccounts test fails with CentralAuth SUL3 enabled.
Mon, Nov 9, 10:13 PM · MW-1.48-notes (1.48.0-wmf.4; 2026-11-10), FY26-27 ST6.4 - Logged-in performance, MediaWiki-Core-Platform-Team
Tgr updated the task description for T444225: [Hypothesis PP3.5.4b] Update OAuth developer experience.
Mon, Nov 9, 9:59 PM · MediaWiki-extensions-OAuth, MediaWiki-Core-Platform-Team, OKR-Work, MediaWiki-API-Platform-Team

Sun, Nov 8

Tgr added a comment to T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in).

Documentation changes:

Sun, Nov 8, 10:24 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-OAuth
Tgr added a comment to T270903: Gitiles does not provide raw view of the file for copy-pasting (txt download is base64 encoded).

A similar request has been declined before: https://issues.gerritcodereview.com/issues/40001846

Sun, Nov 8, 3:31 PM · Upstream, Gerrit

Sat, Nov 7

Tgr added a comment to T434674: MediaWiki core API credential changes do not revoke active sessions.

Yeah, in theory this is fixed.

Sat, Nov 7, 11:22 PM · Vuln-Authn/Session, SecTeam-Processed, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-API-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-Action-API, Security-Team
Tgr added a comment to T442461: Enable prohibiting certain operations from being executed by cross-domain (CORS) requests.

Can we just taint CSRF tokens obtained via CORS?

Sat, Nov 7, 5:23 PM · User-Catrope, MediaWiki-General
Tgr added a comment to T442461: Enable prohibiting certain operations from being executed by cross-domain (CORS) requests.

Uh, right. We could disallow CORS for the token API (cross-domain requests would then have to use CentralAuth tokens) but that's disruptive and would add a performance overhead. Modern browsers set Sec-Fetch-Mode: same-origin on non-CORS requests (also they usually set the Origin header) but it would probably be a bad idea to rely on that exclusively for security purposes. (We could do it anyway as layered defense.)

Sat, Nov 7, 5:22 PM · User-Catrope, MediaWiki-General

Fri, Nov 6

Tgr added a comment to T442461: Enable prohibiting certain operations from being executed by cross-domain (CORS) requests.

All CORS requests go through ApiMain::handleCORS() or CorsUtils::modifyResponse() or CorsUtils::createPreflightResponse() so the decision could happen there. It would take some refactoring as none of those places have trivial access to the handler / modules, but it would be much more flexible than changing the CSRF tokens.

Fri, Nov 6, 3:38 PM · User-Catrope, MediaWiki-General
Tgr added a comment to T436749: vNext: Support certain global parameters when exposing action API modules through REST routes.

Centralauthtoken → already handled as a header

Note CA tokens are specifically for cross-domain requests; unlike an URL parameter, a custom header will trigger a CORS preflight, so you need to make sure it's in Access-Control-Allow-Headers, and it will have negative performance implications for browser-based clients.

This mechanism has been in place for the REST API for a long time, I assume it works as intended. Though I'm not sure if it's actually bein used in practice.

Fri, Nov 6, 12:10 PM · MW-1.48-notes (1.48.0-wmf.4; 2026-11-10), MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), Patch-For-Review, MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work
Tgr added a comment to T436749: vNext: Support certain global parameters when exposing action API modules through REST routes.

As noted in T22814#248552, we could get rid of origin/cross-origin by pushing some of the relevant logic to the CDN layer. That would be better developer experience and better for caching, but harder to maintain.

Fri, Nov 6, 11:57 AM · MW-1.48-notes (1.48.0-wmf.4; 2026-11-10), MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), Patch-For-Review, MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work
Tgr added a comment to T436749: vNext: Support certain global parameters when exposing action API modules through REST routes.

Wrt origin, the basic problem it is trying to solve is that 1) for CORS requests the Access-Control-Allow-Origin response header will depend on what origin the request is made from (in part because we want to allow CORS from our domains but not from external domains, in part becase authenticated CORS requires a specific origin in Access-Control-Allow-Origin so we can't just always use *); 2) that means the cache must vary on Origin, but 3) browsers set the Origin header for many non-CORS requests so that would cripple caching. Rule of thumb for Varnish is that the same URL must either always or never vary on a given thing. So including the origin in the URL lets you vary on Origin, but only for CORS requests. (I'm not entirely sure why it needs a value.) See T22814#248552 for context.

Fri, Nov 6, 11:53 AM · MW-1.48-notes (1.48.0-wmf.4; 2026-11-10), MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), Patch-For-Review, MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work
Tgr added a comment to T436749: vNext: Support certain global parameters when exposing action API modules through REST routes.

Assert & Assertuser → not v0; move to header; consider combining to a single param?

Fri, Nov 6, 10:25 AM · MW-1.48-notes (1.48.0-wmf.4; 2026-11-10), MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), Patch-For-Review, MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work
Tgr added a comment to T436749: vNext: Support certain global parameters when exposing action API modules through REST routes.

we can just pass a valid token to the action API if we know that the request is safe [against CSRF]

Fri, Nov 6, 10:22 AM · MW-1.48-notes (1.48.0-wmf.4; 2026-11-10), MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), Patch-For-Review, MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work
Tgr added a comment to T436749: vNext: Support certain global parameters when exposing action API modules through REST routes.

Centralauthtoken → already handled as a header

Fri, Nov 6, 10:20 AM · MW-1.48-notes (1.48.0-wmf.4; 2026-11-10), MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), Patch-For-Review, MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work
Tgr added a comment to T436749: vNext: Support certain global parameters when exposing action API modules through REST routes.

maxage/smaxage is used by our own clients quite a bit (VisualEditor, MediaViewer, Popups etc). You can't send cache headers from the action API by default, since there is no invalidation mechanism, ant there is no way to know how sensitive the client is going to be to stale data. But the client does know that, so it basically just outsources caching decisions to the client. (At the cost of fragmenting the CDN cache - different [s]maxage values will result in different cache entries, on top of the action API's other caching woes with parameter ordering etc. The assumption is that WMF code will be careful in how to use it, and other clients probably won't use it much.)

Fri, Nov 6, 10:15 AM · MW-1.48-notes (1.48.0-wmf.4; 2026-11-10), MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), Patch-For-Review, MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), OKR-Work

Thu, Nov 5

Tgr added a comment to T417879: Add OAuth information to X-Analytics data to obtain better API usage metrics.

Verified in the webrequest DB that:

  • /w/rest.php/oauth2/access_token requests show the OAuth version, client ID and grant type, for all three grant types
  • other REST API request show the OAuth version and client ID
  • action API request show the OAuth version and client ID
Thu, Nov 5, 11:55 PM · Patch-For-Review, MW-1.48-notes (1.48.0-wmf.1; 2026-10-20), MW-1.47-notes (1.47.0-wmf.18; 2026-09-01), MediaWiki-Core-Platform-Team (Kanban), Observability-Metrics, MediaWiki-extensions-OAuth
Tgr added a comment to T362335: Simplify MediaWiki session store at WMF.

This is blocked on SRE disagreeing that it should be done, right?

Thu, Nov 5, 2:07 PM · MediaWiki-Core-Platform-Team

Wed, Nov 4

Tgr added a comment to T443567: Remove CI support for mediawiki/vagrant.

CI support was de facto removed in T398469: Migrate mediawiki/vagrant CI to Bullseye and remove custom image, the jobs didn't work since then.

Wed, Nov 4, 10:55 AM · Continuous-Integration-Config, MediaWiki-Vagrant
Tgr added a comment to T443570: Gergő Tisza has Gerrit multiple accounts sharing the same email.

Thanks for the cleanup! The test account was, unsurprisingly, to test T219316 (long since fixed). I have no idea what the multimedia one was about, some kind of automation? If it ever worked, it probably got lost when the old MM team got disbanded a decade ago.

Wed, Nov 4, 10:47 AM · Gerrit

Mon, Oct 26

Tgr added a comment to T422656: CentralAuth: Add globaluser.gu_email_normalized column.

Wouldn't the spoofuser table be the more logical place for this?

Mon, Oct 26, 9:57 PM · Wikimedia-Performance-recommendation, Data-Persistence, MediaWiki-Core-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, Product Safety and Integrity
Tgr added a comment to T440806: OAuth allows creating OAuth 2 client with empty callback URL, presents it confusingly.

can someone make me an OAuth admin? I see there's no process for it

Mon, Oct 26, 6:33 PM · Patch-For-Review, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr added a comment to T441262: Add a gu_touched field to the globaluser table for use with global preferences.

To recap what was discussed elsewhere: the goal is being able to come up with a list of accounts that need to be synced with CiviCRM (based on an opt-in action that happens in MediaWiki). If you want to handle that in MediaWiki, it's probably best to create a new table for it because 1) you get full control of the exact business rules for your last-touched timestamp, rather than using a timestamp that's shared with all potential future CentralAuth usecases; 2) probably less effort to create a new table than to do a schema change on the large and heavily used globaluser table, 3) much easier to change or undo the approach in the future (given that the project is still experimental).

Mon, Oct 26, 6:29 PM · MediaWiki-Core-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, MediaWiki-extensions-GlobalPreferences, FY26-27 WE5.4 Donor Identification and recognition
Tgr added a comment to T427943: Add batch save functionality to user options/global preferences.

To recap what was discussed elsewhere: the use case is a maintenance script going through a lot of users while processing a big data dump from an external system. If you batch multiple writes into transactions, batching them into a single write probably doesn't get you that much extra performance, and as @Krinkle says it's not that straightforward to do. Transactions are controlled by the maintenance script (Maintenance::beginTransactionRound()/commitTransactionRound()), a lot of scripts use that with batches of 100 or 1000 or so. It also automatically waits if needed for replicas to catch up, which can be important when doing lots of writes.

Mon, Oct 26, 6:15 PM · MediaWiki-Core-Platform-Team, Community-Tech, MediaWiki-Core-Preferences, MediaWiki-extensions-GlobalPreferences, FY26-27 WE5.4 Donor Identification and recognition, Reader Experience Team
Tgr added a comment to T254190: Allow developers to disable their own OAuth clients.

Deletion is a lot of hassle (you want to retain for a while for incident investigations etc), and the screenshot doesn't really provide a use case. (Please copy the text of discussions in the future BTW, it's better for search, and images aren't included in notification emails.)

Mon, Oct 26, 2:33 PM · MediaWiki-Core-Platform-Team, serviceops-deprecated, MediaWiki-extensions-OAuth
Tgr added a comment to T440867: Make new OAuth 2 client-credentials apps authenticated by default (set $wgOAuth2ClientCredentialsOwnerAuthCutover default-on).

Could also just use oarc_oauth2_allowed_grants and call the old grant client_credentials_legacy or something like that. Either way, the tricky part is how/when the migration happens for third parties.

Mon, Oct 26, 2:26 PM · MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr added a comment to T442091: Special:CentralAuth sometimes says that a recently registered account does not exist.

Probably just a glitch induced by the PHP incident.

Mon, Oct 26, 2:14 PM · MediaWiki-Core-Platform-Team (Kanban), Stewards-and-global-tools, MediaWiki-extensions-CentralAuth
Tgr added a comment to T441755: Button in echo notification to mute page link notifications for a particular page fails silently if the "Muted pages for page link notifications" setting is set as a global preference.

We might have to manually remove these preferences

Mon, Oct 26, 12:39 PM · Patch-For-Review, MediaWiki-Core-Platform-Team (Kanban), Notifications (Echo)
Tgr added a comment to T434399: Disable built-in session handler via php.ini in WMF production.

Do we actually use any of the session_* methods in production? Is it feasible to remove them?

Mon, Oct 26, 12:35 PM · MediaWiki-Core-Platform-Team (Kanban), MediaWiki-Core-AuthManager, ServiceOps

Thu, Oct 22

Tgr closed T180858: CentralAuth API list=globalallusers should capitalize the first letter as Declined.

Per T180858#3774737, this doesn't solve any clear need, isn't really a bugfix (the API is doing what you ask it to do), and would probably have surprising side effects. I think we should just keep life simple and not do it.
(Maybe the API could return a warning when an impossible first character is used, feel free to file a task about that if it seems useful.)

Thu, Oct 22, 1:35 PM · MediaWiki-API-Platform-Team, Product Safety and Integrity, MediaWiki-Core-Platform-Team, InteractionTimeline, MediaWiki-Action-API, MediaWiki-extensions-CentralAuth

Mon, Oct 19

Tgr closed T440873: Enable $wgOAuth2ClientCredentialsOwnerAuthCutover on Wikimedia wikis as Resolved.

Tested in production, works as expected.

Mon, Oct 19, 1:36 PM · User-notice-archive, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr closed T440873: Enable $wgOAuth2ClientCredentialsOwnerAuthCutover on Wikimedia wikis, a subtask of T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in), as Resolved.
Mon, Oct 19, 1:36 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-OAuth
Tgr closed T432613: backfilLocalAccounts.php should not send alerts when the account is blocked as Resolved.

Thanks @Rajveer42! Assuming this is fixed. (If it isn't, phaultfinder will eventually open an alerting task about the script failing due to some block. I don't think there's a more direct way to validate in production, short of setting up fake blocks which I rather wouldn't.)

Mon, Oct 19, 1:25 PM · MW-1.47-notes (1.47.0-wmf.17; 2026-08-25), MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-CentralAuth

Sat, Oct 17

Tgr added a comment to T218674: User::getRights() applies session rights restrictions to non-session users.

PermissionManager::getUserPermissions() errs on the safe side by always applying session restrictions. Conceptually that's fine (we can't reliably tell whether the caller is interested in session restrictions or not, and erring in the other direction could cause serious vulnerabilities, e.g. by letting OAuth apps exceed their scopes). I see no security issue here.

Sat, Oct 17, 6:06 PM · MediaWiki-Core-Platform-Team, MediaWiki-API-Platform-Team, Platform Team Workboards (MW Expedition), MediaWiki-User-management, MediaWiki-Action-API

Thu, Oct 15

Tgr added a comment to T441262: Add a gu_touched field to the globaluser table for use with global preferences.

Depending on whether you also need to unlink users who have recently unset the preference, either setting wikimedia-donor to a timestamp rather than a boolean, or having a separate wikimedia-donor-last-touched field seems like the easiest way of keeping track of the time.

Thu, Oct 15, 2:19 PM · MediaWiki-Core-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, MediaWiki-extensions-GlobalPreferences, FY26-27 WE5.4 Donor Identification and recognition
Tgr added a comment to T440873: Enable $wgOAuth2ClientCredentialsOwnerAuthCutover on Wikimedia wikis.

Communication:

Thu, Oct 15, 1:00 PM · User-notice-archive, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr added a parent task for T440806: OAuth allows creating OAuth 2 client with empty callback URL, presents it confusingly: T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in).
Thu, Oct 15, 6:57 AM · Patch-For-Review, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr added a subtask for T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in): T440806: OAuth allows creating OAuth 2 client with empty callback URL, presents it confusingly.
Thu, Oct 15, 6:57 AM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-OAuth
Tgr added a comment to T440873: Enable $wgOAuth2ClientCredentialsOwnerAuthCutover on Wikimedia wikis.

Hello @Tgr @Vesperio_ofc, responding to the usernotice tag. How will this be worded? Also are we featuring this in this week's tech news?

Thu, Oct 15, 6:56 AM · User-notice-archive, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth

Tue, Oct 13

Tgr added a comment to T440914: MediaWiki periodic job startupregistrystats failed.

This is the only thing in the job output that seems like an error:

arwiki Unknown component: ext.cite.visualEditor, ext.cite.wikiEditor, ext.cite.community-configuration-autoname, ext.cite.referencePreviews, ext.confirmEdit.CaptchaWidget, ext.confirmEdit.hCaptcha, ext.confirmEdit.hCaptcha.styles, ext.confirmEdit.hCaptcha.gradeC, ext.globalCssJs.user, ext.globalCssJs.user.styles, ext.wikimediaMessages.ipInfo.hooks, ext.abuseFilter.ace, ext.visualEditor.editCheck.checks, ext.wikimediaEvents.visualEditor, mw.cx.externalmessages, ext.checkUser.tempAccountOnboarding, ext.checkUser.ipInfo.hooks, ext.checkUser.suggestedInvestigations, ext.quicksurveys.survey.ReadingLists.beta.feature.survey, ext.quicksurveys.survey.Automatic.Translation.Feedback, mediawiki.messagePoster
Tue, Oct 13, 5:13 PM · MediaWiki-Core-Platform-Team (Kanban)
Tgr added a comment to T440997: Testwiki does not accept any anonymous edits: Could not establish an active session.

The new MediaWiki version is on group 0, but the authevents Logstash channel is sampled 1:1000 and has no group0 temp account creation events from the last day at all, and the Prometheus metric is not split by wiki (it made the dashboard slow to the point of uselessness). So I'm not sure there's a good way to assess impact other than waiting for the group 1 deployment, unless we can identify some non-sampled log event that would accompany the error.

Tue, Oct 13, 4:28 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T440997: Testwiki does not accept any anonymous edits: Could not establish an active session.

Also a request ID would be useful.

Tue, Oct 13, 4:19 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T440997: Testwiki does not accept any anonymous edits: Could not establish an active session.

If you can still reproduce, what's the chain of top-level HTTP requests / redirects?

Tue, Oct 13, 4:14 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T440997: Testwiki does not accept any anonymous edits: Could not establish an active session.

Works for me on Chrome 154.0.8037.92 / Ubuntu in incognito mode. The browser is not redirected to the central domain though, and ends up with no central cookies. As far as I can see, that's a JS issue (the VE could should handle the redirect).

Tue, Oct 13, 4:13 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a subtask for T438220: 1.47.0-wmf.24 deployment blockers: T440997: Testwiki does not accept any anonymous edits: Could not establish an active session.
Tue, Oct 13, 4:08 PM · User-brennen, Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments
Tgr added a parent task for T440997: Testwiki does not accept any anonymous edits: Could not establish an active session: T438220: 1.47.0-wmf.24 deployment blockers.
Tue, Oct 13, 4:08 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T440997: Testwiki does not accept any anonymous edits: Could not establish an active session.

Probably a train blocker?

Tue, Oct 13, 4:08 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T440997: Testwiki does not accept any anonymous edits: Could not establish an active session.

Those seem like two very different errors.

Tue, Oct 13, 4:07 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-CentralAuth

Mon, Oct 12

Tgr added a comment to T411826: MediaWiki periodic job centralauth-backfilllocalaccounts.php-loginwiki failed.

Still (or again?) happening. Should be fixed (well, ignored) by T432613: backfilLocalAccounts.php should not send alerts when the account is blocked though.

Mon, Oct 12, 5:00 PM · MediaWiki-Core-Platform-Team
Tgr merged T439456: MediaWiki periodic job centralauth-backfilllocalaccounts.php-loginwiki failed into T411826: MediaWiki periodic job centralauth-backfilllocalaccounts.php-loginwiki failed.
Mon, Oct 12, 4:58 PM · MediaWiki-Core-Platform-Team
Tgr merged task T439456: MediaWiki periodic job centralauth-backfilllocalaccounts.php-loginwiki failed into T411826: MediaWiki periodic job centralauth-backfilllocalaccounts.php-loginwiki failed.
Mon, Oct 12, 4:58 PM · MediaWiki-Core-Platform-Team (Kanban)
Tgr added a comment to T439456: MediaWiki periodic job centralauth-backfilllocalaccounts.php-loginwiki failed.
extensions/CentralAuth/maintenance/backfillLocalAccounts.php: Finished run
  autoCreateUser failed for Marmelade1964:
  Error: '''Your IP address is in a range that has been [[m:Special:MyLanguage/Global blocks|blocked on all Wikimedia Foundation wikis]].'''
Mon, Oct 12, 4:58 PM · MediaWiki-Core-Platform-Team (Kanban)
Tgr closed T412052: MediaWiki periodic job centralauth-backfilllocalaccounts.php-metawiki failed as Resolved.

Mesh timeout was updated in T390972: Restart CronJobs on failure of the service mesh, this can probably be closed now.

Mon, Oct 12, 4:53 PM · MediaWiki-Core-Platform-Team
Tgr closed T410764: MediaWiki periodic job startupregistrystats-mediawikiwiki failed, a subtask of T412052: MediaWiki periodic job centralauth-backfilllocalaccounts.php-metawiki failed, as Resolved.
Mon, Oct 12, 4:53 PM · MediaWiki-Core-Platform-Team
Tgr closed T410764: MediaWiki periodic job startupregistrystats-mediawikiwiki failed, a subtask of T411654: MediaWiki periodic job startupregistrystats failed, as Resolved.
Mon, Oct 12, 4:53 PM · MediaWiki-Core-Platform-Team
Tgr closed T410764: MediaWiki periodic job startupregistrystats-mediawikiwiki failed, a subtask of T412469: MediaWiki periodic job startupregistrystats-testwiki failed, as Resolved.
Mon, Oct 12, 4:53 PM · MediaWiki-Core-Platform-Team
Tgr closed T410764: MediaWiki periodic job startupregistrystats-mediawikiwiki failed as Resolved.

Mesh timeout was updated in T390972: Restart CronJobs on failure of the service mesh, this can probably be closed now.

Mon, Oct 12, 4:53 PM · MediaWiki-Core-Platform-Team, SRE Observability, serviceops-deprecated
Tgr closed T412469: MediaWiki periodic job startupregistrystats-testwiki failed as Resolved.

Mesh timeout was updated in T390972: Restart CronJobs on failure of the service mesh, this can probably be closed now.

Mon, Oct 12, 4:52 PM · MediaWiki-Core-Platform-Team
Tgr closed T411654: MediaWiki periodic job startupregistrystats failed as Resolved.

Mesh timeout was updated in T390972: Restart CronJobs on failure of the service mesh, this can probably be closed now.

Mon, Oct 12, 4:52 PM · MediaWiki-Core-Platform-Team
Tgr created T440902: Elevated central login badtoken errors since wmf22 group2 deployment.
Mon, Oct 12, 4:43 PM · MediaWiki-Core-Platform-Team (Kanban), Wikimedia-production-error, MediaWiki-extensions-CentralAuth
Tgr created T440899: "LogicException: Unattached user at end of login" during SUL3 login to foundationwiki.
Mon, Oct 12, 4:33 PM · MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-CentralAuth, Wikimedia-production-error
Tgr added a comment to T439451: Strings within CSS attribute selectors get minified when they shouldn't.

This is a documented limitation of the minifier; similar changes have been rejected in the past to keep the code simpler (T37492: CSSMin::minify should not interfere with string values). Is there a real-world use case this bug is interfering with? The example in the task description is not something I'd expect to see in real code - it's brittle and there are almost certainly better ways to target a given hidden div.

Mon, Oct 12, 3:36 PM · MediaWiki-Core-Platform-Team, Wikimedia-Minify
Tgr added a comment to T432072: Notifications becoming highlighted randomly.

To clarify, when you say "old notifications become re-highlighted", you don't mean individual notifications (as in the number on the icon changing, or the blue dot reappearing in the upper right corner of a notification entry in the dropdown) but rather one of the menu icons becoming re-highlighted (going from gray to red/blue), right?

Mon, Oct 12, 2:45 PM · MediaWiki-Core-Platform-Team (Kanban), Notifications (Echo)

Oct 12 2026

Tgr added a parent task for T440873: Enable $wgOAuth2ClientCredentialsOwnerAuthCutover on Wikimedia wikis: T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in).
Oct 12 2026, 12:56 PM · User-notice-archive, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr added a subtask for T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in): T440873: Enable $wgOAuth2ClientCredentialsOwnerAuthCutover on Wikimedia wikis.
Oct 12 2026, 12:56 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-OAuth
Tgr created T440873: Enable $wgOAuth2ClientCredentialsOwnerAuthCutover on Wikimedia wikis.
Oct 12 2026, 12:55 PM · User-notice-archive, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr renamed T440867: Make new OAuth 2 client-credentials apps authenticated by default (set $wgOAuth2ClientCredentialsOwnerAuthCutover default-on) from Make OAuth 2 client-credentials apps authenticated by default to Make new OAuth 2 client-credentials apps authenticated by default (set $wgOAuth2ClientCredentialsOwnerAuthCutover default-on).
Oct 12 2026, 12:54 PM · MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr added a comment to T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in).

Naming isn't the main problem. In any case let's continue this thread in a dedicated task -> T440867: Make new OAuth 2 client-credentials apps authenticated by default (set $wgOAuth2ClientCredentialsOwnerAuthCutover default-on)

Oct 12 2026, 12:52 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-OAuth
Tgr added a subtask for T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in): T440867: Make new OAuth 2 client-credentials apps authenticated by default (set $wgOAuth2ClientCredentialsOwnerAuthCutover default-on).
Oct 12 2026, 12:51 PM · MediaWiki-Core-Platform-Team, MediaWiki-extensions-OAuth
Tgr added a parent task for T440867: Make new OAuth 2 client-credentials apps authenticated by default (set $wgOAuth2ClientCredentialsOwnerAuthCutover default-on): T420297: Allow OAuth 2 apps using client credentials flow to perform actions as the app's owner (i.e. be logged in).
Oct 12 2026, 12:51 PM · MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr created T440867: Make new OAuth 2 client-credentials apps authenticated by default (set $wgOAuth2ClientCredentialsOwnerAuthCutover default-on).
Oct 12 2026, 11:53 AM · MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr added a comment to T437078: ActionEntryPointTest::testMainPageIsDomainRoot failure with CentralAuth: Invalid wiki ID: my_wiki-unittest_.

WikiMap has changed recently, we should check whether this will be still an issue after T440863: Remove most uses of MockWikiMapTrait-

Oct 12 2026, 11:47 AM · MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-CentralAuth
Tgr added a project to T440863: Remove most uses of MockWikiMapTrait: MediaWiki-Core-Platform-Team.

(Tagging as MediaWiki-Core-Platform-Team as we created the mock mainly for CentralAuth.)

Oct 12 2026, 11:46 AM · FY26-27 ST6.4 - Logged-in performance, MediaWiki-Core-Platform-Team (Kanban), Developer Productivity, MediaWiki-Core-Tests
Tgr created T440863: Remove most uses of MockWikiMapTrait.
Oct 12 2026, 11:45 AM · FY26-27 ST6.4 - Logged-in performance, MediaWiki-Core-Platform-Team (Kanban), Developer Productivity, MediaWiki-Core-Tests
Tgr added a comment to T440806: OAuth allows creating OAuth 2 client with empty callback URL, presents it confusingly.

We are (since a few days ago) not setting callback URLs on owner-only and client-credentials apps since they have no purpose, but yeah it should be displayed in a more meaningful way (probably by just hiding the whole field). If you are seeing it on an app with auth code grant or an OAuth 1 app, that's a bug in app validation.

Oct 12 2026, 11:29 AM · Patch-For-Review, MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth

Oct 9 2026

Tgr added a comment to T440619: OAuth tests failures blocking merging changes in WikimediaCustomizations.
09:09:14 1) MediaWiki\Extension\OATHAuth\Tests\Integration\Special\OATHManageTest::testDisplaysIrremovableWarning
09:09:14 Failed asserting that "
<snip>
(oathauth-2fa-groups-notice-multiple-links-entry: 2, (group-interface-admin-member: TestUser 94aa7c.09d)(and)(word-separator)(group-sysop-member: TestUser 94aa7c.09d), 127.0.0.1, <a rel="nofollow" class="external text" href="http://127.0.0.1:9413/wiki/SomePage">SomePage</a>)
<snip>
(oathauth-2fa-groups-notice-multiple-links-entry: 1, (group-suppress-member: TestUser 94aa7c.09d), 127.0.0.1, <a rel="nofollow" class="external text" href="http://127.0.0.1:9413/wiki/DefaultPage">DefaultPage</a>)
<snip>
(oathauth-2fa-groups-notice-multiple-links-entry: 1, (group-interface-admin-member: TestUser 94aa7c.09d), remote-wiki.local, <a rel="nofollow" class="external text" href="http://remote-wiki.local/wiki/SomePage">SomePage</a>)
<snip>
"
contains "(oathauth-2fa-groups-notice-multiple-links-entry: 2, (group-interface-admin-member: TestUser 94aa7c.09d)(and)(word-separator)(group-sysop-member: TestUser 94aa7c.09d), wikidb-unittest_.local".

so the $entry['wiki'] parameter differs. Not sure if that means the test finds the user on a different wiki than expected or something about wiki handling is broken (we know eg. WikiMap doesn't work well in unit tests).

Oct 9 2026, 7:06 AM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth, MediaWiki-Core-Platform-Team, WikimediaCustomizations
Tgr edited projects for T440619: OAuth tests failures blocking merging changes in WikimediaCustomizations, added: MediaWiki-extensions-OATHAuth; removed MediaWiki-extensions-OAuthAuthentication, MediaWiki-extensions-OAuth.
Oct 9 2026, 6:53 AM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth, MediaWiki-Core-Platform-Team, WikimediaCustomizations

Oct 6 2026

Tgr added a comment to T438570: Scap's logstash checker for channels outside "error" and "exception".

(Wrt the current high number of memcached errors, there is an investigation ongoing in T420223: Increase in number of memcached errors in eqiad. For replag, I have no idea what would count as unusually high.)

Oct 6 2026, 4:28 PM · MediaWiki-Core-Platform-Team (Radar), SRE Observability, Scap
Tgr added a comment to T438570: Scap's logstash checker for channels outside "error" and "exception".

Re: false alarms: having a look at throttle_warning tagged logs over the past 7 days, would a spike in any of these logs be actionable if raised during a deploy?

5,346,462 Cookies set on {url} with Cache-Control "{cache-control}"
Oct 6 2026, 4:21 PM · MediaWiki-Core-Platform-Team (Radar), SRE Observability, Scap
Tgr added a comment to T382292: 'global_user_editcount' variable consistently returning 0 for the 'MediaWiki message delivery' account.

We'd need a fast system user check (e.g. T212720: System users should be in a dedicated user group).

Oct 6 2026, 1:26 PM · Product Safety and Integrity, MassMessage, MediaWiki-Core-Platform-Team, MediaWiki-extensions-CentralAuth, AbuseFilter
Tgr added a comment to T440242: Authentication passcode grid.

What is the scenario in which an adversary can intercept the submitted code, but cannot intercept the challenge? Otherwise the combinatorics is entirely pointless, and each fragment can only be used once.

Oct 6 2026, 8:02 AM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth

Oct 5 2026

Tgr edited projects for T440242: Authentication passcode grid, added: MediaWiki-extensions-OATHAuth; removed MediaWiki-Core-Platform-Team, MediaWiki-Core-AuthManager.

That seems like a more confusing variant of issuing recovery codes (which we do).

Oct 5 2026, 9:06 PM · Product Safety and Integrity, MediaWiki-extensions-OATHAuth
Tgr updated Other Assignee for T438591: Commons account not attached with CentralAuth in account rename (SHB), added: Urbanecm.
Oct 5 2026, 4:47 PM · MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-CentralAuth
Tgr closed T438591: Commons account not attached with CentralAuth in account rename (SHB) as Resolved.

CentralAuthUnattachUserJob jobs stopped being scheduled when the train reached group 2, so whatever was happening (still not sure what resulted in multiple jobs per minute) is fixed.

Screenshot Capture - 2026-10-05 - 18-45-11.png (1,464×708 px, 74 KB)

Oct 5 2026, 4:47 PM · MW-1.47-notes (1.47.0-wmf.23; 2026-10-06), MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-CentralAuth
Tgr edited P96553 git-review hook to prevent accidental pushing of security patches.
Oct 5 2026, 9:45 AM · Gerrit, Security

Oct 4 2026

Tgr created T440109: Global rename is (sometimes?) slow on Wikidata.
Oct 4 2026, 8:27 AM · MediaWiki-Core-Platform-Team (Kanban), Performance Issue, MediaWiki-extensions-CentralAuth
Tgr added a comment to T440060: REST Gateway: use the sxp field for token expiry.

Another approach would be to ignore all tokens where the iat (issued at) field is older than some given threshold. That's robust against accidental minting of tokens with no / far future expiry.

Oct 4 2026, 8:18 AM · MediaWiki-API-Platform-Team (MediaWiki-Interfaces-Sprints), ServiceOps
Tgr added a comment to T438570: Scap's logstash checker for channels outside "error" and "exception".

I wonder if we should have some kind of suppression system (along the lines of the current production hack - an array with normalized message => sampling rate that overrides normal sampling settings) so that deployers can deal with non-critical-seeming log flood via a simple and well-documented config change.

Oct 4 2026, 7:39 AM · MediaWiki-Core-Platform-Team (Radar), SRE Observability, Scap
Tgr added a comment to T438570: Scap's logstash checker for channels outside "error" and "exception".

The number of events with throttle warning is always going to be 1000 (or more generally 1000 x number of unique message strings that are being throttled), since that's the throttle limit, right? The real (unthrottled) number of events would be more informative as that tells you how much burden it is putting on the event intake, but I don't think that number is available within Logstash.

Oct 4 2026, 7:38 AM · MediaWiki-Core-Platform-Team (Radar), SRE Observability, Scap

Oct 3 2026

Tgr added a comment to T388247: Develop a means for preventing developers from accidentally pushing embargoed security patches to gerrit.

git-review automatically installs a commit-msg hook from https://gerrit.wikimedia.org/r/tools/hooks/commit-msg when setting up a new repository (to handle Change-Id); maybe that can be altered somehow.

Oct 3 2026, 10:44 AM · Gerrit, SecTeam-Processed, Release-Engineering-Team, Security-Team, Security
Tgr added a comment to T388247: Develop a means for preventing developers from accidentally pushing embargoed security patches to gerrit.

Pushing Gerrit patches for low-risk security issues (which are nevertheless private) is not uncommon, and I think in that case we'd still want to link to the Phab task, so warn reject rather than reject would better. (Or allow the patch through when an I-Know-What-I-Am-Doing: Yes footer is present, or whatever.)

Oct 3 2026, 10:29 AM · Gerrit, SecTeam-Processed, Release-Engineering-Team, Security-Team, Security
Tgr created P96553 git-review hook to prevent accidental pushing of security patches.
Oct 3 2026, 10:26 AM · Gerrit, Security

Oct 1 2026

Tgr added a comment to T438570: Scap's logstash checker for channels outside "error" and "exception".

How does it put pressure on the logging infra if it's a relatively small increase in total log traffic? 200K / 30 min is about 100/sec, IIRC the total MediaWiki log volume is a couple thousand per sec.

Oct 1 2026, 2:36 PM · MediaWiki-Core-Platform-Team (Radar), SRE Observability, Scap
Tgr edited projects for T386205: RuntimeException: CAS update failed on user_touched. The version of the user to be saved is older than the current version. via SessionBackend, added: MediaWiki-Core-Platform-Team; removed MediaWiki-Core-Platform-Team (Radar).

Should be in backlog, not radar, since it's about a component we own. Also maybe worth another look if it's happening 50 times a day.

Oct 1 2026, 10:45 AM · MediaWiki-Core-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-User-management, Wikimedia-production-error

Sep 29 2026

Tgr added a comment to T439489: OAuth deprecation message about virtual domains shows even when main cluster is used.

Oh, right, the service factory could be reinitialized at any time. Guess we'll just have to use Utils::getCentralWiki() everywhere then.

Sep 29 2026, 7:55 PM · MediaWiki-Core-Platform-Team (Kanban), MediaWiki-extensions-OAuth
Tgr updated the task description for T253568: Make the terminology of OAuth UI and documentation easy to understand.
Sep 29 2026, 7:25 PM · MediaWiki-Core-Platform-Team (Kanban), Documentation, Voice & Tone, MediaWiki-extensions-OAuth