Page MenuHomePhabricator

Tgr (Gergő Tisza)
Software Engineer, WMF

Projects (42)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

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

Things my team is working on: Growth-Team (kanban board)
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 T329276: Section-level images: create experiment variant and related tooling for opting in/out.

Alternatively, we could just say that ambassadors should do any pre-launch testing on beta wikis.

Thu, Jun 8, 11:06 PM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr added a comment to T338450: Update StructuredDiscussions (Flow) to use the new HookContainer/HookRunner system.

IMO not worth the effort. See T332022: [Epic] Undeploying StructuredDiscussions (Flow).

Thu, Jun 8, 9:25 PM · Patch-For-Review, StructuredDiscussions, Growth-Team
Tgr moved T338150: Prevent GrowthExperiments extension from saving preferences for Temp user from Inbox to Triaged on the Growth-Team board.

There was some related (and a lot of unrelated) discussion in T304538: Clean up GrowthExperiments-related user_properties rows.

Thu, Jun 8, 9:24 PM · GrowthExperiments, Growth-Team, IP Masking
Tgr moved T338457: Update Thanks to use the new HookContainer/HookRunner system from Inbox to Upcoming/Next Months Maintenance on the Growth-Team board.
Thu, Jun 8, 9:21 PM · Growth-Team, Thanks
Tgr moved T338454: Update GrowthExperiments to use the new HookContainer/HookRunner system from Inbox to Upcoming/Next Months Maintenance on the Growth-Team board.
Thu, Jun 8, 9:20 PM · Patch-For-Review, Growth-Team, GrowthExperiments
Tgr moved T338450: Update StructuredDiscussions (Flow) to use the new HookContainer/HookRunner system from Inbox to Triaged on the Growth-Team board.
Thu, Jun 8, 9:20 PM · Patch-For-Review, StructuredDiscussions, Growth-Team
Tgr moved T338263: Add the revert metric to the personal praise mentor's settings from Inbox to Triaged on the Growth-Team board.
Thu, Jun 8, 9:19 PM · GrowthExperiments-Mentorship, GrowthExperiments-PersonalizedPraise, Growth-Team
Tgr moved T338229: Add CSP headers for the linkrecommendation API sandbox from Inbox to Triaged on the Growth-Team board.
Thu, Jun 8, 9:18 PM · ContentSecurityPolicy, Security, Growth-Team, Add-Link
Tgr moved T338179: [wmf.11-mobile] New Impact module CTA button displayed neutral on non-pilot wikis from Inbox to Needs Discussion/Analysis on the Growth-Team board.

Isn't this just old impact module vs. new impact module? What would be the expected behavior?

Thu, Jun 8, 9:18 PM · GrowthExperiments, Growth-Team
Tgr moved T338174: The impact module should display the real numbers instead of capped numbers from Inbox to Triaged on the Growth-Team board.
Thu, Jun 8, 9:17 PM · Growth-Team, Growth-Positive-Reinforcement, GrowthExperiments-ImpactModule
Tgr added a comment to T338174: The impact module should display the real numbers instead of capped numbers.

We ended up switching back to showing total edits (as opposed to mainspace edits), didn't we? Total edit count is precomputed, it should be straightforward to display it.

Thu, Jun 8, 9:16 PM · Growth-Team, Growth-Positive-Reinforcement, GrowthExperiments-ImpactModule
Tgr closed T338077: Click ID present but task type ID missing as Invalid.

Closing as invalid, given the low incidence. If we see many of these, we should be concerned, but we always have a trickle of errors from weird URLs.

Thu, Jun 8, 9:14 PM · GrowthExperiments, Growth-Team, Wikimedia-production-error
Tgr moved T337969: Design Research: Non-Editing Participation from Inbox to Triaged on the Growth-Team board.
Thu, Jun 8, 9:12 PM · Growth-Team
Tgr moved T337954: Vector 2022 Zebra causes Special:Notifications to overlap the right sidebar from Inbox to Triaged on the Growth-Team board.
Thu, Jun 8, 9:12 PM · Notifications, Growth-Team, Readers-Web-Backlog, Desktop Improvements (Vector 2022)
Tgr moved T337948: HelpPanel tooltips have white space before text from Inbox to Triaged on the Growth-Team board.

Can reproduce, not ruwiki-specific. The content area of the tabset includes each tab; all but one should be invisible but they aren't quite, some padding is visible.

Thu, Jun 8, 9:11 PM · Growth-Team, GrowthExperiments-NewcomerTasks
Tgr added a comment to T297905: [wmf.13 - regression] hewiki - "suggested-edits-pager" displays markup .

Should we keep this task open to follow up with a proper fix (if there is a proper fix) ?

Thu, Jun 8, 8:47 PM · Regression, Growth-Team (Current Sprint)
Tgr moved T337788: Prevent PageTriage from setting preferences for temporary accounts from Inbox to Triaged on the Growth-Team board.
Thu, Jun 8, 8:33 PM · Moderator-Tools-Team, Growth-Team, PageTriage, IP Masking
Tgr moved T337771: Prevent Echo Extension from setting preferences for temporary accounts from Inbox to Triaged on the Growth-Team board.

Previous work happened in T330509: [IP Masking] Make Echo Notifications available to temporary users.

Thu, Jun 8, 8:33 PM · Notifications, Growth-Team, IP Masking
Tgr moved T338165: IP Masking: Create the OOUI version of the temporary account icon from Inbox to Triaged on the Growth-Team board.
Thu, Jun 8, 8:26 PM · Design-Systems-Team, Codex, Wikimedia Design Style Guide, Growth-Team, IP Masking
Tgr moved T335207: Section-level images: onboarding dialog from Code Review to QA on the Growth-Team (Current Sprint) board.

I think this is all done - works on desktop and mobile, in LTR and RTL, as expected.

Thu, Jun 8, 5:53 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr moved T335641: Use the prop=growthimagesuggestiondata API as an image recommendation source from Code Review to QA on the Growth-Team (Current Sprint) board.

I think we forgot this in the Code Review column, the work was finished a couple weeks ago.
Not really QA-able directly (and indirectly, this is how beta wikis load image suggestions so as long as that works, this works). @Etonkovidova I'll leave it to you but I think it can just be closed.

Thu, Jun 8, 5:48 PM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Image-Suggestions, GrowthExperiments-NewcomerTasks
Tgr moved T338283: [betalabs] Section level image quality gate - daily limit applied incorrectly from Code Review to QA on the Growth-Team (Current Sprint) board.
Thu, Jun 8, 5:48 PM · Growth-Team (Current Sprint)
Tgr moved T326281: Attempt top-level central autologin when visiting the login page (to allow autologin when the browser blocks third-party cookies) from Code Review to Blocked / Needs work on the Growth-Team (Current Sprint) board.
Thu, Jun 8, 5:45 PM · Platform Engineering, User-notice, Patch-For-Review, Growth-Team (Current Sprint), MediaWiki-extensions-CentralAuth
Tgr updated the task description for T338489: Section images: Pressing Esc during onboarding freezes the UI.
Thu, Jun 8, 5:38 PM · Section-Level-Image-Suggestions
Tgr attached a referenced file: F37098288: Screenshot Capture - 2023-06-08 - 19-35-34.png.
Thu, Jun 8, 5:36 PM · Section-Level-Image-Suggestions
Tgr updated the task description for T338489: Section images: Pressing Esc during onboarding freezes the UI.
Thu, Jun 8, 5:35 PM · Section-Level-Image-Suggestions
Tgr created T338489: Section images: Pressing Esc during onboarding freezes the UI.
Thu, Jun 8, 5:32 PM · Section-Level-Image-Suggestions
Tgr moved T335924: Section-level images: article-level and section-level image thumbnails for Suggested edits from Code Review to QA on the Growth-Team (Current Sprint) board.
Thu, Jun 8, 5:23 PM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Section-Level-Image-Suggestions, Growth-Team (Current Sprint)
Krinkle awarded T294397: Drop writeapi MediaWiki right a Orange Medal token.
Thu, Jun 8, 4:27 PM · Security, MediaWiki-User-management, MediaWiki-REST-API, MediaWiki-Action-API
Tgr claimed T338283: [betalabs] Section level image quality gate - daily limit applied incorrectly .
Thu, Jun 8, 10:29 AM · Growth-Team (Current Sprint)

Wed, Jun 7

Tgr added a comment to T338109: Section-level images: edit explanation for patrollers.

We'll also need a tag name and description; I think that's not included in T335714: Section-level images: finalize copy and QQQ descriptions for TranslateWiki.net. For top-level images it's

  • [[mw:Special:MyLanguage/Help:Growth/Tools/Newcomer_Tasks#s-image|Suggested: add images]]
  • "Add images" task edit suggested by the suggested edits module of the newcomer homepage

For section-level images, we could have something like

  • [[mw:Special:MyLanguage/Help:Growth/Tools/Newcomer_Tasks#s-section-image|Suggested: add images to sections]]
  • "Add images to sections" task edit suggested by the suggested edits module of the newcomer homepage
Wed, Jun 7, 11:35 PM · Patch-For-Review, CommRel-Specialists-Support (Apr-Jun-2023), Section-Level-Image-Suggestions, Growth-Team (Current Sprint)
Tgr updated subscribers of T337320: [Spike] Investigate A/B test results of Growth Experiments impact module.

Yeah, at some point we stopped filtering by namespace. I'd assume that there are so few new users with a non-mainspace first edit that they can't cause the difference in activation... @nettrom_WMF is that something you can confirm or refute?

Wed, Jun 7, 8:37 PM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Design-Systems-Team (Design-Systems-Sprint)
Tgr added a comment to T338286: Section-level image - minor UI usability issues.

(2) "Add an image..." dialog for add section level image has "Used in the same article in 0 other languages" - should this message be modified or removed?

Wed, Jun 7, 6:27 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions, GrowthExperiments
Tgr added a comment to T338283: [betalabs] Section level image quality gate - daily limit applied incorrectly .

The task description says "daily limit applied incorrectly". Is there an error in the logic, or is the task only about the message not getting translated?

Wed, Jun 7, 6:22 PM · Growth-Team (Current Sprint)
Tgr added a comment to T329276: Section-level images: create experiment variant and related tooling for opting in/out.

We can't mass-set the new variant without interfering with the NewImpact A/B test. We could backport 924597 as a way of deployment - not elegant but I'm not sure we have a better way. (We could introduce another config flag but that would be a lot of effort for throwaway code.)

Wed, Jun 7, 6:20 PM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr added a project to T338187: Change img_upright configuration in MessagesHu.php: good first task.

Do you want to submit a patch?

Wed, Jun 7, 6:16 PM · good first task, MediaWiki-Internationalization, Hungarian-Sites
Tgr removed a project from T337330: Wikimedia\Assert\ParameterTypeException: Bad value for parameter $taskType: must be a GrowthExperiments\NewcomerTasks\TaskType\ImageRecommendationBaseTaskType: Wikipedia-Android-App-Backlog (Android Release FY2022-23).

@Tgr or @KStoller-WMF could you please add more details about what the issue is and what the Android team needs to understand about it?

Wed, Jun 7, 6:09 PM · Wikimedia-production-error, Section-Level-Image-Suggestions, GrowthExperiments-NewcomerTasks, Growth-Team (Current Sprint)

Tue, Jun 6

Tgr moved T337900: [QA task] Section level image suggestions - testing in beta from Code Review to In Progress on the Growth-Team (Current Sprint) board.
  • #6 mw-ge-recommendedImageToolbarDialog-title still shows "Add an image to an unillustrated article"
Tue, Jun 6, 1:18 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr moved T335207: Section-level images: onboarding dialog from Code Review to In Progress on the Growth-Team (Current Sprint) board.

Per the merged patch ("No RTL assets or mobile were provided yet, add them after clarifications in T332925") moving back to In Progress.

Tue, Jun 6, 1:13 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr created T338229: Add CSP headers for the linkrecommendation API sandbox.
Tue, Jun 6, 12:48 PM · ContentSecurityPolicy, Security, Growth-Team, Add-Link
Tgr added a comment to T338208: xdebug causes segmentation fault in PHP when hitting a breakpoint in a phpunit test.

You could try setting

xdebug.log = <some file>
xdebug.log_level = 10

to dump the exact commands that PHPStorm sends to XDebug. Although presumably the one that causes the segfault won't make it into the log.

Tue, Jun 6, 11:48 AM · Patch-For-Review, php-segfault

Mon, Jun 5

Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.

Per IRL discussion, the rejection dialog is reachable but the summary/save dialog doesn't show up afterwards, and this is probably intentional and matches Add Image workflow (we should look at the relevant Add Image task just to make sure).

Mon, Jun 5, 9:30 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.
Mon, Jun 5, 9:23 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.

(8) (from https://phabricator.wikimedia.org/T336550#8897636)
Special:EditGrowthConfig on betalabs does have Add a suggested section image section, see for example:eswiki betalabs Special:EditGrowthConfig. But the section lacks The maximum number of section-level "Add an image" suggested tasks a newcomer can complete daily. field.

Mon, Jun 5, 9:21 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr moved T336550: Section-Level Images: quality gate from QA to Code Review on the Growth-Team (Current Sprint) board.
Mon, Jun 5, 9:20 PM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.

(7) (from https://phabricator.wikimedia.org/T336549#8897571) The rejection dialog is not reachable?

Mon, Jun 5, 5:55 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.

#6 will probably be fixed by https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/927137

Mon, Jun 5, 4:59 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr added a comment to T338077: Click ID present but task type ID missing.

As long as it's a tiny amount of events, it's probably just someone editing URLs manually.

Mon, Jun 5, 4:56 PM · GrowthExperiments, Growth-Team, Wikimedia-production-error

Sun, Jun 4

Tgr added a comment to T338061: Section-level images: clear `hasrecommendation:section_image` flag when an image is added to the article.

After thinking this through, it's not as simple as I thought, sorry.

Sun, Jun 4, 9:02 AM · Section-Level-Image-Suggestions, Growth-Team (Current Sprint)

Sat, Jun 3

Tgr added a comment to T338002: Let action=edit API instruct the client to redirect to another location after saving the edit.

This is a cross-cutting concern that will be relevant for the Flow API, the LiquidThreads API, probably for VisualEditor and DiscussionTools. Also the move API, if some wiki allows page moving for anons (although that's probably unwise). Probably relevant for some non-Wikimedia extensions too.

Sat, Jun 3, 6:36 PM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Patch-For-Review, Editing-team (Kanban Board), IP Masking, MediaWiki-Page-editing

Fri, Jun 2

Tgr added a comment to T337330: Wikimedia\Assert\ParameterTypeException: Bad value for parameter $taskType: must be a GrowthExperiments\NewcomerTasks\TaskType\ImageRecommendationBaseTaskType.

It's not really needed by us (it only happens when you try to use a section-image related API on a wiki where section images aren't set up in community configuration). We'll need to fix it before Android starts using the feature. (Or we can just do the setup on all Wikipedias by editing community config, I guess.)

Fri, Jun 2, 7:50 AM · Wikimedia-production-error, Section-Level-Image-Suggestions, GrowthExperiments-NewcomerTasks, Growth-Team (Current Sprint)

Thu, Jun 1

Tgr added a comment to T335962: Update ContactPage for IP masking.
		if ( $user->isRegistered() ) {
			// Use real name if set
			$realName = $user->getRealName();
			if ( $realName ) {
				$fromName = $realName;
			} else {
				$fromName = $user->getName();
			}
			$fromAddress = $user->getEmail();
		}

this should probably use !$user->isAnon().

		$includeIP = isset( $config['IncludeIP'] ) && $config['IncludeIP']
			&& ( $user->isAnon() || $formData['IncludeIP'] );

this is probably fine as it is, we don't want to send temp users' IPs by default.

Thu, Jun 1, 8:31 PM · Patch-For-Review, Stewards-and-global-tools, Content-Transform-Team-WIP, IP Masking
Tgr added a comment to T337320: [Spike] Investigate A/B test results of Growth Experiments impact module.

If I wanted to do some digging here, what is the best way to see the various UIs in my browser to try and profile things? Is there a production or beta Wiki that I can go to in order to activate this feature? Since this UI is targeted to new editors, will I have to do certain things if I want to keep seeing the page in the same state multiple times (clearing localstorage, setting user prefs, etc)?

Thu, Jun 1, 8:25 PM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Design-Systems-Team (Design-Systems-Sprint)
Etonkovidova awarded T337348: Section-level images: Set up beta cluster a 100 token.
Thu, Jun 1, 7:44 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.

(5) On mobile the task type for suggested section level image task type on Homepage doesn't match the same title in Select types of edits overlay list. Note: all other types of tasks do not display that discrepancy.

Thu, Jun 1, 5:07 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.

Thanks, @Tgr! I'll re-check - the problem that I saw: the message appeared after just the few edits.

Thu, Jun 1, 5:02 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr moved T337900: [QA task] Section level image suggestions - testing in beta from In Progress to Code Review on the Growth-Team (Current Sprint) board.
Thu, Jun 1, 11:44 AM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr claimed T337900: [QA task] Section level image suggestions - testing in beta.
Thu, Jun 1, 9:35 AM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.

In general task submission is not done yet (T337767: Section-level images: task submission). I think tags are supposed to work though. Will check.

Thu, Jun 1, 9:35 AM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions
Tgr added a comment to T337900: [QA task] Section level image suggestions - testing in beta.

(1) Quite often "Suggestions are no longer available on this article." message is displayed.
...
... However, Special:EditGrowthConfig doesn't have a quality gate set for Add a suggested section image.

Thu, Jun 1, 8:34 AM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Growth-Structured-Tasks, Section-Level-Image-Suggestions

Wed, May 31

Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).

Although the other branch will, so nevermind.

Wed, May 31, 7:45 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).

This is happening in the preg_match_all() branch, so it wouldn't blank the page, just ignore all magic words. But yeah cleaning it up would be nicer.

Wed, May 31, 7:43 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).

I think this would find other incorrect signatures:

wikiadmin2023@10.64.48.109(huwiki)> select count(*) from thread where convert(thread_signature using binary) rlike '([\\xC0-\\xC1]|[\\xF5-\\xFF]|\\xE0[\\x80-\\x9F]|\\xF0[\\x80-\\x8F]|[\\xC2-\\xDF](?![\\x80-\\xBF])|[\\xE0-\\xEF](?![\\x80-\\xBF]{2})|[\\xF0-\\xF4](?![\\x80-\\xBF]{3})|(?<=[\\x00-\\x7F\\xF5-\\xFF])[\\x80-\\xBF]|(?<![\\xC2-\\xDF]|[\\xE0-\\xEF]|[\\xE0-\\xEF][\\x80-\\xBF]|[\\xF0-\\xF4]|[\\xF0-\\xF4][\\x80-\\xBF]|[\\xF0-\\xF4][\\x80-\\xBF]{2})[\\x80-\\xBF]|(?<=[\\xE0-\\xEF])[\\x80-\\xBF](?![\\x80-\\xBF])|(?<=[\\xF0-\\xF4])[\\x80-\\xBF](?![\\x80-\\xBF]{2})|(?<=[\\xF0-\\xF4][\\x80-\\xBF])[\\x80-\\xBF](?![\\x80-\\xBF]))';
+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.239 sec)

(the regex is from here)

Wed, May 31, 7:19 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).
Wed, May 31, 7:13 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).

Anyhow, should we revert that patch any maybe just convert broken UTF-8 bytes to question marks?

Wed, May 31, 6:06 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).

The relevant patch is rMWf27945728f1d: In the event of preg failure in MagicWordArray throw exception but that was merged ages ago. Do we know why this started happening now? (logstash says this Monday at 9:20 UTC - doesn't match anything in SAL)

Wed, May 31, 6:04 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr added a comment to T187487: LiquidThreads: code stewardship review.

T332022: [Epic] Undeploying StructuredDiscussions (Flow) will require a community consultation, we could probably discuss sunsetting LQT as part of that.

Wed, May 31, 7:39 AM · MediaWiki-extensions-LiquidThreads, Code-Stewardship-Reviews
Tgr added a comment to T187487: LiquidThreads: code stewardship review.

LQT apparently truncates (truncated at some point in the past?) some of its data in a way that might cause it to be invalid UTF-8. That, in combination with some poorly written bot getting stuck in a loop when an LQT page errors out, is flooding production logs with T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew) right now.

Wed, May 31, 7:35 AM · MediaWiki-extensions-LiquidThreads, Code-Stewardship-Reviews

Tue, May 30

Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).
wikiadmin2023@10.64.136.13(huwiki)> select thread_id, thread_author_name, thread_signature from thread where thread_subject = 'Fölösleges információk';
+-----------+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| thread_id | thread_author_name | thread_signature                                                                                                                                                                                                                                                |
+-----------+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|      1285 | Xia                | [[User:Teemeah|<font color="#C440A3"><b>Xiǎolóng</b></font>]] [[Fájl:Dragon01.svg|25px|link=Jay Chou]]  [[User vita:Teemeah|<font color="#C440A3"><sup>vigyázz, harap!</sup></font>]]                                                                           |
|      1286 | Dencey             | [[Szerkesztő:Dencey|Dencey]] <sup>[[Szerkesztővita:Dencey|vita]]</sup>                                                                                                                                                                                          |
|      1287 | Xia                | [[User:Teemeah|<font color="#C440A3"><b>Xiǎolóng</b></font>]] [[Fájl:Dragon01.svg|25px|link=Jay Chou]]  [[User vita:Teemeah|<font color="#C440A3"><sup>vigyázz, harap!</sup></font>]]                                                                           |
|      1288 | Gubbubu            | <span title="bétaverzió"> <!--<font style="text-decoration: blink;">--><font color="red">♥</font><font color="white">♥</font><font color="green">♥</font> </font> [[User:Gubbubu|<font color="green" face="Lucida calligraphy">Γουββος Θιλο�                     |
|      1289 | Dencey             | [[Szerkesztő:Dencey|Dencey]] <sup>[[Szerkesztővita:Dencey|vita]]</sup>                                                                                                                                                                                          |
+-----------+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Tue, May 30, 10:42 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).
tgr@mwmaint1002:~$ mwscript shell.php huwiki
Psy Shell v0.11.10 (PHP 7.4.33 — cli) by Justin Hileman
> $u = User::newFromName( 'Dencey' )
> $parser->setOptions( new ParserOptions( $u ) );
> $parser->getUserSig( $u )
= "[[Szerkesztő:Dencey|– –Dencey ]] <sup>[[Szerkesztővita:Dencey|vita]]</sup>"
Tue, May 30, 10:23 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr moved T329276: Section-level images: create experiment variant and related tooling for opting in/out from Code Review to QA on the Growth-Team (Current Sprint) board.
Tue, May 30, 9:47 PM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr added a comment to T329276: Section-level images: create experiment variant and related tooling for opting in/out.

Per Slack discussion, we should revert these:

  • Hidden preference exists for users to opt-in / opt-out to the feature
  • New experiment variant (sectionlevelimages) is defined as a valid variant

and only keep the configuration variable.

Tue, May 30, 9:47 PM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr updated the task description for T329276: Section-level images: create experiment variant and related tooling for opting in/out.
Tue, May 30, 9:46 PM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr moved T329276: Section-level images: create experiment variant and related tooling for opting in/out from Top Product Priorities to Code Review on the Growth-Team (Current Sprint) board.
Tue, May 30, 8:12 PM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr added a comment to T322944: Allow authenticated requests via OAuth to the Action API from any origin.

origin is not a security measure, it's a cache management measure. (Or, I guess, it's a security measure but it's specifically for preventing cache poisoning/leaking.) I guess with Authorization it isn't strictly necessary because that header makes the response uncacheable (and if it doesn't, we have bigger problems) but I'd still rather not mess with it. Is there any reason you can't just set the origin properly?

Tue, May 30, 7:55 PM · Patch-For-Review, MW-1.35-notes, MW-1.38-notes, MW-1.40-notes, MW-1.39-notes, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), MediaWiki-extensions-OAuth, MediaWiki-Action-API
Tgr added a comment to T335209: Section-level images: suggestions mode.

(Btw do want to use the placeholder + modified dialog placement for article-level image recommendations as well, or only section-level tasks?)

Tue, May 30, 5:15 PM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Patch-For-Review, Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr added a comment to T335209: Section-level images: suggestions mode.

I thought it's useful to spell out what changes (compared to the old image recommendation workflow) this task entails. (Not including subtasks.) Please fix if I'm missing something.

  • Modify image insertion logic so images are inserted to the appropriate section, not the top of the article.
  • Modify article validity checking logic so we show the "recommendation not available" error when there is an image already in the selected section, or the recommended image is used elsewhere in the article, or we cannot identify the selected section at all (but don't show the error if the article has images but not in the selected section)
  • Add an "image placeholder" when the editor loads, to be replaced by the actual image when the user clicks "Yes" in the dialog.
  • Modify the desktop version of the dialog so instead of sticking to the bottom of the screen, it sticks to the bottom of the image placeholder.
  • Some text changes to the dialog - "section" is added to the header, the paragraph below the header and the paragraph above the buttons + the section name is added to the paragraph above the buttons.
Tue, May 30, 5:14 PM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Patch-For-Review, Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr moved T337767: Section-level images: task submission from Backlog to May 29-June 2 on the Section-Level-Image-Suggestions board.
Tue, May 30, 4:50 PM · Patch-For-Review, Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr moved T337767: Section-level images: task submission from Incoming to Top Product Priorities on the Growth-Team (Current Sprint) board.
Tue, May 30, 4:50 PM · Patch-For-Review, Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr created T337767: Section-level images: task submission.
Tue, May 30, 4:50 PM · Patch-For-Review, Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr moved T329396: Exclude unillustrated articles from section-level image suggestions from Top Product Priorities to Ready for Development on the Growth-Team (Current Sprint) board.

I guess if we are aiming for post-MVP with this, it's not top priority anymore.

Tue, May 30, 3:44 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr placed T335924: Section-level images: article-level and section-level image thumbnails for Suggested edits up for grabs.
Tue, May 30, 3:44 PM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Section-Level-Image-Suggestions, Growth-Team (Current Sprint)
Tgr moved T337348: Section-level images: Set up beta cluster from In Progress to QA on the Growth-Team (Current Sprint) board.

Recommendations are set up on beta enwiki, arwiki, bnwiki, cswiki, eswiki. (There is no beta frwiki and setting it up didn't seem worth the effort.)

Tue, May 30, 3:17 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr updated the task description for T337348: Section-level images: Set up beta cluster.
Tue, May 30, 3:10 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr added a comment to T337348: Section-level images: Set up beta cluster.
Add 500 test pages per wiki
for LANG in en ar bn cs es; do
    echo "$LANG>>>"
    # get list of pages with recommendations
    curl -s "https://${LANG}.wikipedia.org/w/api.php?action=query&format=json&export=1&generator=search&formatversion=2&gsrsearch=hasrecommendation%3Aimage_section&gsrlimit=500" > export.json
    cat export.json | jq --raw-output '.query.export' > export.xml
    cat export.json | jq --raw-output '.query.pages[].title' > pages-$LANG.txt
    # import pages
    mwscript importDump.php ${LANG}wiki --username-prefix prod --no-local-users --report 50 export.xml
    mwscript rebuildrecentchanges.php ${LANG}wiki
    mwscript initSiteStats.php ${LANG}wiki --update
    # update search index
    mwscript CirrusSearch:ForceSearchIndex.php ${LANG}wiki --namespace 0 --skipLinks --indexOnSkip
    mwscript CirrusSearch:ForceSearchIndex.php ${LANG}wiki --namespace 0 --skipParse
    mwscript GrowthExperiments:importOresTopics.php ${LANG}wiki --apiUrl="https://${LANG}.wikipedia.org/w/api.php" --wikiId=${LANG}wiki --pageList pages-$LANG.txt
    mwscript CirrusSearch:UpdateWeightedTags.php ${LANG}wiki --tagType=recommendation.image_section --page-list pages-$LANG.txt
done
Tue, May 30, 3:10 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr added a comment to T329396: Exclude unillustrated articles from section-level image suggestions.

I might be misreading or thinking about this wrong, but I believe we want the inverse of the query you listed above: -hasrecommendation:image hasrecommendation:image_section.

Tue, May 30, 2:25 PM · MW-1.41-notes (1.41.0-wmf.12; 2023-06-06), Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).

This single page is somehow responsible for about 1000 production errors per hour. Some bot stuck in a loop I guess?

Tue, May 30, 11:54 AM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr added a comment to T337700: Exception: "Malformed UTF-8 characters" in Parser\MagicWordArray (via LqtVIew).

I tried blanking or deleting the page; deleting just gave the same error, blanking seemed to work but didn't make the error go away. Maybe the malformed character is in the title?

Tue, May 30, 8:46 AM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Wikimedia-database-issue (Bad data), Wikimedia-production-error
Tgr moved T337169: Recentchanges not always showing full results on metawiki from Triaged to Needs Discussion/Analysis on the Growth-Team board.
Tue, May 30, 7:48 AM · MediaWiki-extensions-Translate, MediaWiki-Recent-changes, Growth-Team

Mon, May 29

Tgr added a comment to T337640: Add mw-parser-output to edit notices.

One potential attack I can think of is using <templatestyles> in the page passed in the &editintro= parameter to hide the big red warning about the risks of user JS when editing Special:MyPage/common.js.

Mon, May 29, 10:34 PM · Russian-Sites, MediaWiki-Page-editing, TemplateStyles
Tgr added a comment to T337348: Section-level images: Set up beta cluster.

Blocked on deploying rEGRE76227375bb1f: Section images: Accept more recommendation types as the name of the type has changed.

Mon, May 29, 7:02 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr updated the task description for T337348: Section-level images: Set up beta cluster.
Mon, May 29, 2:58 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr added a comment to T337348: Section-level images: Set up beta cluster.

Beta:

tgr@deployment-mwmaint02:~$ for WIKI in ar bn cs es; do mwscript GrowthExperiments:changeWikiConfig.php --wiki=${WIKI}wiki --json --page MediaWiki:NewcomerTasks.json --summary 'Prepare section image recommendations. This should have no visible effect (disabled via other means). [[phab:T337330]] [[phab:T321754]]' --create-only section-image-recommendation '{"type": "section-image-recommendation", "group": "medium", "maxTasksPerDay": 25}' ; done

Production (needed because of T337330):

tgr@mwmaint1002:~$ for WIKI in ar bn cs es fr; do mwscript GrowthExperiments:changeWikiConfig.php --wiki=${WIKI}wiki --json --page MediaWiki:NewcomerTasks.json --summary 'Prepare section image recommendations. This should have no visible effect (disabled via other means). [[phab:T337330]] [[phab:T321754]]' --create-only section-image-recommendation '{"type": "section-image-recommendation", "group": "medium", "maxTasksPerDay": 25}' ; done
Mon, May 29, 12:54 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions
Tgr added a comment to T336957: Show results so far if recent changes time out.

More generally, T20228: Add pagination (offset, prev/next, until/from/to) to watchlist and recent changes in the old (non-JS) UI / T163429: Provide UI for paging through Watchlist and Recent Changes results in the JS-enhanced UI and then disabling large paging sizes is probably the most feasible way to work around RC/watchlist query performance issues.

Mon, May 29, 8:54 AM · MediaWiki-Recent-changes, Growth-Team
Tgr added a comment to T336957: Show results so far if recent changes time out.

this misleads users into thinking those sets of filters cannot find anything

Mon, May 29, 8:49 AM · MediaWiki-Recent-changes, Growth-Team
Tgr added a comment to T335924: Section-level images: article-level and section-level image thumbnails for Suggested edits.

Is this what you need?

Mon, May 29, 8:43 AM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Section-Level-Image-Suggestions, Growth-Team (Current Sprint)

Sun, May 28

Tgr added a comment to T337169: Recentchanges not always showing full results on metawiki.

Hm, I think "Logged actions" is the filter that behaves weirdly. If I enable it I actually get less results. Its code is pretty straightforward though.

Sun, May 28, 5:53 PM · MediaWiki-extensions-Translate, MediaWiki-Recent-changes, Growth-Team
Tgr moved T336550: Section-Level Images: quality gate from In Progress to Code Review on the Growth-Team (Current Sprint) board.

This is done, I think?

Sun, May 28, 3:53 PM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks
Tgr added a comment to T335924: Section-level images: article-level and section-level image thumbnails for Suggested edits.

Could we get the asset files for this? Figma doesn't make it easy to export images which are composed of multiple objects.

Sun, May 28, 3:50 PM · MW-1.41-notes (1.41.0-wmf.13; 2023-06-13), Section-Level-Image-Suggestions, Growth-Team (Current Sprint)
Tgr added a comment to T335207: Section-level images: onboarding dialog.

FWIW the explanatory images about the dialog don't quite match the dialog design at T335209: Section-level images: suggestions mode.

Sun, May 28, 3:15 PM · Growth-Team (Current Sprint), Section-Level-Image-Suggestions, Growth-Structured-Tasks