Page MenuHomePhabricator
Feed Advanced Search

Mar 25 2019

Daimona added a comment to T191039: Re-enable filter profiling on every wiki.

FTR, the removal of globals in the AF codebase wasn't still in production. While I knew this, I though I had set them to true in the default config, but I didn't. Deploying the changes above would have disabled profiling everywhere.
I'll schedule it for deployment next week, after the train.

Mar 25 2019, 11:57 AM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Performance-Team (Radar), User-Daimona, AbuseFilter

Mar 24 2019

Daimona added a comment to T191039: Re-enable filter profiling on every wiki.

Awesome, thanks!

Mar 24 2019, 2:43 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Performance-Team (Radar), User-Daimona, AbuseFilter
Daimona updated subscribers of T191039: Re-enable filter profiling on every wiki.

@Raymond could you please move abusefilter-edit-status-profile to abusefilter-edit-status overwriting the old content in the latter? I forgot to ask before, but you already have clearance.

Mar 24 2019, 2:36 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Performance-Team (Radar), User-Daimona, AbuseFilter
Daimona added a comment to T191039: Re-enable filter profiling on every wiki.

Only the 2 config patches are left, and they're scheduled in tomorrow's SWAT.

Mar 24 2019, 2:32 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Performance-Team (Radar), User-Daimona, AbuseFilter
Daimona added a comment to T218527: Enable wgAbuseFilterNotificationsPrivate on commons.wikimedia.org.

@MusikAnimal I'll take care of it. Scheduled in tomorrow's SWAT.

Mar 24 2019, 2:31 PM · AbuseFilter, Wikimedia-Site-requests
Daimona updated Daimona.
Mar 24 2019, 1:27 PM
Daimona added a comment to T212082: Do not block page moves with AbuseFilter on LocalRenameJob page moves.

@1997kB Heh, no problem :) @Legoktm Could you please take a look at https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/AbuseFilter/+/482408/? Thanks!

Mar 24 2019, 1:22 PM · MW-1.34-notes (1.34.0-wmf.23; 2019-09-17), Platform Team Workboards (Clinic Duty Team), User-Daimona, Stewards-and-global-tools, AbuseFilter, MediaWiki-extensions-CentralAuth, GlobalRename
Daimona added a comment to T212082: Do not block page moves with AbuseFilter on LocalRenameJob page moves.

@1997kB: @MarcoAurelio is correct. If what you said is actually true, it'd be very interesting. Could you please try again?

Mar 24 2019, 1:12 PM · MW-1.34-notes (1.34.0-wmf.23; 2019-09-17), Platform Team Workboards (Clinic Duty Team), User-Daimona, Stewards-and-global-tools, AbuseFilter, MediaWiki-extensions-CentralAuth, GlobalRename
Daimona moved T219092: Runtime profiling shouldn't include time taken to parse wikitext from Backlog to Next on the User-Daimona board.
Mar 24 2019, 11:13 AM · MW-1.34-notes (1.34.0-wmf.17; 2019-08-06), User-Daimona, AbuseFilter
Daimona added a project to T219092: Runtime profiling shouldn't include time taken to parse wikitext: User-Daimona.
Mar 24 2019, 11:13 AM · MW-1.34-notes (1.34.0-wmf.17; 2019-08-06), User-Daimona, AbuseFilter
Daimona created T219092: Runtime profiling shouldn't include time taken to parse wikitext.
Mar 24 2019, 11:12 AM · MW-1.34-notes (1.34.0-wmf.17; 2019-08-06), User-Daimona, AbuseFilter
Daimona added a comment to T212830: Fawiki article cannot be edited: "Service Temporarily Unavailable" timeout upon saving at API execution limit (200 seconds).

@Huji Actually, another idea came to mind. You may use new_html and check if there's a span with a cite error (the one you get when the ref identifier is not defined). So to have, for instance,

Mar 24 2019, 9:53 AM · WMF-General-or-Unknown, MediaWiki-Page-editing

Mar 23 2019

Daimona updated the task description for T218906: Short-circuit evaluation fails with multiple comparisons.
Mar 23 2019, 7:35 PM · MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), AbuseFilter
xSavitar awarded T219056: VisualEditor should use its own message for the "Edit" tab a Like token.
Mar 23 2019, 10:59 AM · Uncyclomedia, I18n, VisualEditor
Daimona added a comment to T187153: Special:Abuselog throws when viewing details or examining (BadMethodCallException: Call get getId() on null).

@elukey I didn't read it like that :-) Although, actually, this task deserves some attention, as it's really happening very often. Mine above was just a quick overview of the situation.

Mar 23 2019, 9:38 AM · MW-1.36-notes (1.36.0-wmf.22; 2020-12-15), Patch-For-Review, Platform Engineering, MW-1.36-release, User-Daimona, Regression, Multi-Content-Revisions, User-Addshore, Chinese-Sites, AbuseFilter
Daimona created T219056: VisualEditor should use its own message for the "Edit" tab.
Mar 23 2019, 9:38 AM · Uncyclomedia, I18n, VisualEditor
Daimona added a comment to T187153: Special:Abuselog throws when viewing details or examining (BadMethodCallException: Call get getId() on null).

Well, the maintscript is on gerrit. However, given that it'll touch many rows, I want to include there any maintenance that we need to perform on the abuse_filter_log table. Currently, it's blocked on deciding what to do with T213478 and T34478. If someone could please take a look, it'd be great.

Mar 23 2019, 9:34 AM · MW-1.36-notes (1.36.0-wmf.22; 2020-12-15), Patch-For-Review, Platform Engineering, MW-1.36-release, User-Daimona, Regression, Multi-Content-Revisions, User-Addshore, Chinese-Sites, AbuseFilter
Daimona closed T218996: Special:AbuseFilter table borders disappeared on Beta Cluster as Resolved.
Mar 23 2019, 8:26 AM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter

Mar 22 2019

Daimona moved T219030: PHP Fatal Error: Argument 2 passed to AbuseFilter::executeFilterActions() must be an instance of Title, null given from Untriaged to Older on the Wikimedia-production-error board.
Mar 22 2019, 7:58 PM · MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), AbuseFilter, Wikimedia-production-error
Daimona triaged T219030: PHP Fatal Error: Argument 2 passed to AbuseFilter::executeFilterActions() must be an instance of Title, null given as High priority.
Mar 22 2019, 7:58 PM · MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), AbuseFilter, Wikimedia-production-error
Daimona moved T217970: Some edits aren't recorded as having been saved in AbuseLog (no diff link) from Backlog to Future on the User-Daimona board.
Mar 22 2019, 7:02 PM · TestMe, AbuseFilter
Daimona added a comment to T218992: Throttle groups field descriptions unreadable if too long.

@Raymond Huh, I suspected that... I didn't want to change the key because it's pretty standard, but if you cannot change all messages automatically, of course I will! Unless I can be made sysop on translatewiki for 30 mins and do it manually.

Mar 22 2019, 5:43 PM · Patch-Needs-Improvement, Design, AbuseFilter
Daimona added a comment to T218918: Some interface messages (e.g. sitenotice, others) are loading old revisions of their messages.

FTR, even if mine is a different issue, it has the same solution: purging the local page of the message, even if it doesn't exist, fixed it.

Mar 22 2019, 2:59 PM · User-notice-archive, Platform Team Initiatives (MCR), Multi-Content-Revisions, Platform Team Workboards (Done with CPT), MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Patch-For-Review, Performance-Team, MediaWiki-libs-BagOStuff, MediaWiki-Internationalization, I18n
Daimona claimed T218996: Special:AbuseFilter table borders disappeared on Beta Cluster.
Mar 22 2019, 2:53 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter
Daimona added a comment to T218996: Special:AbuseFilter table borders disappeared on Beta Cluster.

Ah, https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/485516/ together with https://phabricator.wikimedia.org/diffusion/EABF/browse/master/includes/pagers/AbuseFilterPager.php$262. Quick fix coming.

Mar 22 2019, 2:50 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter
Daimona triaged T218996: Special:AbuseFilter table borders disappeared on Beta Cluster as High priority.
Mar 22 2019, 2:49 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter
Daimona created T218996: Special:AbuseFilter table borders disappeared on Beta Cluster.
Mar 22 2019, 2:49 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter
Daimona claimed T218992: Throttle groups field descriptions unreadable if too long.

@Raymond Could you please delete all existing abusefilter-edit-throttle-placeholder messages once the patch above is merged? The message will have a completely different content. Thanks a lot!

Mar 22 2019, 2:20 PM · Patch-Needs-Improvement, Design, AbuseFilter
Daimona added a comment to T218918: Some interface messages (e.g. sitenotice, others) are loading old revisions of their messages.

@daniel Well, while it's true that some JS is altering the message, that JS isn't from a user or wiki script, as the issue still happens in safemode. Maybe VE is replacing the standard message with its own? But yes, it could be a different bug. I guess we'll see after the patch above is deployed.

Mar 22 2019, 2:05 PM · User-notice-archive, Platform Team Initiatives (MCR), Multi-Content-Revisions, Platform Team Workboards (Done with CPT), MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Patch-For-Review, Performance-Team, MediaWiki-libs-BagOStuff, MediaWiki-Internationalization, I18n
Daimona added a comment to T218918: Some interface messages (e.g. sitenotice, others) are loading old revisions of their messages.

I noticed this on itwiki, too, so I'll provide another example for completeness: this week I have changed visualeditor-ca-editsource from "Modifica wikitesto" to "Modifica sorgente". Viewing any page will result in a quick flash of the new message, which is then suddenly replaced by the old one. While trying to debug I went to this page, which uses {{in:visualeditor-ca-editsource}} and showed the old version. Purging the page updated the message to the new one.

But this was on TranslateWiki, not on it.wikipedia.org directly, so if I understand @daniel’s fix correctly that shouldn’t even have been affected? [itwiki:MediaWiki:visualeditor-ca-editsource](https://it.wikipedia.org/wiki/MediaWiki:Visualeditor-ca-editsource) doesn’t exist as a page.

Mar 22 2019, 1:49 PM · User-notice-archive, Platform Team Initiatives (MCR), Multi-Content-Revisions, Platform Team Workboards (Done with CPT), MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Patch-For-Review, Performance-Team, MediaWiki-libs-BagOStuff, MediaWiki-Internationalization, I18n
Daimona added a comment to T212830: Fawiki article cannot be edited: "Service Temporarily Unavailable" timeout upon saving at API execution limit (200 seconds).

@Huji I wasn't totally right (it happens when you think too much right before going to sleep ;-)). I thought it would have been possible to use get_matches, but actually it would stop at the first occurrence. However, the regex is still bad (see https://regex101.com/r/ARn7U4/1) and it ends up with a catastrophic backtracking. Unfortunately I don't have a fast replacement at hand.

Mar 22 2019, 1:44 PM · WMF-General-or-Unknown, MediaWiki-Page-editing
Daimona added a comment to T218992: Throttle groups field descriptions unreadable if too long.

Now that we have a help tooltip, it's way better to move instructions there. I'll send a patch shortly.

Mar 22 2019, 12:51 PM · Patch-Needs-Improvement, Design, AbuseFilter
Daimona added a comment to T218918: Some interface messages (e.g. sitenotice, others) are loading old revisions of their messages.

I noticed this on itwiki, too, so I'll provide another example for completeness: this week I have changed visualeditor-ca-editsource from "Modifica wikitesto" to "Modifica sorgente". Viewing any page will result in a quick flash of the new message, which is then suddenly replaced by the old one. While trying to debug I went to this page, which uses {{in:visualeditor-ca-editsource}} and showed the old version. Purging the page updated the message to the new one.

Mar 22 2019, 12:44 PM · User-notice-archive, Platform Team Initiatives (MCR), Multi-Content-Revisions, Platform Team Workboards (Done with CPT), MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Patch-For-Review, Performance-Team, MediaWiki-libs-BagOStuff, MediaWiki-Internationalization, I18n
Daimona closed T218874: PHP Notice: Undefined index: bits for Special:AbuseFilter/test as Resolved.
Mar 22 2019, 10:34 AM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Wikimedia-production-error, AbuseFilter
Daimona closed T218873: Special:AbuseFilter/test has wrong variable names for upload actions as Resolved.
Mar 22 2019, 10:33 AM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter

Mar 21 2019

Daimona added a comment to T212830: Fawiki article cannot be edited: "Service Temporarily Unavailable" timeout upon saving at API execution limit (200 seconds).

@Huji Dang! I checked on logstash (from mobile phone, which is painful) and heck yes! AbuseFilter 101 is constantly taking ~150 seconds to execute on that page!
You are right, profiling is enabled on every wiki (and I already sent patches to remove profiling globals altogether). However, the avg execution time for that filter doesn't show up as very high due to the amount of edits (that's why there are patches to add the maximum recorded execution time). From a quick look I can see a couple of things to be optimized in that filter, please let me know if you need any help with it.

Mar 21 2019, 10:39 PM · WMF-General-or-Unknown, MediaWiki-Page-editing
Daimona claimed T218074: ip_in_range should accept explicit range notation.
Mar 21 2019, 6:57 PM · mediawiki-libs-IPUtils, User-notice-archive, MW-1.36-notes (1.36.0-wmf.29; 2021-02-02), AbuseFilter (Overhaul-2020), MW-1.35-notes (1.35.0-wmf.25; 2020-03-24)
Daimona claimed T218906: Short-circuit evaluation fails with multiple comparisons.
Mar 21 2019, 3:51 PM · MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), AbuseFilter
Daimona updated the task description for T218906: Short-circuit evaluation fails with multiple comparisons.
Mar 21 2019, 3:25 PM · MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), AbuseFilter
Daimona updated the task description for T214643: Syntax check should be consistent with actual parsing.
Mar 21 2019, 3:05 PM · AbuseFilter
Daimona created T218906: Short-circuit evaluation fails with multiple comparisons.
Mar 21 2019, 3:04 PM · MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), AbuseFilter
Daimona claimed T218874: PHP Notice: Undefined index: bits for Special:AbuseFilter/test.
Mar 21 2019, 1:08 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Wikimedia-production-error, AbuseFilter
Daimona moved T218874: PHP Notice: Undefined index: bits for Special:AbuseFilter/test from Untriaged to Jan2020/1.35-wmf.14 on the Wikimedia-production-error board.
Mar 21 2019, 12:49 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Wikimedia-production-error, AbuseFilter
Daimona updated the task description for T218874: PHP Notice: Undefined index: bits for Special:AbuseFilter/test.
Mar 21 2019, 12:49 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Wikimedia-production-error, AbuseFilter
Daimona created T218874: PHP Notice: Undefined index: bits for Special:AbuseFilter/test.
Mar 21 2019, 12:47 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), Wikimedia-production-error, AbuseFilter
Daimona added a comment to T218873: Special:AbuseFilter/test has wrong variable names for upload actions.

Aye, I was right! The prefix 'ARTICLE' wasn't updated to 'page'. The impact is that, in order to test uploads, users have to use article_* vars instead of page_*. Nothing else is affected and no need to backport as these values aren't saved in the DB.

Mar 21 2019, 12:40 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter
Daimona triaged T218873: Special:AbuseFilter/test has wrong variable names for upload actions as High priority.
Mar 21 2019, 12:28 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter
Daimona claimed T218873: Special:AbuseFilter/test has wrong variable names for upload actions.
Mar 21 2019, 12:27 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter
Daimona created T218873: Special:AbuseFilter/test has wrong variable names for upload actions.
Mar 21 2019, 12:27 PM · MW-1.33-notes (1.33.0-wmf.23; 2019-03-26), AbuseFilter
Daimona closed T218870: Dewiki mostly black, navigation impossible as Invalid.

TerraCodes is right, see for instance T218560.

Mar 21 2019, 12:20 PM
Daimona added a comment to T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers.

@Legoktm I checked all the remaining versions up to 1.2.6 and I can now confirm that we only need 0.1.5 for php-ast. 0.1.2 should be kept for the current version only.

Mar 21 2019, 8:44 AM · phan-taint-check-plugin, Continuous-Integration-Config

Mar 20 2019

Daimona added a comment to T218721: Have CI run seccheck tests.

Ah, now I see. Would it still benefit from phpunit?

Mar 20 2019, 1:47 PM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona added a comment to T216974: Update phan-taint-check-plugin to a newer phan (1.3.2).

So I'm looking at the upgrade to PluginV2. The main change is that *Visitor classes are now instantiated by phan itself, which only wants a "get*ClassName" method instead of a constructor. This mostly means that we cannot pass in an instance of the plugin anymore. Moreover, Visitor and PreVisitor must inherit from different classes, which prevents them from having TaintednessBaseVisitor as common parent (should be fixable by turning TaintednessBaseVisitor into a trait). Plus, the MediaWiki checker runs both the generic visitor and the MW visitor, which again isn't possible in V2 because you can only provide a single class name. I'll probably do some gradual changes before the v2 upgrade.

Mar 20 2019, 11:23 AM · phan-taint-check-plugin
Daimona added a comment to T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers.

We have T174339 to upgrade to phan 0.8.5, which requires a newer version of php-ast than the one we had.

Mar 20 2019, 8:44 AM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona added a comment to T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers.

@Legoktm Right. But anyway at the end of the migration we'll only have 0.1.4 for the current version, and ?[0] for the final version based on 1.2.x.

Mar 20 2019, 7:44 AM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona added a comment to T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers.

@Legoktm Cool, thanks! I think for now you can use whatever hack comes more handy for seccheck, as at the end of the upgrade we should ideally have a single version installed.
A conditional checking the required phan version seems fine.

Mar 20 2019, 7:36 AM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona added a comment to T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers.

@Legoktm I think the current version should work with 0.1.4. But actually, could you please add 0.1.5 as well? We'll need it for the next upgrade. Thanks!

Mar 20 2019, 7:23 AM · phan-taint-check-plugin, Continuous-Integration-Config

Mar 19 2019

Daimona added a comment to T217136: Unhandled internal error from page deletion during Special:MovePage (Fatal MWException).

@Krinkle IMHO this should be handled in core. Failures of deletion during page move should show up to the user like the ones for normal deletions do, instead of throwing.

Mar 19 2019, 11:13 PM · MediaWiki-Special-pages, MediaWiki-Page-deletion, User-Daimona, User-revi, Wikimedia-production-error
Daimona updated subscribers of T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers.

@Legoktm could you please take a look?

Mar 19 2019, 10:33 PM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona claimed T218721: Have CI run seccheck tests.
Mar 19 2019, 10:33 PM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona added a parent task for T216974: Update phan-taint-check-plugin to a newer phan (1.3.2): T207344: Phan-taint-check-plugin not available for PHP > 7.0.
Mar 19 2019, 7:00 PM · phan-taint-check-plugin
Daimona added a subtask for T207344: Phan-taint-check-plugin not available for PHP > 7.0: T216974: Update phan-taint-check-plugin to a newer phan (1.3.2).
Mar 19 2019, 7:00 PM · Release-Engineering-Team-TODO (201907), Security-Team, phan-taint-check-plugin
Daimona added a parent task for T218721: Have CI run seccheck tests: T216974: Update phan-taint-check-plugin to a newer phan (1.3.2).
Mar 19 2019, 7:00 PM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona added a subtask for T216974: Update phan-taint-check-plugin to a newer phan (1.3.2): T218721: Have CI run seccheck tests.
Mar 19 2019, 7:00 PM · phan-taint-check-plugin
Daimona created T218721: Have CI run seccheck tests.
Mar 19 2019, 6:59 PM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona added a subtask for T216974: Update phan-taint-check-plugin to a newer phan (1.3.2): T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers.
Mar 19 2019, 6:58 PM · phan-taint-check-plugin
Daimona added a parent task for T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers: T216974: Update phan-taint-check-plugin to a newer phan (1.3.2).
Mar 19 2019, 6:58 PM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona created T218719: Upgrade php-ast to 1.0.1 in CI composer-package containers.
Mar 19 2019, 6:58 PM · phan-taint-check-plugin, Continuous-Integration-Config
Daimona added a project to T216974: Update phan-taint-check-plugin to a newer phan (1.3.2): Patch-For-Review.
Mar 19 2019, 6:49 PM · phan-taint-check-plugin
Daimona added a comment to T216974: Update phan-taint-check-plugin to a newer phan (1.3.2).

$ become gerritbot
https://gerrit.wikimedia.org/r/#/c/mediawiki/tools/phan/SecurityCheckPlugin/+/497583/

Mar 19 2019, 6:39 PM · phan-taint-check-plugin
Daimona added a comment to T192217: Remove the "check" pipeline and Zuul's user-filter.

Nitpicky comment: the description "Jobs restricted to trusted users. Will vote +2." for the test pipeline should be changed.

Mar 19 2019, 2:06 PM · Release-Engineering-Team (Backlog), Continuous-Integration-Infrastructure
zeljkofilipin awarded T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded a Party Time token.
Mar 19 2019, 11:12 AM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona added a comment to T203651: Optimize phan-taint-check speed.

The switch to phan's PluginV2 as part of T216974 should boost the speed per PluginV2 documentation.

Mar 19 2019, 10:48 AM · phan-taint-check-plugin
Daimona added a comment to T216974: Update phan-taint-check-plugin to a newer phan (1.3.2).

This would indeed be awesome. However, see my comment in T207344#5033198. Basically, phan has many breaking changes even in patch versions, so upgrading to 0.8.13 would already break a lot of stuff. Today I tried to get there, but eventually gave up due to this.
For whoever will want to proceed with this, here are the main obstacles I found while upgrading to 0.8.13. Note that I don't really know how phan works so it could be fault of mine (but I'm still happy to help).

  • Clazz::getPropertyByNameInContext now has an extra required parameter, $is_static. However, I couldn't find a way to determine if the property is static where we call it.
  • This commit causes 2 troubles:
    • It adds the new class UnaddressableTypedElement, which is extended by Variable. This breaks all typehints for TypedElementInterface in TaintednessBaseVisitor. Just removing them (and adding UnaddressableTypedElement to the docblock) seems to work fine, but it should be checked more deeply.
    • Parameter::getContext() is replaced by Parameter::getFileRef(), which however doesn't have the getScope() method used in setTaintedness.
Mar 19 2019, 8:52 AM · phan-taint-check-plugin

Mar 18 2019

Daimona added a comment to T205254: Investigate usage of "text" in AbuseFilter rules on wikidata.org.

Just a random comment: data actually used by existing abuse filters like the rank can be moved from added_lines to new AF variables defined via hooks.

Mar 18 2019, 10:40 PM · User-Addshore, Wikidata.org, [DEPRECATED] wdwb-tech, Wikidata
Daimona added a comment to T207344: Phan-taint-check-plugin not available for PHP > 7.0.

I'm giving up with the upgrade. Phan doesn't comply with semver at all, and thus as I was saying above you'll face plenty of breaking changes even for x.x.y => x.x.z upgrades. At this point, I think seccheck needs a major rewrite in order to work with 1.2.6. If instead, you want to do it gradually, I suggest bumping to 0.9.6 first (which is roughly the same as 0.8.13), then switch to PluginV2 and slowly move on to 1.2.6.

Mar 18 2019, 3:36 PM · Release-Engineering-Team-TODO (201907), Security-Team, phan-taint-check-plugin
Daimona added a comment to T207344: Phan-taint-check-plugin not available for PHP > 7.0.

@sbassett Well, actually I'm facing several breaking changes even with 0.8.0 => 0.8.13. The most important is the addition of UnaddressableTypedElement (which also doesn't have a true context but just a FileRef), which breaks several things in TaintednessBaseVisitor. More specifically, I'm talking about this commit.

Mar 18 2019, 2:39 PM · Release-Engineering-Team-TODO (201907), Security-Team, phan-taint-check-plugin
Daimona added a comment to T207344: Phan-taint-check-plugin not available for PHP > 7.0.

@sbassett Thanks for the reply. I'm trying to understand how phan, AST etc. work to see if I can start bumping the phan version. For now I'm trying to get to phan ^0.8 and ast ^0.1.5, although it won't be fast and I cannot guarantee anything.

Mar 18 2019, 2:17 PM · Release-Engineering-Team-TODO (201907), Security-Team, phan-taint-check-plugin
Daimona added a comment to T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded.

@zeljkofilipin Yes, it does. And I can also confirm that DateTime is the only input type affected by this bug.

Mar 18 2019, 12:19 PM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona added a comment to T207344: Phan-taint-check-plugin not available for PHP > 7.0.

@Bawolff Is there a specific reason to require PHP 7.0.0, or it's just because the plugin is untested with other versions?

Mar 18 2019, 11:15 AM · Release-Engineering-Team-TODO (201907), Security-Team, phan-taint-check-plugin
Daimona renamed T207344: Phan-taint-check-plugin not available for PHP > 7.0 from Phan-taint-check-plugin not available for PHP 7.1.17 to Phan-taint-check-plugin not available for PHP > 7.0.
Mar 18 2019, 11:05 AM · Release-Engineering-Team-TODO (201907), Security-Team, phan-taint-check-plugin
Daimona added a comment to T218322: Uncaught Error: Circular dependency! mw-input-wpExpiry on beta environment (March 14, 2019).

Different message but same cause as the other task, which already has a patch.

Mar 18 2019, 10:20 AM · Anti-Harassment, MediaWiki-User-management, OOUI
Daimona merged T218322: Uncaught Error: Circular dependency! mw-input-wpExpiry on beta environment (March 14, 2019) into T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded.
Mar 18 2019, 10:20 AM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona merged task T218322: Uncaught Error: Circular dependency! mw-input-wpExpiry on beta environment (March 14, 2019) into T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded.
Mar 18 2019, 10:20 AM · Anti-Harassment, MediaWiki-User-management, OOUI
Daimona claimed T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded.
Mar 18 2019, 10:10 AM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona added a comment to T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded.

A quick look points at https://gerrit.wikimedia.org/r/#/c/oojs/ui/+/495296/, since setFlags is a method defined in the FlaggedElement class.

Mar 18 2019, 10:05 AM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Mvolz awarded T218472: gerrit.wikimedia.org is down a Cup of Joe token.
Mar 18 2019, 10:04 AM · User-greg, SRE, Release-Engineering-Team, Gerrit
Daimona added a comment to T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded.

Train blockers are Unbreak Now!.

Mar 18 2019, 9:33 AM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona added a comment to T218527: Enable wgAbuseFilterNotificationsPrivate on commons.wikimedia.org.

Great! Just a note - this setting is not for logging to Special:AbuseLog, but to recent changes. More specifically, to the places defined in $wgAbuseFilterNotifications, as this setting is only used to decide whether to include private filters there. Needless to say, having all filters logged to RC can greatly help patrollers (with or without abusefilter-modify right), who will know what edits are more likely to be bad.

Mar 18 2019, 8:25 AM · AbuseFilter, Wikimedia-Site-requests

Mar 17 2019

Daimona raised the priority of T187153: Special:Abuselog throws when viewing details or examining (BadMethodCallException: Call get getId() on null) from Medium to High.

This is hitting us over and over.

Mar 17 2019, 3:10 PM · MW-1.36-notes (1.36.0-wmf.22; 2020-12-15), Patch-For-Review, Platform Engineering, MW-1.36-release, User-Daimona, Regression, Multi-Content-Revisions, User-Addshore, Chinese-Sites, AbuseFilter
Daimona merged Restricted Task into T187153: Special:Abuselog throws when viewing details or examining (BadMethodCallException: Call get getId() on null).
Mar 17 2019, 3:10 PM · MW-1.36-notes (1.36.0-wmf.22; 2020-12-15), Patch-For-Review, Platform Engineering, MW-1.36-release, User-Daimona, Regression, Multi-Content-Revisions, User-Addshore, Chinese-Sites, AbuseFilter
Daimona renamed T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded from TypeError: this.setFlags is not a function preventing fields from being loaded to TypeError: this.setFlags is not a function preventing datetime fields from being loaded.
Mar 17 2019, 3:03 PM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona triaged T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded as High priority.

Train blocker because this hides form fields, high prio because there's time to fix it before the train starts.

Mar 17 2019, 3:02 PM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona added a parent task for T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded: T206676: 1.33.0-wmf.22 deployment blockers.
Mar 17 2019, 3:02 PM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona added a subtask for T206676: 1.33.0-wmf.22 deployment blockers: T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded.
Mar 17 2019, 3:02 PM · Release-Engineering-Team (Kanban), User-zeljkofilipin, Release, Train Deployments
Daimona created T218513: TypeError: this.setFlags is not a function preventing datetime fields from being loaded.
Mar 17 2019, 3:01 PM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), MediaWiki-HTMLForm, OOUI
Daimona edited P8017 Important and short patches in AbuseFilter currently under review.
Mar 17 2019, 2:56 PM · AbuseFilter
Daimona added a comment to T218472: gerrit.wikimedia.org is down.

I don't think removing these comments is a good idea, as people subscribed to this task recieve the respective email notifications anyway and are left with even more questions than before. If the intention is to deny the claims of @JruwJN, I would consider it the better approach to just say so, if the intention is to keep this hidden for now, it simply is not working. So I don't think these deletions do any good.

Mar 17 2019, 12:36 PM · User-greg, SRE, Release-Engineering-Team, Gerrit
Daimona closed T170249: AbuseFilter is near-impossible to test on uploads as Resolved.

Hoping that this won't create more problem than it solves!

Mar 17 2019, 11:21 AM · MW-1.33-notes (1.33.0-wmf.22; 2019-03-19), Multimedia, AbuseFilter
Daimona closed T170249: AbuseFilter is near-impossible to test on uploads, a subtask of T170574: Actions other than `edit` cannot be retrospectively tested in AbuseFilter, as Resolved.
Mar 17 2019, 11:21 AM · MW-1.30-release-notes (WMF-deploy-2017-09-05 (1.30.0-wmf.17)), AbuseFilter