Page MenuHomePhabricator

tstarling (Tim Starling)
UserAdministrator

Projects (23)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 15 2014, 8:27 PM (466 w, 2 d)
Roles
Administrator
Availability
Available
LDAP User
Tim Starling
MediaWiki User
Tim Starling (WMF) [ Global Accounts ]

Recent Activity

Yesterday

Nux awarded T156439: Improve diff to handle splitting a paragraph a Party Time token.
Fri, Sep 22, 6:17 PM · Community-Wishlist-Survey-2023, Better-Diffs-2023, wikidiff2, Community-Wishlist-Survey-2016

Wed, Sep 20

tstarling created T346989: Deploy LoginNotify seen subnets table.
Wed, Sep 20, 11:19 PM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling added a comment to T345052: LoginNotify seen subnets table.

It is curious though. Notifications for known IP subnets were being sent. Are they not done by a job as well?

Wed, Sep 20, 11:13 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
Pppery awarded T212268: Make the abusefilter-blocker user not be a sysop a Like token.
Wed, Sep 20, 1:37 AM · Patch-Needs-Improvement, AbuseFilter (Overhaul-2020)
tstarling updated the task description for T346293: ipblocks schema redesign for multiblocks.
Wed, Sep 20, 12:09 AM · Multi-Blocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks

Tue, Sep 19

tstarling added a comment to T345052: LoginNotify seen subnets table.

I cannot get it to send a notification for a failed login on a new IP address. I can do for a known IP address. As that is the default at the moment, should that be fixed?

Tue, Sep 19, 11:11 PM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling added a comment to T345052: LoginNotify seen subnets table.

@tstarling With the config:

$wgLoginNotifyUseCheckUser = true;
$wgLoginNotifyUseSeenTable = false;

I cannot get it to send a notification for a failed login on a new IP address. I can do for a known IP address. As that is the default at the moment, should that be fixed?

Tue, Sep 19, 12:23 PM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling updated the task description for T346293: ipblocks schema redesign for multiblocks.
Tue, Sep 19, 7:05 AM · Multi-Blocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling created T346716: Split user suppression/hiding (ipb_deleted) out of the ipblocks table.
Tue, Sep 19, 7:02 AM · Multi-Blocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling updated the task description for T346293: ipblocks schema redesign for multiblocks.
Tue, Sep 19, 6:49 AM · Multi-Blocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling added a comment to T346293: ipblocks schema redesign for multiblocks.

In the new schema it is still the case: If we hide the actor of a revision a actor_deleted row is needed, though the user itself is not hidden, so we can not know the account hidden status without ipblocks. A new column in actor_deleted like ad_user_is_hidden may help. Note the ipblocks table in some wiki may be very large due to admin bot blocking proxies.

Tue, Sep 19, 6:47 AM · Multi-Blocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling added a comment to T346293: ipblocks schema redesign for multiblocks.
  • MediaWiki currently allow user to redact only the performer of an edit (including log entries, etc.); a common use case is if a user accidently logged out, the user name need to be hidden. To preserve such feature we could introduce copies of existing rows on actor table, with a different deleted flag.
Tue, Sep 19, 2:18 AM · Multi-Blocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling updated the task description for T346293: ipblocks schema redesign for multiblocks.
Tue, Sep 19, 2:10 AM · Multi-Blocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks

Mon, Sep 18

tstarling added a comment to T288624: PHP Warning: curl_multi_remove_handle(): supplied resource is not a valid cURL Multi Handle resource.

During request shutdown, zend_objects_store_call_destructors() calls destructors in ascending order of object ID. It doesn't attempt to follow the reference tree. So it's unsafe to do anything complex or non-local at this stage, since indeed, destructors of properties may be called before the destructor of the parent object.

Mon, Sep 18, 4:09 AM · MW-1.40-notes, MW-1.39-notes, MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Patch-For-Review, Data Engineering and Event Platform Team, Data-Engineering, Event-Platform, Wikimedia-production-error, MediaWiki-libs-HTTP, Beta-Cluster-reproducible

Thu, Sep 14

tstarling created T346293: ipblocks schema redesign for multiblocks.
Thu, Sep 14, 1:33 AM · Multi-Blocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks

Wed, Sep 13

tstarling committed rELGN534e3ce4b3b2: LoginNotify seen subnets table (authored by tstarling).
LoginNotify seen subnets table
Wed, Sep 13, 9:56 AM
tstarling committed rELGNa0a387d19590: Don't notify of failed logins for system or temporary users (authored by tstarling).
Don't notify of failed logins for system or temporary users
Wed, Sep 13, 9:56 AM

Fri, Sep 8

andrea.denisse awarded T168218: Tor hidden service for WMF websites a Love token.
Fri, Sep 8, 1:35 AM · WMF-General-or-Unknown, Tor

Thu, Sep 7

tstarling committed rEPHN356faa60edbc: Add the Phonos init module as a dependency of the main module (authored by Samwilson).
Add the Phonos init module as a dependency of the main module
Thu, Sep 7, 12:59 AM
tstarling committed rEPHN987497770a6e: Add the Phonos init module as a dependency of the main module (authored by Samwilson).
Add the Phonos init module as a dependency of the main module
Thu, Sep 7, 12:55 AM

Wed, Sep 6

tstarling added a comment to T345414: Enabling Phonos on all projects increased JavaScript and CSS size, Phonos should not use OOUI on page load.

ext.phonos depends on oojs-ui-widgets but it could apparently depend on oojs-ui-core instead.

Wed, Sep 6, 6:44 AM · MW-1.41-notes (1.41.0-wmf.26; 2023-09-12), Community-Tech (CommTech-Kanban), MediaWiki-extensions-Phonos
tstarling added a comment to T345672: Error: Unable to parse title.

I've deployed the fix on wmf.25 so the error should go away once this week's train deployment is complete.

Wed, Sep 6, 6:19 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-extensions-Phonos
tstarling committed rEPHN366d2698936f: Avoid linking to invalid filenames in error message (authored by Samwilson).
Avoid linking to invalid filenames in error message
Wed, Sep 6, 5:14 AM
tstarling committed rEPHN26f3ef5b70fa: Disable parser tests (authored by Samwilson).
Disable parser tests
Wed, Sep 6, 5:13 AM
tstarling added a subtask for T194697: Multiblocks — Allow for multiple, simultaneously blocks with different expiration dates.: T345683: Review of MediaWiki block-related code.
Wed, Sep 6, 1:18 AM · Multi-Blocks, Community-Wishlist-Survey-2023, MediaWiki-Blocks
tstarling added a parent task for T345683: Review of MediaWiki block-related code: T194697: Multiblocks — Allow for multiple, simultaneously blocks with different expiration dates..
Wed, Sep 6, 1:17 AM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), MediaWiki-Blocks, Community-Tech (CommTech-Kanban)
tstarling updated the task description for T345683: Review of MediaWiki block-related code.
Wed, Sep 6, 1:16 AM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), MediaWiki-Blocks, Community-Tech (CommTech-Kanban)
tstarling moved T345683: Review of MediaWiki block-related code from Ready 🎬 to In Development 💻 on the Community-Tech (CommTech-Kanban) board.
Wed, Sep 6, 1:14 AM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), MediaWiki-Blocks, Community-Tech (CommTech-Kanban)
tstarling created T345683: Review of MediaWiki block-related code.
Wed, Sep 6, 1:14 AM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), MediaWiki-Blocks, Community-Tech (CommTech-Kanban)

Tue, Sep 5

tstarling added a comment to T194697: Multiblocks — Allow for multiple, simultaneously blocks with different expiration dates..

when we want to provide information about the block of a given user, we just look at the most recent block log entry for that user.

Tue, Sep 5, 10:26 AM · Multi-Blocks, Community-Wishlist-Survey-2023, MediaWiki-Blocks
tstarling moved T329774: IP Masking (CommTech): LoginNotify from Ready 🎬 to Review/Feedback 💬 on the Community-Tech (CommTech-Kanban) board.
Tue, Sep 5, 9:42 AM · MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify, IP Masking
tstarling edited projects for T329774: IP Masking (CommTech): LoginNotify, added: Community-Tech (CommTech-Kanban); removed Community-Tech.
Tue, Sep 5, 9:42 AM · MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify, IP Masking
tstarling closed T181908: Clarify LoginNotify emails are from beta as Resolved.

Confirmed fixed.

Tue, Sep 5, 6:48 AM · Beta-Cluster-Infrastructure, Wikimedia-Site-requests, MediaWiki-extensions-LoginNotify

Mon, Sep 4

tstarling committed rELGN4c369696cce9: ServiceWiring, dependency injection (authored by tstarling).
ServiceWiring, dependency injection
Mon, Sep 4, 10:05 AM
tstarling committed rELGN8521667df96a: Doc review and general cleanup (authored by tstarling).
Doc review and general cleanup
Mon, Sep 4, 9:58 AM
tstarling claimed T329774: IP Masking (CommTech): LoginNotify.

If someone goes to the login form and enters the name of a temporary user and an incorrect password, there's no need to notify the temporary user because there is no risk of account compromise, because temporary users never have a password. Currently, a notification will be sent.

Mon, Sep 4, 5:19 AM · MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify, IP Masking
tstarling closed T337850: Prevent LoginNotify from setting preferences for temporary accounts, a subtask of T335971: Prevent extensions from setting preferences for temporary accounts, as Resolved.
Mon, Sep 4, 4:56 AM · Anti-Harassment (AHaT Sprint 32 - Baseball Cap), MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), IP Masking
tstarling closed T337850: Prevent LoginNotify from setting preferences for temporary accounts as Resolved.

There is migratePreferences.php but it is just updating preferences that already exist in the DB. It would not be correct to skip temporary users in that situation.

Mon, Sep 4, 4:56 AM · MediaWiki-extensions-LoginNotify, Community-Tech, IP Masking
tstarling added a comment to T344404: mw.loader.impl is not available on enwiki.

I'm experiencing this bug on an external wiki, where we're trying to import the Navigation Popups gadget. Is there something we can/need to do over there to fix this? (Currently on mw 1.39.0)

Mon, Sep 4, 12:12 AM · Regression, JavaScript, MediaWiki-ResourceLoader, MediaWiki-Platform-Team

Fri, Sep 1

tstarling added a comment to T326281: Attempt top-level central autologin when visiting the login page (to allow autologin when the browser blocks third-party cookies).

I could not reproduce the actual browser limitations this is supposed to work around, just tested that the top-level autologin works. Typically 3rd-party browser limitations are only triggered by requests across different second-level domains, so I figured it will be easier to test that in production.

Fri, Sep 1, 5:48 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MediaWiki-Platform-Team, Platform Engineering, User-notice, MediaWiki-extensions-CentralAuth
tstarling closed T344785: LoginNotify fully broken since January 2023 as Resolved.
Fri, Sep 1, 12:57 AM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling closed T345373: TypeError: Argument 1 passed to MediaWiki\User\UserFactory::newFromName() must be of the type string, null given, called in /srv/mediawiki/php-1.41.0-wmf.24/extensions/LoginNotify/includes/Hooks.php on line 42 as Resolved.

Logstash only shows 5 errors in the past 24 hours, so I am assuming that it is fixed rather than confirming.

Fri, Sep 1, 12:54 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech, MediaWiki-extensions-LoginNotify, Wikimedia-production-error
tstarling added a comment to T344785: LoginNotify fully broken since January 2023.

The fix is actually already out. Despite the release notes tag, it went out with wmf.24.

Fri, Sep 1, 12:33 AM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling committed rELGN77928540498f: Hooks: Do not attempt user creation when there's no username (authored by Ammarpad).
Hooks: Do not attempt user creation when there's no username
Fri, Sep 1, 12:28 AM
tstarling added a comment to T345373: TypeError: Argument 1 passed to MediaWiki\User\UserFactory::newFromName() must be of the type string, null given, called in /srv/mediawiki/php-1.41.0-wmf.24/extensions/LoginNotify/includes/Hooks.php on line 42.

The core documentation issue was fixed in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/954121 . The incorrect doc comment also exists in CheckUser so I will fix it there too.

Fri, Sep 1, 12:19 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech, MediaWiki-extensions-LoginNotify, Wikimedia-production-error
tstarling added a comment to T345373: TypeError: Argument 1 passed to MediaWiki\User\UserFactory::newFromName() must be of the type string, null given, called in /srv/mediawiki/php-1.41.0-wmf.24/extensions/LoginNotify/includes/Hooks.php on line 42.

User::newFromName() casts the name to a string. I changed it to use UserFactory in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/LoginNotify/+/952114 but UserFactory::newFromName() throws an exception instead of casting.

Fri, Sep 1, 12:14 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech, MediaWiki-extensions-LoginNotify, Wikimedia-production-error
tstarling closed T174200: Make logging more sensible as Resolved.
Fri, Sep 1, 12:08 AM · Technical-Debt, MediaWiki-extensions-LoginNotify

Thu, Aug 31

tstarling added a project to T344785: LoginNotify fully broken since January 2023: User-notice.

Some users will notice when this goes out with the train, so we should probably put out an explanation.

Thu, Aug 31, 6:20 AM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling moved T345052: LoginNotify seen subnets table from In Development 💻 to Review/Feedback 💬 on the Community-Tech (CommTech-Kanban) board.
Thu, Aug 31, 6:00 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling added a comment to T345052: LoginNotify seen subnets table.

You could lsn_id make BIGINT to avoid having headaches in the future.

Thu, Aug 31, 12:50 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify

Wed, Aug 30

tstarling updated subscribers of T345255: Decide the numerical order for temporary accounts (Scramble/Serial).

I believe it was @Prtksxna who expressed the concern that consecutive numbers, with most of the digits being the same between users created at a similar time, would be too hard for reviewers to distinguish in a changes list. I suggested a pseudo-random sequence as a way of making the numbers be easier to visually distinguish.

Wed, Aug 30, 11:53 PM · IP Masking
tstarling renamed T344936: Systemd services abruptly failing and not restarting from Systemd services abrutly failing and not restarting to Systemd services abruptly failing and not restarting.
Wed, Aug 30, 10:41 AM · Patch-For-Review, Community-Tech (CommTech-Kanban), WikiWho
tstarling claimed T345052: LoginNotify seen subnets table.
Wed, Aug 30, 10:38 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling edited projects for T345052: LoginNotify seen subnets table, added: Community-Tech (CommTech-Kanban); removed Community-Tech.
Wed, Aug 30, 10:37 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling moved T344785: LoginNotify fully broken since January 2023 from In Development 💻 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Wed, Aug 30, 10:36 AM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify

Tue, Aug 29

tstarling added a comment to T345052: LoginNotify seen subnets table.

After reading https://dev.mysql.com/doc/refman/8.0/en/innodb-index-types.html I decided to add an auto-incremented primary key, instead of a time index. If you leave off the integer primary key, the secondary index needs to duplicate the 14-byte unique key, so it actually uses more space overall. Purging can be done using the primary key, if you assume it's monotonic in time.

Tue, Aug 29, 4:31 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling updated the task description for T345052: LoginNotify seen subnets table.
Tue, Aug 29, 4:25 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling updated subscribers of T194697: Multiblocks — Allow for multiple, simultaneously blocks with different expiration dates..

Community Tech are looking at this, following its high ranking in the 2023 Community Wishlist Survey.

Tue, Aug 29, 1:36 AM · Multi-Blocks, Community-Wishlist-Survey-2023, MediaWiki-Blocks

Mon, Aug 28

TheresNoTime awarded T345052: LoginNotify seen subnets table a Like token.
Mon, Aug 28, 1:34 PM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling added a comment to T316540: Support macOS compatibility.

There is also T240664 for LuaSandbox which fails with the same error.

Mon, Aug 28, 6:12 AM · Developer Productivity, Excimer
tstarling updated the task description for T345052: LoginNotify seen subnets table.
Mon, Aug 28, 5:13 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling updated the task description for T345052: LoginNotify seen subnets table.
Mon, Aug 28, 5:01 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling updated the task description for T345052: LoginNotify seen subnets table.
Mon, Aug 28, 4:53 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling updated subscribers of T345052: LoginNotify seen subnets table.
Mon, Aug 28, 4:40 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling created T345052: LoginNotify seen subnets table.
Mon, Aug 28, 4:39 AM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling closed T312399: Migrate usage of Database::select to SelectQueryBuilder in LoginNotify, a subtask of T311866: Migrate Database::select usages to SelectQueryBuilder, as Resolved.
Mon, Aug 28, 2:34 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MW-1.40-notes (1.40.0-wmf.26; 2023-03-06), MW-1.39-notes (1.39.0-wmf.26; 2022-08-22), Patch-For-Review, Data-Persistence (work done), Platform Engineering
tstarling closed T312399: Migrate usage of Database::select to SelectQueryBuilder in LoginNotify as Resolved.

This was fixed as part of T233004.

Mon, Aug 28, 2:34 AM · Community-Tech, MediaWiki-extensions-LoginNotify, Technical-Debt
tstarling closed T337157: Make PHPUnit dataProvider static in LoginNotify tests, a subtask of T332865: PHPUnit data providers should be simple static functions that return plain data, as Resolved.
Mon, Aug 28, 2:03 AM · MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), Patch-For-Review, MediaWiki-General
tstarling closed T337157: Make PHPUnit dataProvider static in LoginNotify tests as Resolved.

Fixed in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/LoginNotify/+/952114

Mon, Aug 28, 2:03 AM · good first task, MediaWiki-extensions-LoginNotify
tstarling closed T341320: Wikimedia\RemexHtml\Tokenizer\TokenizerError: Wikimedia\RemexHtml\Tokenizer\Tokenizer: pcre.backtrack_limit exhausted as Resolved.

Thanks!

Mon, Aug 28, 1:29 AM · MW-on-K8s, Maintenance-Worktype, RemexHtml, Wikimedia-production-error

Fri, Aug 25

tstarling committed rELGNa47af7c73d89: Fix deprecations and non-static providers (authored by tstarling).
Fix deprecations and non-static providers
Fri, Aug 25, 1:44 PM
tstarling added a comment to T341320: Wikimedia\RemexHtml\Tokenizer\TokenizerError: Wikimedia\RemexHtml\Tokenizer\Tokenizer: pcre.backtrack_limit exhausted.
SettingOld valuek8s valueNotes
apc.shm_size6096M768MHopefully there's some sort of plan for detecting whether this is enough.
max_execution_time210180Wrong, must be 210 so that RequestTimeout can kill the request and show a pretty error message. RequestTimeout for POST requests has a limit of 200 seconds so 210 gives a 10 second grace period.
memory_limit500M200MDon't know how this is expected to work
opcache.interned_strings_buffer9650
opcache.max_accelerated_files2400032531How was this value derived?
opcache.max_wasted_percentage10unspecified (default 5)
opcache.memory_consumption1024500Fine
pcre.backtrack_limit500000050000We need our zeroes back
Fri, Aug 25, 5:56 AM · MW-on-K8s, Maintenance-Worktype, RemexHtml, Wikimedia-production-error
tstarling updated subscribers of T341320: Wikimedia\RemexHtml\Tokenizer\TokenizerError: Wikimedia\RemexHtml\Tokenizer\Tokenizer: pcre.backtrack_limit exhausted.

It's been this way since 2020?

Fri, Aug 25, 5:00 AM · MW-on-K8s, Maintenance-Worktype, RemexHtml, Wikimedia-production-error
tstarling moved T341320: Wikimedia\RemexHtml\Tokenizer\TokenizerError: Wikimedia\RemexHtml\Tokenizer\Tokenizer: pcre.backtrack_limit exhausted from Inbox to Vaguely Related on the RemexHtml board.
$ sudo mw-debug-repl -e enwiki
Finding a mw-debug pod in eqiad...
Now running eval.php for enwiki inside pod/mw-debug.eqiad.pinkunicorn-6bcc7484cf-6jmbw...
> print ini_get('pcre.backtrack_limit');
50000
Fri, Aug 25, 4:51 AM · MW-on-K8s, Maintenance-Worktype, RemexHtml, Wikimedia-production-error
tstarling updated subscribers of T341320: Wikimedia\RemexHtml\Tokenizer\TokenizerError: Wikimedia\RemexHtml\Tokenizer\Tokenizer: pcre.backtrack_limit exhausted.

Note that the error was thrown from a Kubernetes pod. We should confirm that php.ini is correct in Kubernetes. On bare metal hosts, it is set to 5000000.

Fri, Aug 25, 4:17 AM · MW-on-K8s, Maintenance-Worktype, RemexHtml, Wikimedia-production-error
tstarling renamed T342304: Request timeout in LuaError::getScriptTraceHtml() leads to shared memory corruption, segfault flood from PHP Warning: DOMElement::setAttributeNS() expects parameter 3 to be string, object given to Request timeout in LuaError::getScriptTraceHtml() leads to shared memory corruption, segfault flood.
Fri, Aug 25, 2:01 AM · php-segfault, Excimer, Parsoid, RemexHtml, Wikimedia-production-error
tstarling added a project to T342304: Request timeout in LuaError::getScriptTraceHtml() leads to shared memory corruption, segfault flood: php-segfault.

Most likely opcache corruption. Errors started only 1ms after the request timeout at 12:36:03.013, and then there was a flood of segfaults over the next few hundred milliseconds, finishing with "[WARNING] failed processes threshold (40 in 60 sec) is reached, initiating reload" at 12:36:03.800.

Fri, Aug 25, 1:41 AM · php-segfault, Excimer, Parsoid, RemexHtml, Wikimedia-production-error

Thu, Aug 24

tstarling created T344963: IPUtils::getSubnet() has an inconsistent return value for IPv6.
Thu, Aug 24, 11:59 PM · IPUtils

Aug 24 2023

tstarling committed rELGN3560438921f5: Add integration tests (authored by tstarling).
Add integration tests
Aug 24 2023, 8:31 AM
tstarling committed rELGN40024f461dcb: Updates for new Echo namespace (authored by tstarling).
Updates for new Echo namespace
Aug 24 2023, 8:31 AM
tstarling committed rELGNc524ee65a4cf: Fix incorrect locator (authored by tstarling).
Fix incorrect locator
Aug 24 2023, 8:15 AM
tstarling committed rELGNa247ba5c7988: If the user is known in the slow path, don't forget to notify (authored by tstarling).
If the user is known in the slow path, don't forget to notify
Aug 24 2023, 8:15 AM

Aug 23 2023

tstarling moved T344785: LoginNotify fully broken since January 2023 from Ready 🎬 to In Development 💻 on the Community-Tech (CommTech-Kanban) board.
Aug 23 2023, 12:01 PM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling claimed T344785: LoginNotify fully broken since January 2023.
Aug 23 2023, 12:01 PM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling created T344791: Get rid of ss0- SameSite cookie prefix hack.
Aug 23 2023, 7:38 AM · MediaWiki-User-login-and-signup
tstarling updated subscribers of T344785: LoginNotify fully broken since January 2023.
Aug 23 2023, 5:33 AM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling created T344785: LoginNotify fully broken since January 2023.
Aug 23 2023, 5:32 AM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Community-Tech (CommTech-Kanban), MediaWiki-extensions-LoginNotify
tstarling added a comment to T343602: Migrate PhonosInlineAudioPlayerMode out of Phonos.

We used to use TMH to play audio in Score, but I got rid of it in cf8a4f2133cb6a0f9fa4266ed93acea4f0729667 and just used <audio> instead, because TMH was too tightly integrated with file uploads to reliably play a thing that wasn't an uploaded file, and its audio support was very poor.

Aug 23 2023, 2:38 AM · TimedMediaHandler, Community-Tech, MediaWiki-extensions-Phonos
tstarling added a comment to T188756: Alt for site logo.

Although, come to think of it, it's a somewhat implausible story, since you would think <img alt=""> would do the job well enough. It's possible the logo div was a hack for some other non-CSS client and I'm confusing it with Monobook's screen reader hacks.

Aug 23 2023, 12:42 AM · UI-Standardization, Front-end-Standards-Group, Accessibility

Aug 22 2023

tstarling added a comment to T188756: Alt for site logo.

@tstarling Where does “deliberately hidden” come from? https://www.powermapper.com/tests/screen-readers/labelling/a-title-img-no-alt/ tells a different story about link+title attribute combinations.

Aug 22 2023, 9:32 AM · UI-Standardization, Front-end-Standards-Group, Accessibility

Aug 21 2023

Restricted Application added a project to T244635: CentralAuth deletes session cookies when gadgets make requests to another wiki on IPBE account, causing session loss: MediaWiki-Platform-Team.

When I tested this locally using GlobalBlocking, I found that auto-creation actually succeeds. The IP address is globally blocked, but that is not actually checked for in CheckBlocksSecondaryAuthenticationProvider. There's a comment which says it is the responsibility of authorizeCreateAccount(), but that is not called.

Aug 21 2023, 3:03 AM · MediaWiki-Platform-Team (Radar), ConfirmEdit (CAPTCHA extension), Wikipedia-Android-App-Backlog, MediaWiki-extensions-CentralAuth, MediaWiki-Blocks, Chinese-Sites

Aug 18 2023

tstarling closed T344404: mw.loader.impl is not available on enwiki as Resolved.

I can't reproduce it anyway, because I don't know how you load a user script from meta in a way that would trigger this error. I tried checking Northern Moonlight's user scripts, but there was nothing helpful there. Most user common.js pages just use importScript() or importScriptURI(), neither of which use mw.loader.impl() as far as I can tell.

Aug 18 2023, 3:17 AM · Regression, JavaScript, MediaWiki-ResourceLoader, MediaWiki-Platform-Team
tstarling added a comment to T344404: mw.loader.impl is not available on enwiki.

Although it looks like everything is on wmf.22 now, so too late. It should be fixed already.

Aug 18 2023, 2:56 AM · Regression, JavaScript, MediaWiki-ResourceLoader, MediaWiki-Platform-Team
tstarling added a comment to T344404: mw.loader.impl is not available on enwiki.

Sorry, I thought we wouldn't need that cherry pick because the rest of the branch wasn't merged yet -- didn't look closely enough. I will deploy it now.

Aug 18 2023, 2:54 AM · Regression, JavaScript, MediaWiki-ResourceLoader, MediaWiki-Platform-Team
tstarling added a comment to T342475: Define temporary account behavior on Wikimedia wikis which have IP masking disabled.
  • Set up CentralAuth with two pilot wikis and one non-pilot wiki with reservedPattern as described above.
  • Set up $wgForeignUploadTargets and use it to perform a foreign upload as a new normal user.
Aug 18 2023, 2:19 AM · MediaWiki-Platform-Team, MW-1.41-notes (1.41.0-wmf.26; 2023-09-12), Anti-Harassment (AHaT Sprint 32 - Baseball Cap), Patch-For-Review, IP Masking

Aug 17 2023

tstarling added a comment to T342475: Define temporary account behavior on Wikimedia wikis which have IP masking disabled.

Ideally tests should be done with various combinations of the wikis being in the same and different cookie domains. But I don't really want to add more wikis to my CentralAuth farm if I can help it, since there's not much automation. It's easier to repeat the tests with different $wgAutoCreateTempUser configurations. I have four wikis, which are analogous to loginwiki, enwiki, frwiki and enwikiquote.

Aug 17 2023, 1:39 AM · MediaWiki-Platform-Team, MW-1.41-notes (1.41.0-wmf.26; 2023-09-12), Anti-Harassment (AHaT Sprint 32 - Baseball Cap), Patch-For-Review, IP Masking
tstarling added a comment to T342475: Define temporary account behavior on Wikimedia wikis which have IP masking disabled.
  • On non-pilot wikis, the temp user prefix will be reserved with $wgAutoCreateTempUser['reservedPattern'], so it will not be possible to manually create a local account which has the same name as a global temp user. This seems prudent and was a design assumption for T307064 which introduced reservedPattern.
  • Make UserNameUtils::isUsable() return false if isTempReserved() is true but isTemp() is false. So temp user reservations will be analogous to $wgReservedUsernames.
  • Thus CentralAuthSessionProvider and CentralAuthTokenSessionProvider will reject the global session due to isUsable() returning false.
  • In AuthManager::autoCreateUser(), where it says that we switched from isCreatable() to isValid() to support temp users, this will be changed again to instead call isUsable(). So auto-creation will be denied for foreign temp users on non-pilot wikis when it is requested by Special:CentralAutoLogin, ApiCreateLocalAccount, etc.
Aug 17 2023, 12:51 AM · MediaWiki-Platform-Team, MW-1.41-notes (1.41.0-wmf.26; 2023-09-12), Anti-Harassment (AHaT Sprint 32 - Baseball Cap), Patch-For-Review, IP Masking

Aug 16 2023

tstarling claimed T342475: Define temporary account behavior on Wikimedia wikis which have IP masking disabled.
Aug 16 2023, 11:50 PM · MediaWiki-Platform-Team, MW-1.41-notes (1.41.0-wmf.26; 2023-09-12), Anti-Harassment (AHaT Sprint 32 - Baseball Cap), Patch-For-Review, IP Masking

Aug 15 2023

tstarling added a comment to T344191: SkinTest::testBuildSidebarCache is flaky in CI on sqlite.

I'm working on a commit that avoids doing purges when the cache is empty.

Aug 15 2023, 1:17 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MediaWiki-Platform-Team, MediaWiki-libs-ObjectCache, MediaWiki-Interface, MediaWiki-Core-Tests
tstarling added a comment to T344191: SkinTest::testBuildSidebarCache is flaky in CI on sqlite.

This feature is called the hold-off period, and it is discussed in a few places in the source. There is likely some production impact. For 11 seconds after a purge, every request is a miss. OK, reasons are given for this. But also for 11 seconds following regeneration due to an empty cache, every request is a miss except in the first 50-100ms after each regeneration. This does not seem to be justified. It dates back to 2015 a0cce5e4b63d9607f4561298d346695bd4d1c31c. This detail was not discussed in Gerrit.

Aug 15 2023, 12:40 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MediaWiki-Platform-Team, MediaWiki-libs-ObjectCache, MediaWiki-Interface, MediaWiki-Core-Tests