Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
BBC RussianHomePhabricator
Log In

Tgr (Gergő Tisza)
Software Engineer, WMF

Projects (40)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Sep 19 2014, 4:55 PM (519 w, 1 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 T370304: Bursts of occasional severe contention on s4 (commonswiki) primary mariadb causing recurrent user-facing outages on all wikis.

For gadgets using mw.Api() (which is hopefully most of them), the nice solution would be to add a new constructor option to pass a scheduler. Then within mw.Api, we'd just have to change mw.Api.ajax() so that it gets a promise from the scheduler and chains the API call to that, and in gadgets you only need to make some trivial change like new mw.Api() -> new mw.Api( { scheduler: mw.Api.defaultScheduler } ). The scheduler could then decide whether to sequentialize requests or limit them to a fixed number of connections or inject delay or whatever.

Sat, Aug 31, 3:19 PM · MediaWiki-Platform-Team (Radar), Vuln-DoS, SecTeam-Processed, Security, Essential-Work, Content-Transform-Team-WIP, User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Tgr reopened T316303: Check global rights during autocreation as "Open".

[autocreation from the primary authentication provider after a successful login] would probably take a lot of fiddling to fix because there are a ton of permission checks in AuthManager and SpecialUserlogin and we'd need to ensure every single one of those uses an anonymous account with a name set. But this scenario will probably go away anyway after T348388. That leaves central autologin, which seems easy to fix.

Sat, Aug 31, 12:46 PM · MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), User-notice, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-Core-AuthManager
Tgr created T373738: Audit special pages used on the SUL3 shared login domain for disallowing user JS.
Sat, Aug 31, 11:37 AM · SUL3
Tgr created T373737: Disable irrelevant extensions on SUL3 login domain.
Sat, Aug 31, 11:35 AM · MediaWiki-Platform-Team, SUL3
Tgr added projects to T45646: "MediaWiki:Copyright" message allows raw HTML: SUL3, MediaWiki-Platform-Team.

Per the discussion with Security that happened as part of T367995: Security Preview for shared login domain, we should probably fix this before making the copyright message from all wikis show up on the same shared login domain.

Sat, Aug 31, 9:40 AM · MediaWiki-Platform-Team, SUL3, I18n, Security, MW-1.32-notes (WMF-deploy-2018-08-28 (1.32.0-wmf.19)), Vuln-XSS, MediaWiki-General
Tgr created T373732: Audit SUL3 shared-domain i18n messages for XSS.
Sat, Aug 31, 9:39 AM · MediaWiki-Platform-Team, SUL3

Fri, Aug 30

Tgr updated subscribers of T373506: Update MediaWiki Platform team Logstash dashboard.

First stab:

{
  "query": {
    "bool": {
      "minimum_should_match": 1,
      "should": [
        {
          "match": {
            "channel": "resourceloader"
          }
        },
        {
          "bool": {
            "must": [
              {
                "terms": {
                  "channel.keyword": [ "OAuth", "authentication", "session", "SQLBagOStuff" ]
                }
              },
              {
                "terms": {
                  "level.keyword": [ "ERROR" ]
                }
              }
            ]
          }
        },
        {
          "match_phrase": {
            "exception.trace": "ResourceLoader"
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "includes/auth/"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "includes/session/"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "includes/password/"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "maintenance/benchmarks/"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "includes/profiler"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "includes/libs/Stats/"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "vendor/cssjanus/cssjanus"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "vendor/wikimedia/less.php"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "vendor/wikimedia/minify"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "vendor/wikimedia/php-session-serializer"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "vendor/wikimedia/relpath"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.trace": "vendor/wikimedia/wrappedstring"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.file": "includes/poolcounter/"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.file": "includes/objectcache/"
                }
              }
            ]
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "channel.keyword": "exception"
                }
              },
              {
                "match_phrase": {
                  "exception.file": "includes/libs/objectcache/"
                }
              }
            ]
          }
        }
      ]
    }
  }
}

(test)

Fri, Aug 30, 6:41 PM · MediaWiki-Platform-Team
Tgr added a comment to T373644: Provide data on whether the file itself was changed in mediawiki.page_change.v1 event.

Conceptually, file revisions are completely unrelated to page revisions. MediaWiki happens to generate a null page revision when a new file revision is uploaded, but AFAIK that's just for product reasons (makes the page history more helpful). I'm not sure it happens for all file changes (revert? revision delete? undelete?). Also once you move to Wikipedias, there are two potential page event streams that are associated with a file (if it exists locally, the local file page; if it doesn't exist locally, the Commons file page), which is complexity that you could hide with a file event stream but not so much with a page event stream.

Fri, Aug 30, 3:36 PM · Data-Engineering, Event-Platform, Wikimedia Enterprise Engineering, Wikimedia Enterprise
AntiCompositeNumber awarded T372702: editors are repeatedly getting logged out (August 2024) a The World Burns token.
Fri, Aug 30, 11:51 AM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup

Thu, Aug 29

Tgr added a comment to T367995: Security Preview for shared login domain.

A somewhat oversimplified diagram of how the cookie exchange between domains works: https://prezi.com/p/euajtznrs59r/?present=1

Thu, Aug 29, 12:17 PM · SecTeam-Processed, secscrum, SUL3, Security Preview, RFS

Wed, Aug 28

Tgr added a comment to T373507: TypeError: Argument 1 passed to MediaWiki\Extension\CentralAuth\CentralAuthTokenManager::consume() must be of the type string, null given.

So until now any API involving page images broke when used with a CA token? Huh.

Wed, Aug 28, 5:50 PM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
Tgr added a comment to T373504: Wikimedia\NormalizedException\NormalizedException: Authentication failed because of inconsistent provider array.

If it doesn't occur any more

Wed, Aug 28, 1:43 PM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, Wikimedia-production-error
Tgr added a comment to T373507: TypeError: Argument 1 passed to MediaWiki\Extension\CentralAuth\CentralAuthTokenManager::consume() must be of the type string, null given.

This seems like a pre-existing bug that became more severe due to stricter type hinting added in that patch. Not sure what exactly is going on - it seems the API sees the centralauthtoken URL parameter at the beginning of the request so it loads the CentralAuth session provider, but then doesn't see the parameter anymore by the point it actually starts processing the request. The first check is via WebRequest::getVal() and the second one via ApiMain::getVal() so it's presumably some sort of discrepancy between those.

Wed, Aug 28, 9:51 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
Tgr added a comment to T373504: Wikimedia\NormalizedException\NormalizedException: Authentication failed because of inconsistent provider array.

If it doesn't occur any more, it's simply a side effect of deploying a change that adds a new field to a data structure stored in the session, while some live sessions were holding the old version of the data structure. (Sorry, I should have foreseen that happening.) Authentication sessions expire in five minutes so not a big deal, a few logins (up to a hundred or so, I'd guess based on the size difference between group1 and group2) will fail with a strange error message and users will have to retry. Not great but not worth an emergency patch, IMO.

Wed, Aug 28, 9:42 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, Wikimedia-production-error
Tgr claimed T373507: TypeError: Argument 1 passed to MediaWiki\Extension\CentralAuth\CentralAuthTokenManager::consume() must be of the type string, null given.
Wed, Aug 28, 9:12 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
Tgr claimed T373504: Wikimedia\NormalizedException\NormalizedException: Authentication failed because of inconsistent provider array.
Wed, Aug 28, 9:12 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, Wikimedia-production-error
Tgr added a subtask for T363699: Determine and implement SUL 3 login handshake mechanism: T373507: TypeError: Argument 1 passed to MediaWiki\Extension\CentralAuth\CentralAuthTokenManager::consume() must be of the type string, null given.
Wed, Aug 28, 9:11 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Patch-For-Review, SUL3, MediaWiki-Platform-Team, Security, MediaWiki-extensions-CentralAuth
Tgr added a comment to T373507: TypeError: Argument 1 passed to MediaWiki\Extension\CentralAuth\CentralAuthTokenManager::consume() must be of the type string, null given.

Caused by rECAUe59ff145fbbb: Use TokenManager for existing token operations.

Wed, Aug 28, 9:11 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
Tgr added a parent task for T373507: TypeError: Argument 1 passed to MediaWiki\Extension\CentralAuth\CentralAuthTokenManager::consume() must be of the type string, null given: T363699: Determine and implement SUL 3 login handshake mechanism.
Wed, Aug 28, 9:11 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
Tgr added a comment to T373504: Wikimedia\NormalizedException\NormalizedException: Authentication failed because of inconsistent provider array.

Caused by rMWcde00b558542: auth: Add AuthManagerFilterProviders hook. Not sure if it's a bug in that patch or it just exposed a bug from earlier, will look into it.

Wed, Aug 28, 9:09 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, Wikimedia-production-error
Tgr added a subtask for T369180: Ensure no AuthenticationRequests are added to the local login flow in SUL3 mode: T373504: Wikimedia\NormalizedException\NormalizedException: Authentication failed because of inconsistent provider array.
Wed, Aug 28, 9:09 AM · MediaWiki-extensions-CentralAuth, MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), MediaWiki-Platform-Team, SUL3
Tgr added a parent task for T373504: Wikimedia\NormalizedException\NormalizedException: Authentication failed because of inconsistent provider array: T369180: Ensure no AuthenticationRequests are added to the local login flow in SUL3 mode.
Wed, Aug 28, 9:09 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, Wikimedia-production-error
Tgr created T373506: Update MediaWiki Platform team Logstash dashboard.
Wed, Aug 28, 9:00 AM · MediaWiki-Platform-Team
Tgr added a comment to T373447: CentralAuth no longer uses `centralauth` as default database name, but the on-wiki docs haven't been updated yet.

Updated some more. I think it's fixed now but will leave it open so @DAlangi_WMF
can review.

Wed, Aug 28, 7:43 AM · Documentation, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth

Tue, Aug 27

Tgr added a comment to T369180: Ensure no AuthenticationRequests are added to the local login flow in SUL3 mode.

We might need to tweak what providers to filter in the future, but that will only require changing a list.

Tue, Aug 27, 9:40 PM · MediaWiki-extensions-CentralAuth, MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), MediaWiki-Platform-Team, SUL3
Tgr added a comment to T359957: Enroll in Chrome third-party cookies deprecation trial.

Google says

As Chrome pursues a new path for Privacy Sandbox on the web, preserving user-critical functionality that relies on third-party cookies remains a priority. For the 1% of users who have had third-party cookies restricted for testing, Chrome is extending the grace period that allows sites and services demonstrating user-facing, non-ads breakage to continue to access third-party cookies.

The origin associated with this application is currently taking advantage of the grace period and does not need to deploy deprecation trial tokens. If you have already deployed tokens, you do not need to keep them in place. We plan to maintain the grace period at least until we introduce a new experience in Chrome that lets people make an informed choice that applies across their web browsing.

Tue, Aug 27, 5:23 PM · Patch-For-Review, WMF-General-or-Unknown, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team

Mon, Aug 26

Tgr merged T373291: Cookiecutter fails with "Stopping generation because pre_gen_project hook script didn't exit successfully" into T372163: Cookiecutter fails with "'bool object' has no attribute 'lower'".
Mon, Aug 26, 8:06 PM · Cookiecutter
Tgr merged task T373291: Cookiecutter fails with "Stopping generation because pre_gen_project hook script didn't exit successfully" into T372163: Cookiecutter fails with "'bool object' has no attribute 'lower'".
Mon, Aug 26, 8:06 PM · Cookiecutter
Tgr added a comment to T373291: Cookiecutter fails with "Stopping generation because pre_gen_project hook script didn't exit successfully".

Oh, right, forgot that I filed it already.

Mon, Aug 26, 8:05 PM · Cookiecutter
Tgr added a comment to T373370: Should stewards be allowed to globally lock a temporary account.

Also, locks of temporary accounts canbot be undone while blocks can. Not that it matters much, but an accidental incorrect lock will disconnect the user from their messages and notifications.

Mon, Aug 26, 8:03 PM · Temporary accounts (Blockers to pilot wiki deployment), Trust and Safety Product Sprint, Trust and Safety Product Team, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr added a comment to T369467: SUL3: Consider adding interstitial when the user is already logged in centrally.

I added as-is, it would redirect straight back when already centrally logged-in. Is that correct?

Mon, Aug 26, 5:12 PM · SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr claimed T371596: Preserve mobile domain when using the shared login domain.
Mon, Aug 26, 3:21 PM · Web-Team-Backlog, MobileFrontend, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, SUL3
Tgr added a project to T373341: Support interaction-free central login via shared login domain: Temporary accounts.
Mon, Aug 26, 1:51 PM · Temporary accounts, SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr created T373341: Support interaction-free central login via shared login domain.
Mon, Aug 26, 1:51 PM · Temporary accounts, SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr created T373291: Cookiecutter fails with "Stopping generation because pre_gen_project hook script didn't exit successfully".
Mon, Aug 26, 6:02 AM · Cookiecutter

Sun, Aug 25

Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).

@Mondo it seems after getting logged out, you logged in twice in quick succession (two minutes apart), do you remember why that was necessary? Did you get logged out on two different devices at the same time?

Sun, Aug 25, 4:14 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr added a subtask for T372702: editors are repeatedly getting logged out (August 2024): Unknown Object (Task).
Sun, Aug 25, 3:21 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup

Fri, Aug 23

Tgr closed T363699: Determine and implement SUL 3 login handshake mechanism, a subtask of T362713: Implement the new login process which redirects to the central login wiki for showing the login/signup form, as Resolved.
Fri, Aug 23, 8:55 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), SUL3, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr closed T363699: Determine and implement SUL 3 login handshake mechanism as Resolved.
Fri, Aug 23, 8:55 PM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Patch-For-Review, SUL3, MediaWiki-Platform-Team, Security, MediaWiki-extensions-CentralAuth
Tgr added a comment to T372943: In the aftermath of T370304: Brainstorming of short- and medium-term observability / quality-of-life production changes.

I think we do that already? Check DB errors dashboard in logstash.

Fri, Aug 23, 8:54 PM · Sustainability (Incident Followup), MediaWiki-Platform-Team (Radar), serviceops, DBA, SRE
Tgr added a comment to T372943: In the aftermath of T370304: Brainstorming of short- and medium-term observability / quality-of-life production changes.

It would be so nice to have an x-request-id (and ideally also a traceparent) accessible in the query text inside MariaDB. As I understand we need to be careful or otherwise we'd break a bunch of aggregation that happens in Logstash and also for Information_Schema (or things that use information_schema like our slow query logger...?)

Fri, Aug 23, 10:51 AM · Sustainability (Incident Followup), MediaWiki-Platform-Team (Radar), serviceops, DBA, SRE

Tue, Aug 20

Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).

maybe the crawler just switched from normal autologin URLs to top-level autologin URLs for whatever reason?

Tue, Aug 20, 10:21 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).
Total number of session channel log events:Top-level autologins:Autologin errors:
Screenshot Capture - 2024-08-20 - 14-03-42.png (526×1 px, 59 KB)
Screenshot Capture - 2024-08-20 - 14-08-05.png (612×1 px, 95 KB)
Screenshot Capture - 2024-08-20 - 14-08-48.png (538×1 px, 96 KB)
Tue, Aug 20, 12:14 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr created T372880: Exceptions thrown when username contains colon.
Tue, Aug 20, 11:58 AM · MediaWiki-Platform-Team, Wikimedia-production-error, MediaWiki-extensions-CentralAuth
Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).

Thanks @Vestrian24Bio! Do you remember / can check the answers to the other questions by any chance?

Tue, Aug 20, 11:05 AM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr added a comment to T32961: Run refreshImageMetadata.php --force.

What's the state of using JSON for metadata? If we refresh all files anyway, that would be nice to update. It would make refreshing small subsets of images much more efficient in the future since MySQL could introspect the metadata, rather than having to do string matching on PHP-serialized arrays.

Tue, Aug 20, 10:49 AM · Wikimedia-maintenance-script-run, Multimedia, Wikimedia-Site-requests
Tgr added a comment to T32961: Run refreshImageMetadata.php --force.

With T298485: MW scripts should reload the database config fixed, runtime should be less of an issue now, but probably still shouldn't run for months uninterrupted, due to DC switchover, code changes, memory leaks etc. Also the script waits for replication but doesn't commit - it uses deferred updates, not sure how those interact with transactions in a maintenance script, so maybe not actually a problem. But replacing waitForReplication() with commitTransaction() should be harmless and at the very least make the code look safer.

Tue, Aug 20, 10:48 AM · Wikimedia-maintenance-script-run, Multimedia, Wikimedia-Site-requests
Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).

Also:

  • Is it happening on the same wiki where you logged in (ie. where you filled out a login form by entering your username and password) or only on other wikis?
  • Are you sure you have set the "keep logged in" checkbox? If you don't do that, a login only lasting for 24 hours is normal. (More accurately, the login expires once you are inactive for half a day or so, but no sooner than 24 hours from login.)
Tue, Aug 20, 12:02 AM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup

Mon, Aug 19

Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).

Some details that would be helpful if you are experiencing this:

  • How frequently is it happening? (One hypothesis would be that login expires after 24 hours, which is the length data is retained in the central session store. Does that sound about right?)
  • Is it correlated to some action you are taking, especially visiting another wiki which you have not visited for a while?
  • Which of these cookies does your browser have? centralauth_Session, centralauth_Token, <wiki name>Session, <wiki name>Token (do NOT share the values of the cookies!) When will they expire? Extra useful if you can check right when you get logged out. (You can check in your browser's developer toolbar, e.g. on Chrome it's F12 and then select the Application tab, and the Cookies menu item on the left.)
  • Are you logged out on all wikis at the same time? If you use other devices (e.g. a mobile phone), are you logged out on those at the same time as well?
  • If you experience getting logged out again, the time range when it happened (the time when you opened a page and were logged out, and the last time before that when you opened a page and were still logged in, as accurately as you can remember).
Mon, Aug 19, 11:55 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr added a comment to T367995: Security Preview for shared login domain.

Would all of this be ready for discussion in a couple of weeks or so?

Mon, Aug 19, 11:14 PM · SecTeam-Processed, secscrum, SUL3, Security Preview, RFS
Tgr added a comment to T371040: DBTransactionSizeError exceeding the 3s limit due to slow INSERT into 'user' table.

Between two new temp usernames a significant change in the name is at the end, so it could end up in the same gap on the unique index.
There are some browser tests failing also on fast user creation (T199393).

Mon, Aug 19, 10:25 PM · MediaWiki-Platform-Team, MediaWiki-User-login-and-signup, MediaWiki-Core-AuthManager, Wikimedia-production-error
Tgr added a comment to T370304: Bursts of occasional severe contention on s4 (commonswiki) primary mariadb causing recurrent user-facing outages on all wikis.

It's actually the same rows being updated and causing contention: it's updating user_editcount for the same user and it's updating category membership numbers for the same categories

Mon, Aug 19, 6:43 PM · MediaWiki-Platform-Team (Radar), Vuln-DoS, SecTeam-Processed, Security, Essential-Work, Content-Transform-Team-WIP, User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Tgr added a comment to T19929: CentralAuth account locks should trigger global autoblocks.

As CheckUser is not installed on the beta clusters

Mon, Aug 19, 6:16 PM · MediaWiki-Platform-Team (Radar), GlobalBlocking, Stewards-and-global-tools, MediaWiki-extensions-CentralAuth

Sat, Aug 17

Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).

Although that discussion is about a single user so not necessarily related.

Sat, Aug 17, 6:47 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).

Reported on enwiki as well: https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#%22Remember_me%22_not_working_as_intended_for_me

Sat, Aug 17, 6:45 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr added a comment to T372702: editors are repeatedly getting logged out (August 2024).

Globally, the number of logins and similar statistics haven't changed (except for the big spike in top-level autologin but that's some sort of bot). I don't think we have merged anything interesting recently - maybe rECAUdfea2e7879dc: Split CentralAuthTokenManager from CentralAuthSessionManager, but AIUI that's too recent.

Sat, Aug 17, 6:22 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr added a project to T372702: editors are repeatedly getting logged out (August 2024): MediaWiki-Platform-Team.

Is it happening to specific people? (Ie. the same person getting logged out several times in a row, as opposed to many people getting logged out once?) If it's happening to specific people, do they have a centralauth_Token cookie?

Sat, Aug 17, 6:12 PM · MediaWiki-Platform-Team, Wikidata, MediaWiki-User-login-and-signup
Tgr added a comment to T372699: Create project tag for Extension:Cookiecutter.

Note there is also https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/tools/cookiecutter-library/. Probably the same tag can be used for both.

Sat, Aug 17, 5:31 PM · Project-Admins
Tgr added a subtask for T363699: Determine and implement SUL 3 login handshake mechanism: T372703: Set central session ID on the local wiki during SUL3 login.
Sat, Aug 17, 1:08 PM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Patch-For-Review, SUL3, MediaWiki-Platform-Team, Security, MediaWiki-extensions-CentralAuth
Tgr edited parent tasks for T372703: Set central session ID on the local wiki during SUL3 login, added: T363699: Determine and implement SUL 3 login handshake mechanism; removed: T369467: SUL3: Consider adding interstitial when the user is already logged in centrally.
Sat, Aug 17, 1:08 PM · SUL3, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr removed a subtask for T369467: SUL3: Consider adding interstitial when the user is already logged in centrally: T372703: Set central session ID on the local wiki during SUL3 login.
Sat, Aug 17, 1:08 PM · SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr added a subtask for T363699: Determine and implement SUL 3 login handshake mechanism: T369668: Figure out how to handle "remember me" flag in SUL3 login flow.
Sat, Aug 17, 1:08 PM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Patch-For-Review, SUL3, MediaWiki-Platform-Team, Security, MediaWiki-extensions-CentralAuth
Tgr added a parent task for T369668: Figure out how to handle "remember me" flag in SUL3 login flow: T363699: Determine and implement SUL 3 login handshake mechanism.
Sat, Aug 17, 1:08 PM · Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, SUL3
Tgr moved T372703: Set central session ID on the local wiki during SUL3 login from Backlog to Ready on the SUL3 board.
Sat, Aug 17, 1:07 PM · SUL3, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a parent task for T372703: Set central session ID on the local wiki during SUL3 login: T369467: SUL3: Consider adding interstitial when the user is already logged in centrally.
Sat, Aug 17, 1:07 PM · SUL3, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a subtask for T369467: SUL3: Consider adding interstitial when the user is already logged in centrally: T372703: Set central session ID on the local wiki during SUL3 login.
Sat, Aug 17, 1:07 PM · SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team
Tgr created T372703: Set central session ID on the local wiki during SUL3 login.
Sat, Aug 17, 1:07 PM · SUL3, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth

Thu, Aug 15

Tgr moved T370813: Support signup mode in SUL3 local login from Ready to In progress on the SUL3 board.
Thu, Aug 15, 10:49 PM · Patch-For-Review, MediaWiki-extensions-CentralAuth, SUL3, MediaWiki-Platform-Team
Tgr added a comment to T371710: GitLab Private Repository Request for: Wiki.NYC-OWMF-config.

Thanks, I see now there is https://gitlab.wikimedia.org/explore/groups to list namespaces.

Thu, Aug 15, 10:47 PM · GitLab
Tgr added a comment to T368380: FlaggedRevs: moved page gets unreviewed.

Is the issue reproducible in Beta? If not, I think the path of least resistance is to book a deploy session, add some logging on one of the production debug hosts, and check via X-Wikimedia-Debug whether 1) the hook handler actually executes, 2) if not, which hook handlers execute and which don't, 3) if yes, just dump a lot of information inside the hook and hope to spot what's going wrong.

Thu, Aug 15, 6:50 PM · MW-Interfaces-Team, MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), Regression, FlaggedRevs
Tgr added a comment to T371710: GitLab Private Repository Request for: Wiki.NYC-OWMF-config.

IMO a wikispore namespace would be nice if it's not too much work. (It seems Cloud VPS projects have no supergroup like toolforge-repos for Toolforge projects.)

Thu, Aug 15, 4:07 AM · GitLab

Tue, Aug 13

Tgr added a comment to T363699: Determine and implement SUL 3 login handshake mechanism.

Next time user may directly browse the login page in shared domain without visiting Special:Userlogin in local wiki. So either we need to guarantee either the login procedure work will succeed if starting in step 4 (not having a local session), or try to create a local session (by redirect user first to local wiki then back to login domain)

Tue, Aug 13, 11:15 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Patch-For-Review, SUL3, MediaWiki-Platform-Team, Security, MediaWiki-extensions-CentralAuth
Tgr closed T369156: Confusing error hint when passing unrecognised parameters to oauth2/access_token endpoint as Resolved.
Tue, Aug 13, 11:10 AM · MW-1.43-notes (1.43.0-wmf.14; 2024-07-16), MediaWiki-Platform-Team, MediaWiki-extensions-OAuth

Mon, Aug 12

Anoop awarded T341386: Allow On-wiki configuration for temporary site logo changes a Like token.
Mon, Aug 12, 10:28 PM · CommunityConfiguration-Adoption, MediaWiki-User-Interface
Tgr added a comment to T191156: Convert FlaggedRevisions to Codex.

I get the point, but I think that the responsibility of creating the tasks for something that was not broken before should lie with the person who broke it. I reported around 10 issues here already, creating a task for every single one of them is extremely tedious.

Mon, Aug 12, 9:48 AM · MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, FlaggedRevs
Tgr added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

To the comment on breaking-or-not siteinfo, please note that the AWB break (now fixed) was due to the flag removed from userinfo. That may come to the same thing; I don't know the internals.

Mon, Aug 12, 9:21 AM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr added a comment to T365934: Rebuild Wikispore Vagrant boxes on Bullseye or Bookworm.

Packaging the vagrant box (via vagrant package) for export fails with

tgr@wikispore-test:/srv/mediawiki-vagrant$ vagrant package
==> default: Compressing container's rootfs...
Traceback (most recent call last):
...
/srv/vagrant-data/gems/2.5.5/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/driver.rb:53:in `rootfs_path': undefined method `[]' for nil:NilClass (NoMethodError)

This is apparently a known bug: https://github.com/fgrehm/vagrant-lxc/issues/475. As suggested there, replacing

config_entry = config_string.match(/^lxc\.rootfs\s+=\s+(.+)$/)[1]

with

config_entry = config_string.match(/^lxc\.rootfs.path\s+=\s+(.+)$/)[1]

in line 53 of driver.rb helps.

Mon, Aug 12, 9:08 AM · Cloud-VPS (Debian Buster Deprecation), Wikispore
Tgr created T372247: Bitu captcha reload button reloads entire web page.
Mon, Aug 12, 8:37 AM · Bitu, Infrastructure-Foundations

Sat, Aug 10

Tgr added a comment to T372006: Unblock stuck global rename of multiple users.

it is possible that the discordance between job queue versions created the issue.

Sat, Aug 10, 2:44 PM · MW-1.43-notes (1.43.0-wmf.18; 2024-08-13), MediaWiki-Platform-Team (Radar), Account-Vanishing, Wikimedia-maintenance-script-run
Tgr added a comment to T372006: Unblock stuck global rename of multiple users.

Fixed the older stuck renames using a script generated with

tgr@mwmaint1002:~$ sql centralauth -- --silent --raw > fix.sh <<EOF
select CONCAT( "mwscript extensions/CentralAuth/maintenance/fixStuckGlobalRename.php --wiki=", ru_wiki, " --ignorestatus --logwiki=metawiki '",  ru_oldname, "' '", ru_newname,  "'\nsleep 120") from renameuser_status join renameuser_queue on ru_oldname = rq_name and ru_newname = rq_newname where ru_status = 'inprogress' and rq_completed_ts < '20240810000000';
EOF

(the sleep is probably not needed but we haven't tried in a long time to mass-fix many stuck renames simultaneously, so just in case)

Sat, Aug 10, 1:04 PM · MW-1.43-notes (1.43.0-wmf.18; 2024-08-13), MediaWiki-Platform-Team (Radar), Account-Vanishing, Wikimedia-maintenance-script-run

Fri, Aug 9

Tgr added a comment to T372163: Cookiecutter fails with "'bool object' has no attribute 'lower'".

(This is related to Cookiecutter which doesn't seem to have a dedicated Phabricator tag.)

Fri, Aug 9, 4:30 PM · Cookiecutter
Tgr created T372163: Cookiecutter fails with "'bool object' has no attribute 'lower'".
Fri, Aug 9, 4:30 PM · Cookiecutter
Tgr created T372156: Cannot log into Gerrit with account "Tgr-test".
Fri, Aug 9, 3:37 PM · Gerrit
Tgr closed T372147: Request access to Beta Cluster databases for User:Leaderboard as Resolved.
Fri, Aug 9, 1:50 PM · Beta-Cluster-Infrastructure
Tgr added a comment to T372017: AWB reads old writeapi user right, so stops working on wikis when it is removed.

@Reedy, @Tgr, @Jdforrester-WMF: is the mw-core code removal worth this collateral damage?

Fri, Aug 9, 1:34 PM · AutoWikiBrowser
Tgr added a comment to T371993: Index known popular MediaWiki client libraries.

The other major fallout was T372017: AWB reads old writeapi user right, so stops working on wikis when it is removed. AWB is still using SVN so that sounds like a challenge.

Fri, Aug 9, 1:21 PM · VPS-project-Codesearch
Tgr merged task T372144: mwclient should be indexed by codesearch into T371993: Index known popular MediaWiki client libraries.
Fri, Aug 9, 1:20 PM · VPS-project-Codesearch
Tgr merged T372144: mwclient should be indexed by codesearch into T371993: Index known popular MediaWiki client libraries.
Fri, Aug 9, 1:19 PM · VPS-project-Codesearch
Tgr merged task T372145: AWB should be indexed by codesearch into T371993: Index known popular MediaWiki client libraries.
Fri, Aug 9, 1:18 PM · VPS-project-Codesearch
Tgr merged T372145: AWB should be indexed by codesearch into T371993: Index known popular MediaWiki client libraries.
Fri, Aug 9, 1:18 PM · VPS-project-Codesearch
Tgr added a subtask for T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log): T294397: Drop writeapi MediaWiki right.
Fri, Aug 9, 1:16 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr added a parent task for T294397: Drop writeapi MediaWiki right: T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).
Fri, Aug 9, 1:16 PM · MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), MW-1.43-release, Security, MediaWiki-User-management, MediaWiki-REST-API, MediaWiki-Action-API
Tgr removed a parent task for T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log): T294397: Drop writeapi MediaWiki right.
Fri, Aug 9, 1:16 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr removed a subtask for T294397: Drop writeapi MediaWiki right: T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).
Fri, Aug 9, 1:15 PM · MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), MW-1.43-release, Security, MediaWiki-User-management, MediaWiki-REST-API, MediaWiki-Action-API
Tgr added a comment to T372017: AWB reads old writeapi user right, so stops working on wikis when it is removed.

Site:sv.wikipedia.
Updated to 6.3.1. Created page "Wikipedia:AutoWikiBrowser/CheckPageJSON" as it didn't exist before. Now I get "Check page failed to load".

Fri, Aug 9, 1:12 PM · AutoWikiBrowser
Tgr closed T364116: checkLoggedIn script fails with headers already sent error as Resolved.
Fri, Aug 9, 1:06 PM · MW-1.43-notes (1.43.0-wmf.18; 2024-08-13), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
Tgr added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

I specifically amended https://gerrit.wikimedia.org/r/c/mediawiki/core/+/392542, which removed the "writeapi" feature to not break the stable API for "siteinfo", by leaving this behind as constant and non-deprecated boolean field.

Fri, Aug 9, 1:00 PM · Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Cloud-VPS, Striker, Tool-schedule-deployment, Tool-gitlab-account-approval, Tool-phab-ban, Stashbot, MediaWiki-Action-API
Tgr created T372145: AWB should be indexed by codesearch.
Fri, Aug 9, 12:58 PM · VPS-project-Codesearch
Tgr created T372144: mwclient should be indexed by codesearch.
Fri, Aug 9, 12:55 PM · VPS-project-Codesearch
Tgr added a comment to T294397: Drop writeapi MediaWiki right.

A quick note that this change caused some disruption on Commons because four gadget definitions were conditional on the writeapi right. This has been fixed on Commons now, but similar problems might affect others.

Fri, Aug 9, 12:46 PM · MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), MW-1.43-release, Security, MediaWiki-User-management, MediaWiki-REST-API, MediaWiki-Action-API