dbarratt (David Barratt)
Software Engineer, Anti-Harassment Tools

Projects (8)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
May 30 2017, 9:17 PM (54 w, 6 d)
Availability
Available
IRC Nick
davidwbarratt
LDAP User
Dbarratt
MediaWiki User
DBarratt (WMF)

Recent Activity

Yesterday

dbarratt moved T197143: Update Special:BlockList with partial block info from Ready to In progress on the Anti-Harassment (AHT Sprint 23) board.
Mon, Jun 18, 8:36 PM · Anti-Harassment (AHT Sprint 23)
dbarratt claimed T197143: Update Special:BlockList with partial block info.
Mon, Jun 18, 8:36 PM · Anti-Harassment (AHT Sprint 23)
dbarratt moved T197144: Create Schema for Partial Blocks from In progress to Review on the Anti-Harassment (AHT Sprint 23) board.
Mon, Jun 18, 8:03 PM · Patch-For-Review, Anti-Harassment (AHT Sprint 23)
dbarratt added a watcher for Wikimedia-Takedown-Tools: dbarratt.
Mon, Jun 18, 4:07 PM
dbarratt added a comment to T197220: Update mediawiki-docker automatic.

Is there some sort of feed / notification of new releases other than the email list?

Mon, Jun 18, 2:18 PM · MediaWiki-Docker, MediaWiki-Releasing (Workflow Improvements)
dbarratt added a comment to T2674: Allow users to be blocked from editing a specific article or all articles inside a namespace.

@TBolliger & @alexhollender, doh! apparently it's Sitewide not Site-wide

Mon, Jun 18, 2:13 PM · TechCom, MediaWiki-User-management, Anti-Harassment, Community-Wishlist-Survey-2015, MediaWiki-extension-requests

Sat, Jun 16

dbarratt closed T181570: Cannot specify deleted/suppressed pages in pages involved field as Resolved.
Sat, Jun 16, 4:30 AM · Anti-Harassment (AHT Sprint 23), Wikimedia-Takedown-Tools
dbarratt committed rWTDT2257f9a4210d: T181570 Allow referencing pages that are deleted outside of the main namespace (authored by dbarratt).
T181570 Allow referencing pages that are deleted outside of the main namespace
Sat, Jun 16, 4:18 AM
dbarratt committed rWTDTd2dfadb28483: Fix README (authored by dbarratt).
Fix README
Sat, Jun 16, 4:11 AM
dbarratt moved T181570: Cannot specify deleted/suppressed pages in pages involved field from Review to In progress on the Anti-Harassment (AHT Sprint 23) board.
Sat, Jun 16, 4:06 AM · Anti-Harassment (AHT Sprint 23), Wikimedia-Takedown-Tools
dbarratt closed T190356: Date picker always picks date in current week as Resolved.
Sat, Jun 16, 4:06 AM · Anti-Harassment (AHT Sprint 23), Wikimedia-Takedown-Tools
dbarratt committed rWTDT6d3d25649736: Add Deployment Instructions (authored by dbarratt).
Add Deployment Instructions
Sat, Jun 16, 4:04 AM

Fri, Jun 15

dbarratt committed rWTDTb608129979ee: T181570 Update filter option (authored by dbarratt).
T181570 Update filter option
Fri, Jun 15, 10:59 PM
dbarratt committed rWTDT56fcc4164660: T181570 Upgrade React Select and MediaWiki Title (authored by dbarratt).
T181570 Upgrade React Select and MediaWiki Title
Fri, Jun 15, 10:40 PM
dbarratt claimed T197144: Create Schema for Partial Blocks.

@TBolliger Should I assume there will be a state where a block is not a site-wide nor a partial block? or is that outside of the scope of the MVP?

Fri, Jun 15, 9:34 PM · Patch-For-Review, Anti-Harassment (AHT Sprint 23)
dbarratt moved T197144: Create Schema for Partial Blocks from Ready to In progress on the Anti-Harassment (AHT Sprint 23) board.
Fri, Jun 15, 9:33 PM · Patch-For-Review, Anti-Harassment (AHT Sprint 23)
dbarratt committed rWTDT0fa41c922177: Allow adding pages that do not exist (authored by dbarratt).
Allow adding pages that do not exist
Fri, Jun 15, 9:13 PM
dbarratt moved T181570: Cannot specify deleted/suppressed pages in pages involved field from In progress to Review on the Anti-Harassment (AHT Sprint 23) board.

https://github.com/wikimedia/takedown-tools/pull/9

Fri, Jun 15, 9:12 PM · Anti-Harassment (AHT Sprint 23), Wikimedia-Takedown-Tools
dbarratt committed rWTDTb2255c5ce6f2: Don't remove users when wiki is changed (authored by dbarratt).
Don't remove users when wiki is changed
Fri, Jun 15, 7:59 PM
dbarratt committed rWTDT79591ec8a7a9: Update eslint & Select filter (authored by dbarratt).
Update eslint & Select filter
Fri, Jun 15, 3:14 PM
dbarratt assigned T184470: Rollback and clean up code from T178842 to dmaza.
Fri, Jun 15, 1:32 PM · MW-1.31-release-notes (WMF-deploy-2018-01-16 (1.31.0-wmf.17)), Patch-For-Review, Anti-Harassment (AHT Sprint 12)
dbarratt removed a project from T184318: Allow direct emails on home wikis regardless of log entries: Security.
Fri, Jun 15, 1:29 PM · Anti-Harassment (AHT Sprint 12)

Thu, Jun 14

dbarratt added a comment to T197148: Timeline: Generate wikitext for on-wiki discussions.

@TBolliger Can the edit box on a wiki be auto-populated? If so, perhaps we could just link them to a new section on a page with the content prefilled for them? If not, maybe this is a feature MediaWiki should have. :)

Thu, Jun 14, 7:24 PM · Anti-Harassment, InteractionTimeline
dbarratt edited projects for T194585: Expose whether a user is blocked from editing a specific page via the API, added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Thu, Jun 14, 4:32 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt added a comment to T197119: Update Visual Editor block notice to be page specific.

I've merged this into T197117 and added a task in the description to ensure that VisualEditor works properly.

Thu, Jun 14, 4:32 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt merged T197119: Update Visual Editor block notice to be page specific into T197117: Enforce Partial Blocks from Database and Update Block Notices.
Thu, Jun 14, 4:31 PM · Anti-Harassment
dbarratt merged task T197119: Update Visual Editor block notice to be page specific into T197117: Enforce Partial Blocks from Database and Update Block Notices.
Thu, Jun 14, 4:31 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt removed a subtask for T197114: Update PHP APIs to set Partial Blocks: T197119: Update Visual Editor block notice to be page specific.
Thu, Jun 14, 4:31 PM · Anti-Harassment
dbarratt removed a parent task for T197119: Update Visual Editor block notice to be page specific: T197114: Update PHP APIs to set Partial Blocks.
Thu, Jun 14, 4:31 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt updated the task description for T197117: Enforce Partial Blocks from Database and Update Block Notices.
Thu, Jun 14, 4:30 PM · Anti-Harassment
dbarratt added a comment to T197119: Update Visual Editor block notice to be page specific.

Here's an example of the query the visual editor uses when you start editing:
https://en.wikipedia.beta.wmflabs.org/w/api.php?action=visualeditor&format=json&paction=metadata&page=San%20Francisco

Thu, Jun 14, 4:24 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt added a comment to T197148: Timeline: Generate wikitext for on-wiki discussions.

I like Idea #2, but perhaps it should expand into a taller version of Idea #1 (rather than a modal in the middle of the page, it would be "anchored" to the button you pressed).

Thu, Jun 14, 3:53 AM · Anti-Harassment, InteractionTimeline
dbarratt closed T190361: Tool referring to test2wiki for links on submission screen as Resolved.

@dbarratt Can you please check the APP_ENV value on the production server? The code looks right and this shouldn't happen. I'd do it myself but I don't have access still :(

Thu, Jun 14, 12:54 AM · Anti-Harassment (AHT Sprint 23), Wikimedia-Takedown-Tools
dbarratt committed rWTDT7866c48ace1a: Fix nginx config (authored by dbarratt).
Fix nginx config
Thu, Jun 14, 12:53 AM
dbarratt committed rWTDT29723dc26663: Remove dotenv (authored by dbarratt).
Remove dotenv
Thu, Jun 14, 12:17 AM

Wed, Jun 13

dbarratt added a comment to T197119: Update Visual Editor block notice to be page specific.

Ah, yes. The content doesn't come from the API, and it's not normally called a block notice, so I didn't realise you were talking about that. Sorry for the confusion! (You know, I don't think it actually has a name itself. It's kind of an edit notice, but not really. How confusing...)

The content of that messages comes from MediaWiki:Blockedtext, or whatever value the local wikis have overridden it to be. Further overriding local overrides is generally not recommended. If you're aiming to get that updated, then you'll need to reach out to communities so that they can change it.

Wed, Jun 13, 11:59 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt committed rWTDTb8c24b44c732: Update the trusted proxy (authored by dbarratt).
Update the trusted proxy
Wed, Jun 13, 11:47 PM
dbarratt added a comment to T197119: Update Visual Editor block notice to be page specific.

By design the API—and by extension the visual editor—won't let you save an edit if you're blocked; if the user tries to do so, then the API returns an error, and the visual editor passes on to the user the value of the key info from the response, which in the case of a block is "You have been blocked from editing". If the API gives a different or more specific error message, visual editor will use that instead.

So, from what I can see right now, any changes in the API would be sufficient, and there is nothing to change in the visual editor. Is there something else you had in mind?

Wed, Jun 13, 11:37 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt committed rWTDTb848aef533f8: Set the default APP_ENV (authored by dbarratt).
Set the default APP_ENV
Wed, Jun 13, 10:09 PM
dbarratt committed rWTDT0d559ae21fed: Remove the volume (authored by dbarratt).
Remove the volume
Wed, Jun 13, 9:55 PM
dbarratt committed rWTDT849bb6ad24d4: More specific docker versions (authored by dbarratt).
More specific docker versions
Wed, Jun 13, 9:04 PM
dbarratt committed rWTDTdd44446b472a: Update prod configuration (authored by dbarratt).
Update prod configuration
Wed, Jun 13, 9:01 PM
dbarratt committed rWTDTd07e4e59d8e6: Fix network name (authored by dbarratt).
Fix network name
Wed, Jun 13, 7:24 PM
dbarratt committed rWTDTdccae02967e0: Update production configuration (authored by dbarratt).
Update production configuration
Wed, Jun 13, 7:24 PM
dbarratt edited projects for T196578: MVP for partial blocks (block a user from pages only), added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Wed, Jun 13, 6:13 PM · Anti-Harassment
dbarratt edited projects for T197108: Update block logs with partial block details, added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Wed, Jun 13, 6:12 PM · Anti-Harassment
dbarratt edited projects for T197109: Update Special:Block to set Partial Blocks, added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Wed, Jun 13, 6:12 PM · Anti-Harassment
dbarratt edited projects for T197111: Update API:Block to set Partial Blocks, added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Wed, Jun 13, 6:11 PM · Anti-Harassment
dbarratt edited projects for T197114: Update PHP APIs to set Partial Blocks, added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Wed, Jun 13, 6:11 PM · Anti-Harassment
dbarratt edited projects for T197117: Enforce Partial Blocks from Database and Update Block Notices, added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Wed, Jun 13, 6:11 PM · Anti-Harassment
dbarratt edited projects for T197141: Update Block APIs to list partial blocks, added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Wed, Jun 13, 6:10 PM · Anti-Harassment
dbarratt edited projects for T197143: Update Special:BlockList with partial block info, added: Anti-Harassment; removed Anti-Harassment (AHT Sprint 23).
Wed, Jun 13, 6:10 PM · Anti-Harassment (AHT Sprint 23)
dbarratt edited projects for T194585: Expose whether a user is blocked from editing a specific page via the API, added: Anti-Harassment (AHT Sprint 23); removed Anti-Harassment.
Wed, Jun 13, 6:09 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt removed a parent task for T193449: Draft a proposal for granular blocks table schema(s), submit for DBA review: T190350: Epic: ⚡️ Partial blocks.
Wed, Jun 13, 4:15 PM · Anti-Harassment (AHT Sprint 23), DBA, MediaWiki-User-management
dbarratt removed a subtask for T190350: Epic: ⚡️ Partial blocks: T193449: Draft a proposal for granular blocks table schema(s), submit for DBA review.
Wed, Jun 13, 4:15 PM · MediaWiki-User-management, Anti-Harassment
dbarratt added a parent task for T197144: Create Schema for Partial Blocks: T197141: Update Block APIs to list partial blocks.
Wed, Jun 13, 4:14 PM · Patch-For-Review, Anti-Harassment (AHT Sprint 23)
dbarratt added a subtask for T197141: Update Block APIs to list partial blocks: T197144: Create Schema for Partial Blocks.
Wed, Jun 13, 4:14 PM · Anti-Harassment
dbarratt added a subtask for T197144: Create Schema for Partial Blocks: T193449: Draft a proposal for granular blocks table schema(s), submit for DBA review.
Wed, Jun 13, 4:14 PM · Patch-For-Review, Anti-Harassment (AHT Sprint 23)
dbarratt added a parent task for T193449: Draft a proposal for granular blocks table schema(s), submit for DBA review: T197144: Create Schema for Partial Blocks.
Wed, Jun 13, 4:14 PM · Anti-Harassment (AHT Sprint 23), DBA, MediaWiki-User-management
dbarratt triaged T197144: Create Schema for Partial Blocks as Normal priority.
Wed, Jun 13, 4:14 PM · Patch-For-Review, Anti-Harassment (AHT Sprint 23)
dbarratt triaged T197143: Update Special:BlockList with partial block info as Normal priority.
Wed, Jun 13, 4:10 PM · Anti-Harassment (AHT Sprint 23)
dbarratt updated the task description for T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 4:08 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt triaged T197141: Update Block APIs to list partial blocks as Normal priority.
Wed, Jun 13, 4:04 PM · Anti-Harassment
dbarratt added a subtask for T197135: Update iOS block notices to be page specific: T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 3:41 PM · Anti-Harassment, Wikipedia-iOS-App-Backlog
dbarratt added a parent task for T194585: Expose whether a user is blocked from editing a specific page via the API: T197135: Update iOS block notices to be page specific.
Wed, Jun 13, 3:41 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt created T197135: Update iOS block notices to be page specific.
Wed, Jun 13, 3:41 PM · Anti-Harassment, Wikipedia-iOS-App-Backlog
dbarratt added a parent task for T194585: Expose whether a user is blocked from editing a specific page via the API: T197131: Update Android block notices to be page specific.
Wed, Jun 13, 3:39 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt added a subtask for T197131: Update Android block notices to be page specific: T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 3:39 PM · Anti-Harassment, Wikipedia-Android-App-Backlog
dbarratt created T197131: Update Android block notices to be page specific.
Wed, Jun 13, 3:39 PM · Anti-Harassment, Wikipedia-Android-App-Backlog
dbarratt renamed T197119: Update Visual Editor block notice to be page specific from Fix Visual Editor block notice to be page specific to Update Visual Editor block notice to be page specific.
Wed, Jun 13, 3:34 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt renamed T197122: Update Mobile web block notices to be page specific from Fix Mobile web block notices to be page specific to Update Mobile web block notices to be page specific.
Wed, Jun 13, 3:34 PM · Readers-Web-Backlog (Tracking), Anti-Harassment, Editing-team, MinervaNeue, MobileFrontend
dbarratt added a parent task for T194585: Expose whether a user is blocked from editing a specific page via the API: T197122: Update Mobile web block notices to be page specific.
Wed, Jun 13, 3:09 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt added a subtask for T197122: Update Mobile web block notices to be page specific: T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 3:09 PM · Readers-Web-Backlog (Tracking), Anti-Harassment, Editing-team, MinervaNeue, MobileFrontend
dbarratt created T197122: Update Mobile web block notices to be page specific.
Wed, Jun 13, 3:09 PM · Readers-Web-Backlog (Tracking), Anti-Harassment, Editing-team, MinervaNeue, MobileFrontend
dbarratt added a subtask for T197114: Update PHP APIs to set Partial Blocks: T197119: Update Visual Editor block notice to be page specific.
Wed, Jun 13, 2:31 PM · Anti-Harassment
dbarratt added a parent task for T197119: Update Visual Editor block notice to be page specific: T197114: Update PHP APIs to set Partial Blocks.
Wed, Jun 13, 2:31 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt added a parent task for T194585: Expose whether a user is blocked from editing a specific page via the API: T197119: Update Visual Editor block notice to be page specific.
Wed, Jun 13, 2:30 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt added a subtask for T197119: Update Visual Editor block notice to be page specific: T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 2:30 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt updated the task description for T197119: Update Visual Editor block notice to be page specific.
Wed, Jun 13, 2:30 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt created T197119: Update Visual Editor block notice to be page specific.
Wed, Jun 13, 2:29 PM · Editing-team, Anti-Harassment, VisualEditor
dbarratt updated the task description for T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 2:21 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt removed a subtask for T190350: Epic: ⚡️ Partial blocks: T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 2:13 PM · MediaWiki-User-management, Anti-Harassment
dbarratt removed parent tasks for T194585: Expose whether a user is blocked from editing a specific page via the API: T194586: UserIsBlockedFrom is ignored on mobile until the user attempts to publish, T190350: Epic: ⚡️ Partial blocks.
Wed, Jun 13, 2:13 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt merged task T194586: UserIsBlockedFrom is ignored on mobile until the user attempts to publish into T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 2:13 PM · Readers-Web-Backlog (Tracking), Anti-Harassment, MinervaNeue, MobileFrontend
dbarratt merged T194586: UserIsBlockedFrom is ignored on mobile until the user attempts to publish into T194585: Expose whether a user is blocked from editing a specific page via the API.
Wed, Jun 13, 2:13 PM · Anti-Harassment, MediaWiki-User-management, MediaWiki-API
dbarratt triaged T197117: Enforce Partial Blocks from Database and Update Block Notices as Normal priority.
Wed, Jun 13, 2:09 PM · Anti-Harassment
dbarratt added a subtask for T197111: Update API:Block to set Partial Blocks: T197114: Update PHP APIs to set Partial Blocks.
Wed, Jun 13, 1:46 PM · Anti-Harassment
dbarratt added a parent task for T197114: Update PHP APIs to set Partial Blocks: T197111: Update API:Block to set Partial Blocks.
Wed, Jun 13, 1:46 PM · Anti-Harassment
dbarratt triaged T197114: Update PHP APIs to set Partial Blocks as Normal priority.
Wed, Jun 13, 1:46 PM · Anti-Harassment
dbarratt renamed T197111: Update API:Block to set Partial Blocks from Update API:Block to allow Partial Blocks to Update API:Block to set Partial Blocks.
Wed, Jun 13, 1:44 PM · Anti-Harassment
dbarratt triaged T197111: Update API:Block to set Partial Blocks as Normal priority.
Wed, Jun 13, 1:44 PM · Anti-Harassment
dbarratt added a comment to T197109: Update Special:Block to set Partial Blocks.

@TBolliger Can we drop this as a requirement?

up to 10 pages

Wed, Jun 13, 1:38 PM · Anti-Harassment
dbarratt triaged T197109: Update Special:Block to set Partial Blocks as Normal priority.
Wed, Jun 13, 1:37 PM · Anti-Harassment
dbarratt triaged T197108: Update block logs with partial block details as Normal priority.
Wed, Jun 13, 1:32 PM · Anti-Harassment

Tue, Jun 12

dbarratt removed a project from T196950: Pages do not have stable identifiers: MediaWiki-Platform-Team.
Tue, Jun 12, 3:04 PM · MediaWiki-Database, MediaWiki-Page-deletion
dbarratt added a project to T196950: Pages do not have stable identifiers: MediaWiki-Platform-Team.

Pinging MediaWiki-Platform-Team :)

Tue, Jun 12, 3:03 PM · MediaWiki-Database, MediaWiki-Page-deletion
dbarratt updated subscribers of T196950: Pages do not have stable identifiers.
Tue, Jun 12, 3:02 PM · MediaWiki-Database, MediaWiki-Page-deletion
dbarratt added a project to T196950: Pages do not have stable identifiers: MediaWiki-Database.
Tue, Jun 12, 3:01 PM · MediaWiki-Database, MediaWiki-Page-deletion

Mon, Jun 11

dbarratt added a comment to T181570: Cannot specify deleted/suppressed pages in pages involved field.

Based on what I learned in T196950, we'll store both the pageid and the current title. If the page has already been deleted, we'll allow the title to specified by its self (i.e. without a pageid).

Mon, Jun 11, 10:57 PM · Anti-Harassment (AHT Sprint 23), Wikimedia-Takedown-Tools
dbarratt removed a project from T196950: Pages do not have stable identifiers: Anti-Harassment.
Mon, Jun 11, 8:43 PM · MediaWiki-Database, MediaWiki-Page-deletion