[go: nahoru, domu]

Page MenuHomePhabricator

Tgr (Gergő Tisza)
Software Engineer, WMF

Projects (41)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

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

Things my team is working on: MediaWiki-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 T369372: Temp account autocreation on edit fails with "No active login attempt is in progress for your session".

BTW this error occurred when editing a page again right after creating a temporary account, which seems like a bug somewhere in EditPage - there isn't really any reason to autocreate in that situation.

Sun, Jul 7, 9:31 PM · Patch-For-Review, MediaWiki-Core-AuthManager, Temporary accounts, MediaWiki-Platform-Team
Tgr added a comment to T369372: Temp account autocreation on edit fails with "No active login attempt is in progress for your session".

ActorCache seems suspect more generally as well since it has no concept of query flags at all. Here that fails in the more unusual direction where we make a replica read and assume that getting a result means the user is present in the replica (probably the calling code's fault as the interface makes no such contract). But, as far as I see, it could also fail in the opposite direction where we try to read from primary and get a cached value that was the result of an earlier replica read (e.g. during an ActorStore::findActorId() call).

Sun, Jul 7, 7:51 PM · Patch-For-Review, MediaWiki-Core-AuthManager, Temporary accounts, MediaWiki-Platform-Team
Tgr added a comment to T369372: Temp account autocreation on edit fails with "No active login attempt is in progress for your session".

I think I understand what's going on. When Kosta showed this problem earlier, there were two calls to AuthManager::autoCreateUser(); the first actually autocreated, and the second should have followed this code path:

if ( $localId ) {
	$user->setId( $localId );
	$user->loadFromId( $flags );
	if ( $login ) {
		$remember = $source === self::AUTOCREATE_SOURCE_TEMP;
		$this->setSessionDataForUser( $user, $remember );
	}
	return Status::newGood()->warning( 'userexists' );
}

but loadFromId() loaded from the replica where the user didn't exist yet, so $user ended up as the anonymous user, and `setSessionDataForUser()˙effectively logged the user out.

Sun, Jul 7, 7:29 PM · Patch-For-Review, MediaWiki-Core-AuthManager, Temporary accounts, MediaWiki-Platform-Team
Tgr added a subtask for T362713: Implement the new login process which redirects to the central login wiki for showing the login/signup form: T369467: SUL3: show an interstitial when the user is already logged in centrally.
Sun, Jul 7, 7:12 PM · Patch-For-Review, SUL3, MediaWiki-Core-AuthManager, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a parent task for T369467: SUL3: show an interstitial when the user is already logged in centrally: T362713: Implement the new login process which redirects to the central login wiki for showing the login/signup form.
Sun, Jul 7, 7:12 PM · SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr created T369467: SUL3: show an interstitial when the user is already logged in centrally.
Sun, Jul 7, 7:12 PM · SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr added a comment to T369461: UserEditCountUpdate: "Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync" triggered from some API call initiated by Commons search.

There is also a separate batch of errors (88 in last 7 days) with a different stack-trace-in-message:

Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync.
Sun, Jul 7, 3:28 PM · MediaWiki-General, MediaWiki-libs-Rdbms, Wikimedia-production-error
Tgr added a project to T369461: UserEditCountUpdate: "Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync" triggered from some API call initiated by Commons search: MediaWiki-General.

There's a bunch of similar tasks:

but they have very different stack traces, so I assume this is a problem with application code, not the RDBMS library. Not sure what's the right component for UserEditCountTracker though.

Sun, Jul 7, 3:24 PM · MediaWiki-General, MediaWiki-libs-Rdbms, Wikimedia-production-error
Tgr created T369461: UserEditCountUpdate: "Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync" triggered from some API call initiated by Commons search.
Sun, Jul 7, 3:19 PM · MediaWiki-General, MediaWiki-libs-Rdbms, Wikimedia-production-error
Tgr renamed T217515: Replace OAuth's src/Lib with something we can bring in via composer from Replace src/Lib with something we can bring in via composer to Replace OAuth's src/Lib with something we can bring in via composer.
Sun, Jul 7, 2:11 PM · Technical-Debt, MediaWiki-extensions-OAuth
Tgr added a comment to T217515: Replace OAuth's src/Lib with something we can bring in via composer.

Which has been archived. https://github.com/jtsternberg/oauth1-php seems the most mainstream fork now (the other one is https://github.com/jacobkiers/OAuth).

Sun, Jul 7, 2:09 PM · Technical-Debt, MediaWiki-extensions-OAuth
Tgr created T369456: prop=cirrusbuilddoc API queries error out with EntitySchemaValue instead of EntityIdValue passed to the service constructor.
Sun, Jul 7, 1:00 PM · EntitySchema, Wikidata, wmde-wikidata-tech, Discovery-Search, CirrusSearch, Wikimedia-production-error
Tgr added a project to T369455: ApiPurge: Precondition failed: The PermissionStatus passed as $status parameter must still be good: MW-Interfaces-Team.

The root problem is that the fact that the Authority methods need a good Status object as an input isn't really documented. Also arguably it's not a very good match of how Status works; more generally, we have a Status object which is a collection of errors and can be merged into other Status objects, but then we create Status subclasses with their own added behavior, which makes the whole merging behavior unreliable. So in the longer term IMO we should either get rid of PermissionStatus, get rid of Status::merge, or replace subclassing with some sort of composition-based mechanism that works with merging (probably not worth the complexity).

Sun, Jul 7, 12:47 PM · MW-Interfaces-Team, MediaWiki-User-management, MediaWiki-Action-API, Wikimedia-production-error
Tgr added a comment to T369455: ApiPurge: Precondition failed: The PermissionStatus passed as $status parameter must still be good.

authorizeAction() dies if the Status that passed in already has errors (not sure that's useful, but it has been that way since the creation of that class). ApiPurge reuses the same Status object for the purge and linkpurge permission checks (which are for two separate actions, if one fails the check, the other is still done). So presumably this happens when someone uses the forcelinkupdate or forcerecursivelinkupdate option and the purge check gets ratelimited. Has probably been going on for a long time.

Sun, Jul 7, 12:39 PM · MW-Interfaces-Team, MediaWiki-User-management, MediaWiki-Action-API, Wikimedia-production-error
Tgr created T369455: ApiPurge: Precondition failed: The PermissionStatus passed as $status parameter must still be good.
Sun, Jul 7, 12:28 PM · MW-Interfaces-Team, MediaWiki-User-management, MediaWiki-Action-API, Wikimedia-production-error

Sat, Jul 6

Tgr claimed T369156: Confusing error hint when passing unrecognised parameters to oauth2/access_token endpoint.
Sat, Jul 6, 6:20 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-extensions-OAuth
Tgr added a comment to T369156: Confusing error hint when passing unrecognised parameters to oauth2/access_token endpoint.

Oh, I see, this is coming from AuthenticationHandler::validate() not AuthenticationHandler::getAuthorizationProvider() (which should probably have a more accurate error message, in any case).

Sat, Jul 6, 2:36 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-extensions-OAuth

Fri, Jul 5

Tgr added a project to T123792: Write an up to date documentation about CentralAuth: MediaWiki-Platform-Team.
Fri, Jul 5, 10:48 AM · MediaWiki-Platform-Team, Documentation, MediaWiki-Documentation, MediaWiki-extensions-CentralAuth
Tgr added a subtask for T123792: Write an up to date documentation about CentralAuth: T244028: Update mw:Extension:CentralAuth/Walkthrough.
Fri, Jul 5, 10:46 AM · MediaWiki-Platform-Team, Documentation, MediaWiki-Documentation, MediaWiki-extensions-CentralAuth
Tgr added a parent task for T244028: Update mw:Extension:CentralAuth/Walkthrough: T123792: Write an up to date documentation about CentralAuth.
Fri, Jul 5, 10:46 AM · Documentation, MediaWiki-extensions-CentralAuth

Thu, Jul 4

Tgr added a comment to T369156: Confusing error hint when passing unrecognised parameters to oauth2/access_token endpoint.

The reason for this (very poorly worded) error seems to be that the REST API does not see the grant_type parameter, but I have no idea how adding an extra parameter would cause that.

Thu, Jul 4, 8:38 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-extensions-OAuth
Tgr updated subscribers of T369156: Confusing error hint when passing unrecognised parameters to oauth2/access_token endpoint.

Failing due to an extra parameter sounds like T360434: REST: request body validation should fail if unexpected fields are present (cc @daniel). It would probably be better for that to either be a warning (I guess that concept would have to be introduced to the REST API first, but it seems useful well beyond this use case) or to follow the B/C break process.

Thu, Jul 4, 8:28 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-extensions-OAuth
Tgr added a comment to T369260: PHP Notice: Undefined offset: 0.

Indeed: https://gerrit.wikimedia.org/g/operations/mediawiki-config/+/8d1e9472138a499f138f3c2b1a3138973f339697/wmf-config/CommonSettings.php#2356

Thu, Jul 4, 9:44 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, MediaWiki-General, Wikimedia-production-error
Tgr added a comment to T369260: PHP Notice: Undefined offset: 0.

I guess the TitleQuickPermissions hook returns false without actually setting an error?

Thu, Jul 4, 9:35 AM · MW-1.43-notes (1.43.0-wmf.12; 2024-07-02), Patch-For-Review, MediaWiki-General, Wikimedia-production-error

Wed, Jul 3

Tgr added a subtask for T362713: Implement the new login process which redirects to the central login wiki for showing the login/signup form: T369180: Ensure no AuthenticationRequests are added to the local login flow in SUL3 mode.
Wed, Jul 3, 3:13 PM · Patch-For-Review, SUL3, MediaWiki-Core-AuthManager, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a parent task for T369180: Ensure no AuthenticationRequests are added to the local login flow in SUL3 mode: T362713: Implement the new login process which redirects to the central login wiki for showing the login/signup form.
Wed, Jul 3, 3:12 PM · MediaWiki-Platform-Team, SUL3
Tgr created T369180: Ensure no AuthenticationRequests are added to the local login flow in SUL3 mode.
Wed, Jul 3, 3:12 PM · MediaWiki-Platform-Team, SUL3

Tue, Jul 2

Tgr added a comment to T303433: Allow Stewards to enable 'emergency CAPTCHAs' for anonymous IP edits.

Just trying to avoid the need to build new software for this, if it can be easily solved with something we've already got.

Tue, Jul 2, 3:58 PM · MediaWiki-Platform-Team (Radar), MW-1.39-notes (1.39.0-wmf.25; 2022-08-15), Stewards-and-global-tools, MediaWiki-extensions-CentralAuth, SecTeam-Processed, Sustainability (Incident Followup), ConfirmEdit (CAPTCHA extension), Platform Engineering, Wikimedia-Site-requests, Security

Mon, Jul 1

Tgr added a project to T42050: Allow password reset requests to be handled centrally for unified users: MediaWiki-Platform-Team.
Mon, Jul 1, 1:54 PM · MediaWiki-Platform-Team, SUL3, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr added a comment to T338356: Vagrant fails to create apt.conf.d/01no-recommended during setup.

I have seen other APT-related HTTP errors breaking a puppet run. It happens every once in a while, I don't think we have much control over it.

Mon, Jul 1, 1:54 PM · MediaWiki-Vagrant
Tgr updated the task description for T319167: [EPIC] Upgrade MediaWiki-Vagrant to Debian Bullseye.
Mon, Jul 1, 1:52 PM · MediaWiki-Platform-Team, User-Tgr, Epic, Patch-For-Review, MediaWiki-Vagrant
Tgr edited P65582 Phan test for gerrit 1051088.
Mon, Jul 1, 1:48 PM
Tgr created P65582 Phan test for gerrit 1051088.
Mon, Jul 1, 1:46 PM
Tgr closed T352814: Undefined/unused variable $request->base_string as Resolved.
Mon, Jul 1, 12:29 PM · PHP 8.2 support, MediaWiki-extensions-OAuth
Tgr closed T352814: Undefined/unused variable $request->base_string, a subtask of T314099: PHP 8.2: Dynamic property creation is deprecated, as Resolved.
Mon, Jul 1, 12:28 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), MW-1.40-notes (1.40.0-wmf.22; 2023-02-06), MW-1.39-notes, MW-1.35-notes, MW-1.38-notes, MW-1.37-notes, MediaWiki-Parser, MediaWiki-Core-Tests, MediaWiki-User-management, PHP 8.2 support
Tgr added a comment to T367566: Cloud VPS "wikispore" project Buster deprecation.

We expect this to be done on time.

Mon, Jul 1, 9:13 AM · Cloud-VPS (Debian Buster Deprecation)
Tgr added a comment to T365934: Rebuild Wikispore Vagrant boxes on Bullseye or Bookworm.

This will be harder than I thought as there is no Vagrant base box for Bullseye + amd64 + LXC. We'll either have to build our own per https://github.com/fgrehm/vagrant-lxc/blob/master/BOXES.md (there are some extremely old tutorials here and here) or finally migrate off Vagrant (T322991: Consider another orchestration system for Wikispore).

Mon, Jul 1, 9:12 AM · Cloud-VPS (Debian Buster Deprecation), Wikispore
Tgr added a comment to T322991: Consider another orchestration system for Wikispore.

Vagrant in Cloud VPS relies on vagrant-lxc which has been unmaintained for a while and does not work on Debian Bookwork, so the next server upgrade (at our typical pace, two years from now) is going to be the end of life for the current Wikispore infrastructure.

Mon, Jul 1, 8:47 AM · Wikispore

Sun, Jun 30

Tgr added a comment to T214722: Introduce global system users.

However it will also make the user displayed as system user (isSystemUser) in various places.

Sun, Jun 30, 2:35 PM · MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth

Fri, Jun 28

Tgr closed T367611: Wikispore down as Resolved.

Hey, i just saw this and it seems to be a database issue. I am a Linux sysadmin with prior MediaWiki experience but this is the first time i can contribute here. How do you manage access and how can i get the necessary access to solve this issue?

Fri, Jun 28, 6:11 PM · Wikispore
Tgr claimed T366476: Investigate & resolve inaccurate usage of LoginSignupSpecialPage::getReturnToQueryStringFragment().
Fri, Jun 28, 1:41 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), MediaWiki-Platform-Team, SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Special-pages
Tgr moved T366476: Investigate & resolve inaccurate usage of LoginSignupSpecialPage::getReturnToQueryStringFragment() from Backlog to In progress on the SUL3 board.
Fri, Jun 28, 1:40 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), MediaWiki-Platform-Team, SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Special-pages
Tgr added a comment to T316303: Check global rights during autocreation.

I think this is as much as we want to do for now so feel free to re-test. Proper logins still won't work but autologin & co. should.

Fri, Jun 28, 12:22 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), User-notice, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-Core-AuthManager

Thu, Jun 27

Tgr created T368641: Track Github usernames associated with developer accounts.
Thu, Jun 27, 4:58 PM · Infrastructure-Foundations, Bitu

Wed, Jun 26

Tgr added a comment to T348573: All Wikimedia extensions that store their data outside the main database should use a virtual database domain.

I added a virtual domain parameter to Template:Extension on mediawiki.org. In theory it could be added automatically to the relevant pages via Tool-extjsonuploader, that's not done for now.

Wed, Jun 26, 10:48 AM · Patch-For-Review, Epic, WMF-General-or-Unknown
Tgr updated the task description for T362095: "composer install" flaky in CI due to "Failed to connect to github.com port 443: Connection timed out".
Wed, Jun 26, 9:13 AM · ci-test-error (WMF-deployed Build Failure), Composer, Continuous-Integration-Infrastructure
Tgr added a parent task for T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com": T362426: CI depending on GitHub results in numerous failures outside our control.
Wed, Jun 26, 9:11 AM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Infrastructure
Tgr added a parent task for T362404: Rust buildservice failed to clone a repository from GitHub: T362426: CI depending on GitHub results in numerous failures outside our control.
Wed, Jun 26, 9:11 AM · Toolforge
Tgr added a parent task for T362095: "composer install" flaky in CI due to "Failed to connect to github.com port 443: Connection timed out": T362426: CI depending on GitHub results in numerous failures outside our control.
Wed, Jun 26, 9:11 AM · ci-test-error (WMF-deployed Build Failure), Composer, Continuous-Integration-Infrastructure
Tgr added subtasks for T362426: CI depending on GitHub results in numerous failures outside our control: T362425: ForeignResourceStructureTest flaky in CI due to "Failed to download resource at https://codeload.github.com", T362095: "composer install" flaky in CI due to "Failed to connect to github.com port 443: Connection timed out", T362404: Rust buildservice failed to clone a repository from GitHub.
Wed, Jun 26, 9:11 AM · Continuous-Integration-Infrastructure, Developer Productivity
Tgr merged task T368490: Builds failing with "Failed to clone https://github.com/wikimedia/oauth2-server.git" into T362095: "composer install" flaky in CI due to "Failed to connect to github.com port 443: Connection timed out".
Wed, Jun 26, 9:09 AM · Continuous-Integration-Infrastructure, ci-test-error (WMF-deployed Build Failure)
Tgr merged T368490: Builds failing with "Failed to clone https://github.com/wikimedia/oauth2-server.git" into T362095: "composer install" flaky in CI due to "Failed to connect to github.com port 443: Connection timed out".
Wed, Jun 26, 9:09 AM · ci-test-error (WMF-deployed Build Failure), Composer, Continuous-Integration-Infrastructure

Tue, Jun 25

Tgr closed T354701: Enable migration of WebAuthn credentials to loginwiki as Resolved.

With the patches that have landed, it is now possible to disallow key management other than the removal of keys on a given wiki, so we could prevent new users from enabling WebAuthn while reaching out to existing users and asking them to migrate. So we can call this task done.

Tue, Jun 25, 8:49 PM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), MediaWiki-Platform-Team, SUL3, MediaWiki-extensions-OATHAuth
Tgr closed T354701: Enable migration of WebAuthn credentials to loginwiki, a subtask of T348388: Use central login wiki for login (SUL3), as Resolved.
Tue, Jun 25, 8:48 PM · SUL3, Stewards-and-global-tools, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr closed T354701: Enable migration of WebAuthn credentials to loginwiki, a subtask of T362715: Move credentials change to central login wiki, as Resolved.
Tue, Jun 25, 8:48 PM · SUL3, MediaWiki-extensions-OATHAuth, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr renamed T354701: Enable migration of WebAuthn credentials to loginwiki from Migrate WebAuthn credentials to loginwiki to Enable migration of WebAuthn credentials to loginwiki.
Tue, Jun 25, 8:20 PM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), MediaWiki-Platform-Team, SUL3, MediaWiki-extensions-OATHAuth

Mon, Jun 24

Tgr added a comment to T209149: Have linters/tests results show up as comments in files on gerrit.

Gerrit 3.10 introduces a more structured way for suggestions: https://www.gerritcodereview.com/3.10.html#allow-fixes-in-human-comments-via-rest-api

Robot Comments have been officially deprecated for some time and the checks API framework is recommended since Gerrit 3.6. This is great as it provides a way of greatly reducing the size of the repository. However, unlike fixes suggested in Robot-Comments, Human Suggested fixes could not be applied programmatically, until now.

Gerrit 3.10 introduces a way of suggesting fixes that could then be programmatically applied with the the Apply Stored Fixes endpoint. This is done by adding an extra field fix_suggestions in CommentInfo that will be stored separately on NoteDB.

(...)

The experiment can be enabled in gerrit.config like so

[experiments]
          enabled = GerritBackendFeature__allow_fix_suggestions_in_comments

(In 3.9 the bot would instead have to make a normal comment and wrap the code snippet in ```...```. Not sure what the advantages / disadvantages of the new method are.)

Mon, Jun 24, 7:37 PM · Release-Engineering-Team (Yak Shaving 🐃🪒), MW-1.37-notes (1.37.0-wmf.15; 2021-07-19), Continuous-Integration-Infrastructure
Tgr added a comment to T368235: Remove support for unattached accounts in CentralAuth.

Another old task to revisit is T73773: Get rid of lazy-loading of unattached accounts from CentralAuth.

Mon, Jun 24, 3:31 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T368235: Remove support for unattached accounts in CentralAuth.

That would probably also be a good time to review the remaining SUL-Finalization tasks.

Mon, Jun 24, 3:30 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T214722: Introduce global system users.

I propose that we can introduce a new user name format for system user names. For example the abuse filter blocker can be named User:@abusefilter-blocker in every wiki, and a localized named (stored in a MediaWiki message) can be shown in page history, recent changes and logs.

Mon, Jun 24, 3:30 PM · MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr added a project to T42050: Allow password reset requests to be handled centrally for unified users: SUL3.

Thanks for the reminder @Bugreporter, I didn't think of this but it's definitely a blocker for SUL3 (although for the MVP we can leave it on the local wiki).

Mon, Jun 24, 3:27 PM · MediaWiki-Platform-Team, SUL3, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr added a comment to T348388: Use central login wiki for login (SUL3).

But having an unattached local account for User:Example in enwiki will make Example unable to edit enwiki, so it is still problematic. We may want to prevent it completely.

Mon, Jun 24, 3:05 PM · SUL3, Stewards-and-global-tools, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr edited projects for T368125: Clean up existing unattached accounts, added: MediaWiki-extensions-CentralAuth; removed SUL3.

Once we only use loginwiki to do password or 2FA change, existing accounts not attached to CentralAuth will break.

Mon, Jun 24, 2:56 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr removed a parent task for T214722: Introduce global system users: T275931: Have new MassMessage system users be automatically attached to CentralAuth.
Mon, Jun 24, 11:38 AM · MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr removed a subtask for T275931: Have new MassMessage system users be automatically attached to CentralAuth: T214722: Introduce global system users.
Mon, Jun 24, 11:38 AM · MediaWiki-extensions-CentralAuth, MassMessage
Tgr added a parent task for T214722: Introduce global system users: T275931: Have new MassMessage system users be automatically attached to CentralAuth.
Mon, Jun 24, 11:38 AM · MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr added a subtask for T275931: Have new MassMessage system users be automatically attached to CentralAuth: T214722: Introduce global system users.
Mon, Jun 24, 11:38 AM · MediaWiki-extensions-CentralAuth, MassMessage
Tgr changed the status of T212720: System users should be in a dedicated user group from Resolved to Declined.

Adjusting status to more accurately reflect the outcome.

Mon, Jun 24, 11:38 AM · User-DannyS712, User-Daimona, MediaWiki-User-management
Tgr updated the task description for T214722: Introduce global system users.
Mon, Jun 24, 11:36 AM · MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr added a comment to T348388: Use central login wiki for login (SUL3).

So it would be the time to remove support for unattached accounts (i.e. assume all accounts are mergable) in CentralAuth.

Mon, Jun 24, 11:35 AM · SUL3, Stewards-and-global-tools, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth

Sun, Jun 23

Tgr added a comment to T348388: Use central login wiki for login (SUL3).

Actually, I don't think unattached accounts can log in at all. That was disabled way back in rOMWC165ecbfaba66: Set $wgCentralAuthStrict = true;.

Sun, Jun 23, 9:12 PM · SUL3, Stewards-and-global-tools, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr created T368230: Investigate missing loginwiki accounts.
Sun, Jun 23, 9:05 PM · MediaWiki-Platform-Team, SUL3, MediaWiki-extensions-CentralAuth
Tgr added a comment to T316303: Check global rights during autocreation.

There are three relevant autocreation scenarios on Wikimedia wikis:

  1. autocreation from the session provider in Setup.php, when there is a valid central session cookie but no local session cookie (e.g. you are visiting ab.wikipedia.org while already logged in to en.wikipedia.org)
  2. autocreation from the primary authentication provider after a successful login
  3. autocreation from Special:CentralAutoLogin/setCookies on successful autologin or edge login

(There's also autocreation on loginwiki via Special:CentralLogin right after registration, and forced autocreation by another user via special page or script, but the user's global rights are non-existent or irrelevant in those scenarios.)

Sun, Jun 23, 8:44 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), User-notice, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-Core-AuthManager

Sat, Jun 22

Tgr added a comment to T307827: Missing abuse logs of Special:CreateLocalAccount actions.

Autocreate errors are cached for 5 minutes for performance (since autocreate is attempted on every pageview), so assuming the initial retries are within that time frame, this is working as expected.

Sat, Jun 22, 4:13 PM · Stewards-and-global-tools, MediaWiki-extensions-CentralAuth, AbuseFilter

Fri, Jun 21

DannyS712 awarded T346054: Normalize user_properties table a Like token.
Fri, Jun 21, 4:52 AM · Schema-change, Data-Persistence (work done), MediaWiki-Core-Preferences

Thu, Jun 20

Tgr updated the task description for T364829: Update Wikimedia apps to use central login domain.
Thu, Jun 20, 1:54 PM · SUL3, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr updated subscribers of T364829: Update Wikimedia apps to use central login domain.

Per @Seddon, breaking changes to the API should not happen for at a minimum 12, preferably 24 months after the apps were updated for the new behavior. So we'll need to use different defaults for the SUL3 feature flag on the API and web (which on second thought isn't particularly confusing - to API users it will just be exposed as a normal API parameter, they won't know or care that a similar feature flag exists on the web).

Thu, Jun 20, 1:54 PM · SUL3, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T365298: Design request: Central Login Design Review and Recommendations.

Yeah we could do that. Or we could use something like authentication.wikimedia.org.

Thu, Jun 20, 12:33 PM · SUL3, Design, Wikimedia-Design
Tgr updated the task description for T364829: Update Wikimedia apps to use central login domain.
Thu, Jun 20, 12:05 PM · SUL3, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a subtask for T348388: Use central login wiki for login (SUL3): T368037: Estimate impact of SUL3 on bots.
Thu, Jun 20, 11:57 AM · SUL3, Stewards-and-global-tools, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr added a parent task for T368037: Estimate impact of SUL3 on bots: T348388: Use central login wiki for login (SUL3).
Thu, Jun 20, 11:57 AM · MediaWiki-Platform-Team, SUL3
Tgr created T368037: Estimate impact of SUL3 on bots.
Thu, Jun 20, 11:56 AM · MediaWiki-Platform-Team, SUL3
Tgr added a comment to T348388: Use central login wiki for login (SUL3).

As I said T367968#9908254, there may be accounts currently unattached to SUL. We need to handle them before switching to SUL3.

Thu, Jun 20, 11:50 AM · SUL3, Stewards-and-global-tools, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Tgr added a comment to T365298: Design request: Central Login Design Review and Recommendations.

It's an open bikeshed! Others have recommended suggested "accounts" too. (login.wikimedia.org is already in use.) It's more understandable but also not very accurate since the domain will not be used for account management in general.

Thu, Jun 20, 11:45 AM · SUL3, Design, Wikimedia-Design

Wed, Jun 19

Tgr added a subtask for T363695: Create a Wikimedia login domain that can be served by any wiki: Unknown Object (Task).
Wed, Jun 19, 8:48 PM · Security, SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr renamed T367968: Remove centralauth-merge user right from Wikimedia wikis from centralauth-merge user right is irrelevant in Wikimedia wikis to Remove centralauth-merge user right from Wikimedia wikis.
Wed, Jun 19, 7:38 PM · Wikimedia-Site-requests
Tgr added a comment to T355150: Application Security Review Request : Adiutor MediaWiki extension.

On an aside, can this requirement be documented at Writing an extension for deployment, preferably with an explanation of what "basic support" means? It's disrespective of volunteer contributors' time, to put it mildly, if they only find out at the end of a long development and review process that their extension cannot be deployed for reasons they have no control over.

Wed, Jun 19, 7:34 PM · Adiutor, secscrum, Security, Application Security Reviews

Mon, Jun 17

Tgr edited projects for T366858: AbuseFilter does not report user_group or user_name when CreateLocalAccount is performed, added: MediaWiki-Platform-Team (Radar); removed MediaWiki-Platform-Team.

The amount of details reported seems pretty minimal: https://zh.wikipedia.org/wiki/Special:%E6%BB%A5%E7%94%A8%E6%97%A5%E5%BF%97/5138031

Mon, Jun 17, 3:04 PM · MediaWiki-Platform-Team (Radar), Chinese-Sites, MediaWiki-extensions-CentralAuth, AbuseFilter
Tgr moved T367433: ApiUsageException: The authorization headers in your request are not valid: Invalid signature from Blocked/waiting to Radar on the MediaWiki-Platform-Team board.
Mon, Jun 17, 2:35 PM · MediaWiki-Platform-Team (Radar), MW-Interfaces-Team, MediaWiki-Action-API, MediaWiki-extensions-OAuth, User-brennen, Wikimedia-production-error
Tgr moved T367433: ApiUsageException: The authorization headers in your request are not valid: Invalid signature from Inbox, needs triage to Blocked/waiting on the MediaWiki-Platform-Team board.
Mon, Jun 17, 2:34 PM · MediaWiki-Platform-Team (Radar), MW-Interfaces-Team, MediaWiki-Action-API, MediaWiki-extensions-OAuth, User-brennen, Wikimedia-production-error
Tgr added a project to T367433: ApiUsageException: The authorization headers in your request are not valid: Invalid signature: MW-Interfaces-Team.
Mon, Jun 17, 2:34 PM · MediaWiki-Platform-Team (Radar), MW-Interfaces-Team, MediaWiki-Action-API, MediaWiki-extensions-OAuth, User-brennen, Wikimedia-production-error
Tgr edited projects for T367433: ApiUsageException: The authorization headers in your request are not valid: Invalid signature, added: MediaWiki-extensions-OAuth, MediaWiki-Action-API; removed MediaWiki-Core-AuthManager.

This is user error (invalid OAuth signature). The problem on our side is that it ends up in the exception channel which should not happen for an ApiUsageException. It should be handled by ApiMain::handleApiBeforeMainException() which AFAICS does not log there (unfortunately since the stack trace reflects where the exception was created, not where it was logged, it's hard to be sure what's going on).

Mon, Jun 17, 1:47 PM · MediaWiki-Platform-Team (Radar), MW-Interfaces-Team, MediaWiki-Action-API, MediaWiki-extensions-OAuth, User-brennen, Wikimedia-production-error

Fri, Jun 14

Tgr claimed T367542: Cloud VPS "mwv-apt" project Buster deprecation.

I'll look into this. IIRC mwv-apt-02 is uses as an APT source by Vagrant; not sure how useful/important it is.

Fri, Jun 14, 3:07 PM · Cloud-VPS (Debian Buster Deprecation)
Tgr added a comment to T367541: Cloud VPS "mediawiki-vagrant" project Buster deprecation.

Note this project is unclaimed. Unlike mwv-apt (T367542) it's not used directly by MediaWiki-Vagrant; I'm not quite sure what it is for (the name implies it's some sort of CI, but I don't think it's used by Jenkins). Maybe @bd808 knows.

Fri, Jun 14, 3:05 PM · Cloud-VPS (Debian Buster Deprecation)
Tgr merged T367566: Cloud VPS "wikispore" project Buster deprecation into T365934: Rebuild Wikispore Vagrant boxes on Bullseye or Bookworm.
Fri, Jun 14, 3:02 PM · Cloud-VPS (Debian Buster Deprecation), Wikispore
Tgr merged task T367566: Cloud VPS "wikispore" project Buster deprecation into T365934: Rebuild Wikispore Vagrant boxes on Bullseye or Bookworm.
Fri, Jun 14, 3:01 PM · Cloud-VPS (Debian Buster Deprecation)
Tgr moved T365934: Rebuild Wikispore Vagrant boxes on Bullseye or Bookworm from Unsorted to VPS projects on the Cloud-VPS (Debian Buster Deprecation) board.
Fri, Jun 14, 3:01 PM · Cloud-VPS (Debian Buster Deprecation), Wikispore
Tgr added a project to T365934: Rebuild Wikispore Vagrant boxes on Bullseye or Bookworm: Cloud-VPS (Debian Buster Deprecation).
Fri, Jun 14, 3:01 PM · Cloud-VPS (Debian Buster Deprecation), Wikispore
Tgr claimed T367566: Cloud VPS "wikispore" project Buster deprecation.

We expect this to be done on time.

Fri, Jun 14, 3:00 PM · Cloud-VPS (Debian Buster Deprecation)

Thu, Jun 13

Tgr added a comment to T365298: Design request: Central Login Design Review and Recommendations.

We would have to maintain another mapping (besides domain <=> DB name and domain <=> site/lang) then. Other than that, it's straightforward.

Thu, Jun 13, 7:00 PM · SUL3, Design, Wikimedia-Design