Page MenuHomePhabricator

Amdrel (Jamie)
User

Projects

User is not a member of any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Monday

  • No visible events.

User Details

User Since
Apr 16 2024, 4:22 PM (112 w, 3 d)
Availability
Available
LDAP User
Amdrel
MediaWiki User
Amdrel [ Global Accounts ]

Recent Activity

Yesterday

Amdrel added a comment to T410980: Add retry button to upload wizard.

@JSengupta-WMF Thank you for the design input. I've created a patch that adds this notification.

Fri, Jun 12, 5:29 PM · Patch-For-Review, UploadWizard

Tue, Jun 2

Amdrel added a comment to T401424: Commons Upload Wizard "This work contains the work of others" checkbox prompts no follow-up questions.

When storing this information it can be stored in either the information template or structured data (or both?). Should we prioritize one over the other?

Tue, Jun 2, 5:33 PM · UploadWizard, Commons

Fri, May 22

Amdrel added a comment to T410980: Add retry button to upload wizard.

I've noticed that there's a retry button already at the bottom of the page that re-attempts all of the failed uploads, including ones that aren't fixable. Was this ticket raised to address visibility issues? I didn't notice the button initially as I had to scroll down to the bottom of the page when uploading a batch of files. Adding buttons to the individual file cards next to the "Remove" button would help with that.

Fri, May 22, 6:27 PM · Patch-For-Review, UploadWizard
Amdrel claimed T410980: Add retry button to upload wizard.
Fri, May 22, 6:14 PM · Patch-For-Review, UploadWizard

Mon, May 18

Amdrel added a comment to T422438: Upload Wizard: categorisation apparently fails when using the wizard's dialogue.

@Soda My apologies, I retract what I said earlier. After testing again to create the steps I noticed that I missed that it got added to the right category. I must have glanced over it.

Mon, May 18, 5:44 PM · UploadWizard

Fri, May 15

Amdrel added a comment to T422438: Upload Wizard: categorisation apparently fails when using the wizard's dialogue.

I was able to reproduce this with a local development setup of Mediawiki with UploadWizard installed.

Fri, May 15, 11:08 PM · UploadWizard

May 11 2026

Amdrel claimed T74768: Add chunked upload support to standard Special:Upload for files larger than POST limit.
May 11 2026, 5:03 PM · Patch-For-Review, Multimedia, MediaWiki-Uploading

Feb 25 2026

Amdrel added a comment to T416016: Fix video2commons so it imports videos at max resolution & fix videos imported with low quality.

The script finished and I found 135 videos in total that need re-uploads. Attached is a CSV file with the full list of titles and YouTube IDs. I excluded AI upscaled videos as well (new YouTube feature). It's actually a bit less than I expected.

Feb 25 2026, 6:05 PM · Community-Wishlist, video2commons

Feb 24 2026

Amdrel added a comment to T416016: Fix video2commons so it imports videos at max resolution & fix videos imported with low quality.

Thank you for the examples! I'm also running a script that should get a (mostly) complete list of videos with higher resolutions available. I'll update the thread with the list once it's complete.

Feb 24 2026, 9:40 PM · Community-Wishlist, video2commons

Feb 23 2026

Amdrel added a comment to T416016: Fix video2commons so it imports videos at max resolution & fix videos imported with low quality.

I took a look at this query's 20 most recent results and 15/20 of the videos downloaded correctly. The remaining 5 videos are at a lower resolution than the original source. All of these improper videos were downloaded manually by the user prior to being uploaded to video2commons and were not fetched directly from YouTube directly by video2commons. Likely what happened was the manual method used to download these videos by users prior to uploading them to video2commons failed to download the full resolution versions. I downloaded each of these videos using yt-dlp and got the full resolution versions as we would hope would happen.

Feb 23 2026, 8:47 PM · Community-Wishlist, video2commons

Feb 16 2026

Amdrel added a comment to T417380: Enable uploading playlists and a user's videos/audios via video2commons.

Hiding non CC-BY videos from the upload list could result in issues uploading public domain content that we have the right to upload. An example of this I came across is government works, which depending on the laws of the country are often public domain, though not always. Videos uploaded by the U.S. federal government often don't have public domain labels on YouTube even though they may be fine to upload (e.g. videos on the White House channel). I think we should instead inform the user about the license of each video in the playlist and preselect any videos that have valid licenses. Here is an example of what this would look like:

Feb 16 2026, 11:19 PM · video2commons, Community-Wishlist

Feb 9 2026

Amdrel added a comment to T410730: Continuous integration and continuous delivery.

The workflows have run successfully. I logged into the instances to check the status of the workers and it also looks like it's restarting gracefully as we hoped it would.

Feb 9 2026, 8:05 PM · video2commons

Feb 3 2026

Amdrel added a comment to T410730: Continuous integration and continuous delivery.

We've got a working deployment script for the encoders merged now. The next step is to automatically run it when code is merged.

Feb 3 2026, 8:45 PM · video2commons

Jan 16 2026

Amdrel added a comment to T410730: Continuous integration and continuous delivery.

The infodump is appreciated! Though admittedly a lot of this is out of my depth. It's good to know what our options are on Cloud VPS.

Jan 16 2026, 9:13 PM · video2commons

Dec 18 2025

Amdrel added a comment to T410730: Continuous integration and continuous delivery.

As far as restarting the instances gracefully goes, using the systemd command I suggested should prevent you from having to keep a login shell open for restarts while waiting for ffmpeg subprocesses to finish. However that doesn't solve the problem of automatically deploying code to all of the instances at once (this is currently manual as far as I know).

Dec 18 2025, 12:05 AM · video2commons

Dec 5 2025

Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

Not directly, however there's a couple of things we can do. We can tweak settings sent to the encoder such as look ahead distance and see if that results in less memory being used, but that may have an effect on output quality and file size. We could also try lowering the amount of threads for each ffmpeg process we spawn, and I think this is what we should try first. I noticed that we're currently creating 16 threads per process (matches core count, default for libsvtav1), which is a bit excessive if there's multiple tasks being processed at once. The way it's currently configured results in 48 threads competing for 16 CPU cores for a worker that has 3 tasks being processed. More threads result in more memory being used. We're using more memory than needed on worker nodes that are processing more than 1 video concurrently.

Dec 5 2025, 9:14 PM · video2commons
Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

AV1 transcoding can be a bit of a memory hog. encoding04 is currently processing a single job and it's using 12.0G of memory (RES). The video being converted is a 4k Apple ProRes 422 file. Processing just two of these files concurrently would result in OOM errors.

Dec 5 2025, 7:45 PM · video2commons
Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

After looking into some logs deeper I can see the OOM killer has been getting invoked around the time instances stop reporting to the dashboard. I also saw several logs that indicated network errors afterwards as well, though the instance did remain up. I see lots of prometheus write errors after the OOM killer got to work.

Dec 5 2025, 1:17 AM · video2commons
Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

I've gained access and I noticed a couple of things so far. The new cron job and old cron jobs aren't running due to the following errors:

Dec 5 2025, 12:34 AM · video2commons

Nov 26 2025

Amdrel added a comment to T410732: Restart button works only for tasks created by the current logged-in user.

Right now it appears that the video2commons application isn't able to tell which users are administrators or not. I've found that the LDAP API hosted at https://ldap.toolforge.org allows me to programmatically query members of the tools.video2commons group, and it corresponds to the maintainers list on toolsadmin. I can modify video2commons to check against that list to determine whether a user can restart tasks belonging to other users.

Nov 26 2025, 11:48 PM · video2commons

Nov 25 2025

Amdrel added a comment to T410732: Restart button works only for tasks created by the current logged-in user.

Right now it appears that the video2commons application isn't able to tell which users are administrators or not. I've found that the LDAP API hosted at https://ldap.toolforge.org allows me to programmatically query members of the tools.video2commons group, and it corresponds to the maintainers list on toolsadmin. I can modify video2commons to check against that list to determine whether a user can restart tasks belonging to other users.

Nov 25 2025, 9:18 PM · video2commons
Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

@Amdrel are you registered to https://toolsadmin.wikimedia.org ? I don't find you when I try to grant you maintainer role.

Nov 25 2025, 12:50 AM · video2commons
Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

One thing that should help a lot is a better dispatch of tasks across instances. It seems to me that the new tasks are often picked up by encoding01, even if one of its workers is currently trnscoding a video while other instances are chilling. I'm not 100% sure about that, but we need to check that the load is evenly distributed across the instances.

Nov 25 2025, 12:35 AM · video2commons

Nov 24 2025

Amdrel added a comment to T410730: Continuous integration and continuous delivery.

I may have been mistaken in my initial assessment. I did some testing with Celery and V2C locally and I was able to observe that initiating a restart was gracefully waiting for uploads to complete although we have no explicit signal handling. Celery seems to be handling this by default, however, there is one major caveat I encountered that may be relevant.

Nov 24 2025, 8:00 PM · video2commons
Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

Hopefully that works. If it does, longer term should we reconsider having AV1 as the default transcoding target? At least while we only have 16 GiB of memory. Having to limit how many workers we have due to this change could potentially back up the tool a lot. If we change the default or hide the option AV1 videos in an MP4 container should still upload fine since the video data can be remuxed by ffmpeg, which shouldn't take as much memory, though I'd like to verify that. I believe most recently uploaded YouTube videos at or over 1080p in size use AV1 with either an MP4 or WebM container.

Nov 24 2025, 6:12 PM · video2commons
Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

Has this gotten worse in the last couple of weeks? AV1 transcoding uses a lot more memory than VP9 encoding, so maybe that can be causing this.

Nov 24 2025, 4:36 PM · video2commons

Nov 21 2025

Amdrel added a comment to T410732: Restart button works only for tasks created by the current logged-in user.

I opened a ticket in GitHub: https://github.com/toolforge/video2commons/issues/265

Nov 21 2025, 6:41 PM · video2commons
Amdrel added a comment to T410730: Continuous integration and continuous delivery.

I opened a ticket: https://github.com/toolforge/video2commons/issues/264

Nov 21 2025, 6:37 PM · video2commons
Amdrel added a comment to T407375: [video2commons] Find a more stable (or self-healing) VM/celery setup.

Not yet! I have requested access just now: https://toolsadmin.wikimedia.org/tools/membership/status/2064

Nov 21 2025, 5:39 PM · video2commons

Nov 7 2025

Amdrel added a comment to T284970: Video2commons scrubbing metadata.

When I download the example video you linked to I can see GPS coordinates in the global metadata labeled as LOCATION and LOCATION-eng when I probe the file with ffprobe. Here is the output that I get:

Nov 7 2025, 9:44 PM · video2commons

Nov 3 2025

Amdrel added a comment to T363620: Video2Commons imports completely black videos.

Here are the transcoded videos: https://drive.google.com/file/d/11rW4A0XqAWhJWYjNBHwIBcYm9yRTu_F0/view?usp=sharing

Nov 3 2025, 5:42 PM · video2commons

Oct 30 2025

Amdrel added a comment to T363620: Video2Commons imports completely black videos.

I cannot overwrite the files since they were not uploaded by me. I can provide the files to you if that's okay, though.

Oct 30 2025, 11:39 PM · video2commons

Oct 28 2025

Amdrel added a comment to T284970: Video2commons scrubbing metadata.

In my testing when working with a single input and output file ffmpeg seemed to keep most global standard metadata.

Oct 28 2025, 10:01 PM · video2commons

Oct 22 2025

Amdrel added a comment to T363620: Video2Commons imports completely black videos.

Is this something that can still be reproduced? I don't have access to the deployed V2C, but downloading and transcoding all of these videos with my local version of V2C doesn't result in black videos.

Oct 22 2025, 11:05 PM · video2commons

Jun 26 2025

Amdrel moved T397932: Increase precision in HTML report to 10 from Backlog to Actively working on the MediaWiki-extensions-SecurePoll board.
Jun 26 2025, 9:43 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.8; 2025-07-01), MediaWiki-extensions-SecurePoll, Trust and Safety Product Team
Amdrel moved T397934: Final round is sometimes not shown in STV election results from Backlog to Actively working on the MediaWiki-extensions-SecurePoll board.
Jun 26 2025, 9:43 PM · Essential-Work, MediaWiki-extensions-SecurePoll, Trust and Safety Product Team
Amdrel added a comment to T397934: Final round is sometimes not shown in STV election results.

It looks like this bug was introduced when we added short circuit logic at the beginning of the round that checks if all remaining hopefuls are eligible to be elected or eliminated with the current remaining seat count. This change was introduced to workaround the infinite loop bug if I recall correctly (http://phabricator.wikimedia.org/T291821). If I move that logic to the end of the round (and update the local round object) instead then we get an elected message as well. There is the problem though that the quota doesn't align with the new elected winner, which looks suspect. Is this fine? If not, would it be fine if we also added a note that says, "Candidate 'A' elected to fill remaining seats"? The same could also apply where we eliminate remaining hopefuls once we reach the seat limit.

Jun 26 2025, 9:02 PM · Essential-Work, MediaWiki-extensions-SecurePoll, Trust and Safety Product Team
Amdrel changed the status of T397934: Final round is sometimes not shown in STV election results from Open to In Progress.
Jun 26 2025, 6:08 PM · Essential-Work, MediaWiki-extensions-SecurePoll, Trust and Safety Product Team
Amdrel added a comment to T396681: Create cron tasks for archiving aggregates.

Sounds good to me. I split the PR in two:

Jun 26 2025, 5:29 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel changed the status of T397932: Increase precision in HTML report to 10 from Open to In Progress.
Jun 26 2025, 4:24 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.8; 2025-07-01), MediaWiki-extensions-SecurePoll, Trust and Safety Product Team

Jun 25 2025

Amdrel added a comment to T396683: Wikilink: Fix charts bug when filtering by date.

I have a patch open for this: https://github.com/WikipediaLibrary/externallinks/pull/441

Jun 25 2025, 9:06 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel added a comment to T396681: Create cron tasks for archiving aggregates.

@Amdrel https://phabricator.wikimedia.org/p/Amdrel/ I'm looking through
the order of operations for reviewing your PRs and just wanted to make sure
I was reviewing them in the order you intended:

Is this the correct order?

  1. https://github.com/WikipediaLibrary/externallinks/pull/429
  2. https://github.com/WikipediaLibrary/externallinks/pull/431
  3. https://github.com/WikipediaLibrary/externallinks/pull/440
  4. https://github.com/WikipediaLibrary/externallinks/pull/439
Jun 25 2025, 3:18 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Jun 24 2025

Amdrel changed the status of T396683: Wikilink: Fix charts bug when filtering by date from Open to In Progress.
Jun 24 2025, 11:15 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel moved T396683: Wikilink: Fix charts bug when filtering by date from Ready (Maintenance) to In Progress on the Moderator-Tools-Team (Kanban) board.
Jun 24 2025, 11:15 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel moved T396681: Create cron tasks for archiving aggregates from Ready (Maintenance) to Eng review on the Moderator-Tools-Team (Kanban) board.
Jun 24 2025, 11:15 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel changed the status of T396681: Create cron tasks for archiving aggregates from Open to In Progress.
Jun 24 2025, 11:13 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel added a comment to T396681: Create cron tasks for archiving aggregates.

We also need to run the new fill commands as well so the program totals continue to render properly. How far back do we want to go for archiving aggregates? Would aggregates older than a year work?

Jun 24 2025, 9:08 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Jun 16 2025

Amdrel moved T394536: SecurePoll: More intuitive drag-and-drop from Backlog to Actively working on the MediaWiki-extensions-SecurePoll board.
Jun 16 2025, 6:29 PM · Product Safety and Integrity, MediaWiki-extensions-SecurePoll
Amdrel changed the status of T394536: SecurePoll: More intuitive drag-and-drop from Open to In Progress.
Jun 16 2025, 6:29 PM · Product Safety and Integrity, MediaWiki-extensions-SecurePoll
Amdrel added a comment to T291821: SecurePoll: Once a candidate is declared elected, make sure they remain elected [M].

It looks like all of the ballots have the same root cause.

Jun 16 2025, 5:44 PM · Product Safety and Integrity, MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-SecurePoll

Jun 13 2025

Amdrel added a comment to T291821: SecurePoll: Once a candidate is declared elected, make sure they remain elected [M].

After investigating 12_9_4996_1067098093 I believe the new result may actually be more correct. Candidate 9 does appear to have slightly more votes because there is single ballot with multiple candidates chosen 1 1 2 3 4 5 6 7 8 9 0 in the .blt file that includes candidate 9 in it. Candidate 9 has the same amount of single votes as 10 11 and 12 do. The votes from the referenced ballot get added to candidate 9 during round 2. I suspect what may have happened was the previous implementation using floating point numbers was unable to account for the extra low ranked vote. I would have to debug the old version to compare to be sure, but the fact that OpenSTV can reproduce this result with 15 points of precision may make sense if this is the case, though 10 points of precision should have been enough which seems odd to me.

Jun 13 2025, 6:10 PM · Product Safety and Integrity, MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-SecurePoll

Jun 10 2025

Amdrel added a comment to T291821: SecurePoll: Once a candidate is declared elected, make sure they remain elected [M].

Sorry. I have edited my above comments to include links to the after results in a user page.

Jun 10 2025, 8:58 PM · Product Safety and Integrity, MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-SecurePoll

Jun 5 2025

Amdrel added a comment to T291821: SecurePoll: Once a candidate is declared elected, make sure they remain elected [M].

The quota and votes for candidates A and B don't exactly match. I think possibly just because we need to update the precision on the tally page to reflect above changes. @STran will know more.

Also notice how before we had a final round where Candidate A is explicitly elected. We no longer seem to do that and it might look as if they are being elected with ~509 votes when the quota is ~669.

Jun 5 2025, 5:18 PM · Product Safety and Integrity, MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-SecurePoll

Jun 3 2025

Amdrel moved T394772: Bidirectional isolation in drag-and-drop interface from Backlog to Actively working on the MediaWiki-extensions-SecurePoll board.
Jun 3 2025, 9:51 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.5; 2025-06-10), MediaWiki-extensions-SecurePoll, Trust and Safety Product Team
Amdrel moved T394771: Long names cut off in drag-and-drop lozenges from Backlog to Actively working on the MediaWiki-extensions-SecurePoll board.
Jun 3 2025, 9:51 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.8; 2025-07-01), Trust and Safety Product Team, MediaWiki-extensions-SecurePoll
Amdrel changed the status of T394772: Bidirectional isolation in drag-and-drop interface from Open to In Progress.
Jun 3 2025, 9:51 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.5; 2025-06-10), MediaWiki-extensions-SecurePoll, Trust and Safety Product Team
Amdrel changed the status of T394771: Long names cut off in drag-and-drop lozenges from Open to In Progress.
Jun 3 2025, 9:50 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.8; 2025-07-01), Trust and Safety Product Team, MediaWiki-extensions-SecurePoll
Amdrel added a comment to T387701: Allow multiple tallies to be associated with a poll.

I looked into how the pagers work a bit more and it looks like we would have to render a table directly with all tallies instead of using a pager if we move everything to securepoll_properties.

Jun 3 2025, 8:54 PM · Product Safety and Integrity, Data-Persistence (work done), MW-1.45-notes (1.45.0-wmf.9; 2025-07-08), Schema-change, MediaWiki-extensions-SecurePoll
Amdrel added a comment to T387701: Allow multiple tallies to be associated with a poll.

If we're certain that adding another table will cause issues (albeit one that should be small) then I can explore using the properties table.

Jun 3 2025, 8:23 PM · Product Safety and Integrity, Data-Persistence (work done), MW-1.45-notes (1.45.0-wmf.9; 2025-07-08), Schema-change, MediaWiki-extensions-SecurePoll

Jun 2 2025

Amdrel added a comment to T387701: Allow multiple tallies to be associated with a poll.

Have we asked for DBA input on this new table?

Jun 2 2025, 7:10 PM · Product Safety and Integrity, Data-Persistence (work done), MW-1.45-notes (1.45.0-wmf.9; 2025-07-08), Schema-change, MediaWiki-extensions-SecurePoll

May 29 2025

Amdrel moved T394641: Unable to submit drag-and-drop vote when questions shuffled from Backlog to Actively working on the MediaWiki-extensions-SecurePoll board.
May 29 2025, 5:59 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.8; 2025-07-01), Trust and Safety Product Team, MediaWiki-extensions-SecurePoll
Amdrel changed the status of T394641: Unable to submit drag-and-drop vote when questions shuffled from Open to In Progress.
May 29 2025, 5:59 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.8; 2025-07-01), Trust and Safety Product Team, MediaWiki-extensions-SecurePoll

May 28 2025

Amdrel moved T394528: Drag and drop voting does not respect "Limit input to number of seats" option in UI from Backlog to Actively working on the MediaWiki-extensions-SecurePoll board.
May 28 2025, 6:24 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.5; 2025-06-10), Trust and Safety Product Team, MediaWiki-extensions-SecurePoll
Amdrel changed the status of T394528: Drag and drop voting does not respect "Limit input to number of seats" option in UI from Open to In Progress.
May 28 2025, 6:24 PM · Essential-Work, MW-1.45-notes (1.45.0-wmf.5; 2025-06-10), Trust and Safety Product Team, MediaWiki-extensions-SecurePoll

May 27 2025

Amdrel moved T269844: Improve coverage of tests, particularly for views from In Progress to Eng review on the Moderator-Tools-Team (Kanban) board.
May 27 2025, 9:03 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel moved T370982: [SPIKE] Investigate how Wikilink could handle different DB providers [8HRS] from In Progress to Eng review on the Moderator-Tools-Team (Kanban) board.
May 27 2025, 9:03 PM · Moderator-Tools-Team (Kanban), Spike, Wikilink-Tool

May 23 2025

Amdrel added a comment to T370982: [SPIKE] Investigate how Wikilink could handle different DB providers [8HRS].

I spent some time looking into this. I performed the investigation under the assumption that any new databases we would potentially add would be running on the same instance and disk as the current database as for this project everything runs together on the same instance to help lower costs.

May 23 2025, 12:22 AM · Moderator-Tools-Team (Kanban), Spike, Wikilink-Tool

May 21 2025

Amdrel moved T370982: [SPIKE] Investigate how Wikilink could handle different DB providers [8HRS] from Ready (Maintenance) to In Progress on the Moderator-Tools-Team (Kanban) board.
May 21 2025, 11:57 PM · Moderator-Tools-Team (Kanban), Spike, Wikilink-Tool
Amdrel changed the status of T370982: [SPIKE] Investigate how Wikilink could handle different DB providers [8HRS], a subtask of T370892: [EPIC]: Reduce Wikilink breakfix, from Open to In Progress.
May 21 2025, 11:57 PM · Moderator-Tools-Team, Epic, Wikilink-Tool
Amdrel changed the status of T370982: [SPIKE] Investigate how Wikilink could handle different DB providers [8HRS] from Open to In Progress.
May 21 2025, 11:57 PM · Moderator-Tools-Team (Kanban), Spike, Wikilink-Tool

May 7 2025

Amdrel moved T269844: Improve coverage of tests, particularly for views from Ready (Maintenance) to In Progress on the Moderator-Tools-Team (Kanban) board.
May 7 2025, 4:51 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel changed the status of T269844: Improve coverage of tests, particularly for views, a subtask of T392250: Add test coverage to Wikilink, from Open to In Progress.
May 7 2025, 4:50 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel changed the status of T269844: Improve coverage of tests, particularly for views from Open to In Progress.
May 7 2025, 4:50 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel moved T392250: Add test coverage to Wikilink from In Progress to Eng review on the Moderator-Tools-Team (Kanban) board.
May 7 2025, 4:50 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel moved T370980: Export aggregates to static files from Reviewed (waiting for changes) to Eng review on the Moderator-Tools-Team (Kanban) board.
May 7 2025, 4:50 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

May 6 2025

Amdrel moved T392250: Add test coverage to Wikilink from Ready (Maintenance) to In Progress on the Moderator-Tools-Team (Kanban) board.
May 6 2025, 10:52 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel changed the status of T392250: Add test coverage to Wikilink from Open to In Progress.
May 6 2025, 10:52 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Apr 25 2025

Amdrel added a comment to T309416: SecurePoll: Allow re-tallying of STV elections with a pre-eliminated candidate.

As far as implementing tally modifiers in the UI goes, would it make more sense to create a new page for editing these separate from CreatePage? At least in the case of eliminated candidates it wouldn't make sense to include this during creation, though it would make sense if being edited.

Apr 25 2025, 7:18 PM · Product Safety and Integrity, MW-1.45-notes (1.45.0-wmf.10; 2025-07-15), MediaWiki-extensions-SecurePoll
Amdrel changed the status of T309416: SecurePoll: Allow re-tallying of STV elections with a pre-eliminated candidate from Stalled to In Progress.
Apr 25 2025, 12:19 AM · Product Safety and Integrity, MW-1.45-notes (1.45.0-wmf.10; 2025-07-15), MediaWiki-extensions-SecurePoll

Apr 24 2025

Amdrel claimed T309416: SecurePoll: Allow re-tallying of STV elections with a pre-eliminated candidate.
Apr 24 2025, 12:06 AM · Product Safety and Integrity, MW-1.45-notes (1.45.0-wmf.10; 2025-07-15), MediaWiki-extensions-SecurePoll
Amdrel changed the status of T387701: Allow multiple tallies to be associated with a poll from Open to In Progress.
Apr 24 2025, 12:06 AM · Product Safety and Integrity, Data-Persistence (work done), MW-1.45-notes (1.45.0-wmf.9; 2025-07-08), Schema-change, MediaWiki-extensions-SecurePoll

Apr 8 2025

Amdrel added a comment to T387701: Allow multiple tallies to be associated with a poll.

I'm thinking it would make sense to move tallies into their own one to many table (election -> tallies) rather than keeping the results in securepoll_properties. We should be able to migrate all existing tallies into this new table.

Apr 8 2025, 11:12 PM · Product Safety and Integrity, Data-Persistence (work done), MW-1.45-notes (1.45.0-wmf.9; 2025-07-08), Schema-change, MediaWiki-extensions-SecurePoll

Apr 7 2025

Amdrel moved T370896: archive events after each day's aggregates are completed from Ready (Maintenance) to In Progress on the Moderator-Tools-Team (Kanban) board.
Apr 7 2025, 4:01 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Apr 4 2025

Amdrel moved T370980: Export aggregates to static files from In Progress to Eng review on the Moderator-Tools-Team (Kanban) board.
Apr 4 2025, 8:20 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Mar 27 2025

Amdrel added a comment to T370980: Export aggregates to static files.

I implemented the calculation of monthly totals in my patch and that solves the issue of having to pull most of the archives from object storage for the calculation of program-level totals. It doesn't result in much additional database bloat and is performant (~200MB mostly coming from user totals). Filters still work as well.

Mar 27 2025, 9:26 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Mar 19 2025

Amdrel added a comment to T370980: Export aggregates to static files.

My monthly aggregate jobs are complete and I've got some stats on what these archives will look like. To work with the existing filters I have the archives split by organisation_id, collection_id, full_date and on_user_list (if false include all aggregates).

Mar 19 2025, 11:02 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Mar 18 2025

Amdrel added a comment to T370980: Export aggregates to static files.

I'm worried about how this is going to work with the date range filters on pages like /organisations/<pk> and /programs/<pk> if we pulled archive .json files over XHR client-side to be rendered. We need to be able to support any range of months for the chart and totals, so the archives need to be split up to enable that. If we have archives of aggregate data split by month and data from the last 6 years is requested for an organization's collection then that could be over 60 archives that need to be downloaded to generate the graph and calculate the totals below it. I don't know exactly how large the final archives are going to be yet file size wise since I'm still running the monthly aggregate jobs against my local data.

Mar 18 2025, 5:15 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Mar 14 2025

Amdrel moved T370980: Export aggregates to static files from Ready (Maintenance) to In Progress on the Moderator-Tools-Team (Kanban) board.
Mar 14 2025, 4:55 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Mar 12 2025

Amdrel added a comment to T370533: Wikilink: Improve Database performance by introducing additional indices.

verified that the migration completed and loaded up pageproject and user aggregates; we're still having timeouts on both, but we can assume that we just can't make it over the line of request timeouts. Accepting this as an improvement.

Mar 12 2025, 7:18 PM · Moderator-Tools-Team (Kanban), The-Wikipedia-Library, Wikilink-Tool
Amdrel added a comment to T370980: Export aggregates to static files.

The CSV downloads for pages would have to pull from the aggregate archives since link stats per page are included, but for the website view it's grouped by project name instead.

Mar 12 2025, 6:22 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel added a comment to T370980: Export aggregates to static files.

Could we not provide the information via a static page, treating the archive json urls like API responses for xhr?

Mar 12 2025, 6:18 PM · Moderator-Tools-Team (Kanban), Wikilink-Tool
Amdrel added a comment to T370533: Wikilink: Improve Database performance by introducing additional indices.

I've marked the PR as ready to review. I briefly looked at write performance and haven't identified any unused indexes or any other issues with the writes themselves causing slowdowns. We're still bottlenecked by SELECT operations that precede writes to both aggregates and link events.

Mar 12 2025, 1:08 AM · Moderator-Tools-Team (Kanban), The-Wikipedia-Library, Wikilink-Tool
Amdrel claimed T370980: Export aggregates to static files.

When we archive aggregate data and remove it from the tables it won't be viewable from the programs and organisations pages anymore. How far back are we planning to keep data? We could make a required date option for the aggregate archival commands so we have control over that regardless of what retention period we decide on.

Mar 12 2025, 12:47 AM · Moderator-Tools-Team (Kanban), Wikilink-Tool

Mar 11 2025

Amdrel claimed T387701: Allow multiple tallies to be associated with a poll.
Mar 11 2025, 10:35 PM · Product Safety and Integrity, Data-Persistence (work done), MW-1.45-notes (1.45.0-wmf.9; 2025-07-08), Schema-change, MediaWiki-extensions-SecurePoll
Amdrel changed the status of T388522: Make "rejection reason" a required field for vanish requests from Open to In Progress.
Mar 11 2025, 10:09 PM · Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Essential-Work, MediaWiki-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, Account-Vanishing
Amdrel added a comment to T388522: Make "rejection reason" a required field for vanish requests.

I uploaded a patch that makes the reason required only for vanish rejections while retaining the old behavior for renames.

Mar 11 2025, 10:09 PM · Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Essential-Work, MediaWiki-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, Account-Vanishing
Amdrel claimed T388522: Make "rejection reason" a required field for vanish requests.
Mar 11 2025, 6:29 PM · Product Safety and Integrity (Sprint Apfel Strudel (Sep 29 - Oct 17)), MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Essential-Work, MediaWiki-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, Account-Vanishing

Mar 5 2025

Amdrel added a comment to T370533: Wikilink: Improve Database performance by introducing additional indices.

I have a work in progress PR here that adds a couple: https://github.com/WikipediaLibrary/externallinks/pull/417

Mar 5 2025, 2:02 AM · Moderator-Tools-Team (Kanban), The-Wikipedia-Library, Wikilink-Tool

Mar 4 2025

Amdrel added a comment to T380527: AccountVanishRequest locks should always be done on Meta-Wiki.

The patch I just added moves the execution of the automatic vanish to a job which can be configured to execute on Meta-Wiki.

Mar 4 2025, 9:16 PM · MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), Trust and Safety Product Sprint (Sprint Lemon Meringue (March 3 - 21)), MediaWiki-Platform-Team (Radar), Trust and Safety Product Team, MediaWiki-extensions-CentralAuth, Account-Vanishing
Amdrel changed the status of T380527: AccountVanishRequest locks should always be done on Meta-Wiki from Open to In Progress.
Mar 4 2025, 1:48 AM · MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), Trust and Safety Product Sprint (Sprint Lemon Meringue (March 3 - 21)), MediaWiki-Platform-Team (Radar), Trust and Safety Product Team, MediaWiki-extensions-CentralAuth, Account-Vanishing