Page MenuHomePhabricator

Calebgcooper (Caleb)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Feb 23 2020, 12:28 AM (216 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Calebgcooper [ Global Accounts ]

Recent Activity

May 2 2023

Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

correct the solution which had previously worked no longer worked after updating to the latest stack, I found a workaround for this by changing the config.

May 2 2023, 3:18 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime

Mar 23 2023

Calebgcooper created T332874: DrawIOEditor with PHP 8.1 - TypeError: Unsupported operand types: string - string .
Mar 23 2023, 11:51 AM · PHP 8.1 support, MediaWiki-extensions-DrawioEditor

Feb 25 2023

Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

Finally got this working with ForeignDBViaLBRepo, will stick my config here incase any is searching and hits this..

Feb 25 2023, 10:58 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime
Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

Did some additional debug, if I used the simplest form of commons:

$commonsUrl = "https://mediapool.devops.supportlabs.dell";              
$commonsName = 'mediapool';
Feb 25 2023, 8:08 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime

Feb 23 2023

Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

Didn't have much time to test this today but when I set up the configuration to use the API instead I get a blank thumbnail. but the video plays (btw updated to 1.39.2)

image.png (217×387 px, 2 KB)

Feb 23 2023, 10:44 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime

Feb 22 2023

Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

On our own commons images and vidoes work correctly, scaling thumbnailing everything.
Also if a video is uploaded to the test wiki everything works correct scaling thumbnailing etc...

Feb 22 2023, 8:55 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime
Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

I certainly see your point there, but I keep paring the config back and really can't find an issue.

Feb 22 2023, 5:56 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime
Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

@Reedy when you attempted to reproduce this issue did you set up a separate commons wiki?
I have no issue when using instant commons.

Feb 22 2023, 3:57 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime

Feb 20 2023

Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

@Reedy would you be able to share your local settings from your dev box? If so I'll try and figure out what I am doing differently to expose this.

Feb 20 2023, 10:24 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime
Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

EDIT: Corrected config and reproduced again and provided debug log. Confirmed only videos on commons wiki affected.

Feb 20 2023, 2:31 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime
Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

This looks very similar to:
https://phabricator.wikimedia.org/T272328

Feb 20 2023, 1:41 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime
Calebgcooper added a comment to T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.

I have an internal alpine docker image built for mediawiki.
This issue only appears in our build after updating php to 8.1.
If I go back to php 7.4 the issue disappears.
$wgUploadDirectory is /wiki-shared/stagingwiki8/storage/images/

Feb 20 2023, 12:31 PM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime
Calebgcooper created T330049: MimeAnalyzer throws `ValueError: Path cannot be empty` on PHP 8.1.
Feb 20 2023, 7:40 AM · MW-1.39-notes, MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Performance-Team, PHP 8.1 support, TimedMediaHandler, MediaWiki-libs-Mime

Feb 12 2023

Calebgcooper added a comment to T328977: PHP 8.1: strtolower(): Argument #1 ($string) must be of type string, array given.

thanks for help, I see where I went astray now..

Feb 12 2023, 12:53 PM · PHP 8.1 support, Math

Feb 11 2023

Calebgcooper added a comment to T328977: PHP 8.1: strtolower(): Argument #1 ($string) must be of type string, array given.

The minimum config I needed to reproduce this issue was:

Feb 11 2023, 10:32 PM · PHP 8.1 support, Math
Calebgcooper added a comment to T328977: PHP 8.1: strtolower(): Argument #1 ($string) must be of type string, array given.

Not in front of PC to test currently. But looking out our private gitlab I see this config:

Feb 11 2023, 2:11 PM · PHP 8.1 support, Math
Calebgcooper added a comment to T328977: PHP 8.1: strtolower(): Argument #1 ($string) must be of type string, array given.
Feb 11 2023, 2:10 PM · PHP 8.1 support, Math
Calebgcooper added a comment to T328977: PHP 8.1: strtolower(): Argument #1 ($string) must be of type string, array given.

Thanks for picking this up I’ll attempt to reproduce with a minimal LocalSettings config and post everything here.

Feb 11 2023, 12:26 PM · PHP 8.1 support, Math

Feb 6 2023

Calebgcooper updated the task description for T328977: PHP 8.1: strtolower(): Argument #1 ($string) must be of type string, array given.
Feb 6 2023, 10:49 PM · PHP 8.1 support, Math
Calebgcooper created T328977: PHP 8.1: strtolower(): Argument #1 ($string) must be of type string, array given.
Feb 6 2023, 10:47 PM · PHP 8.1 support, Math

Feb 4 2023

Calebgcooper created T328852: [Whosonline] missing column name in sql statement of update script.
Feb 4 2023, 10:08 PM · MediaWiki-extensions-WhosOnline

Apr 15 2022

Calebgcooper created T306239: Add parameter to MobileFrontend to optionally include jquery.makeCollapsible.js.
Apr 15 2022, 8:49 AM · MobileFrontend

Nov 29 2021

Calebgcooper updated the task description for T296632: VoteNY exception with Mediawiki version 1.38 (Using removed Parser::getUser).
Nov 29 2021, 2:05 PM · Social-Tools, VoteNY
Calebgcooper updated the task description for T296632: VoteNY exception with Mediawiki version 1.38 (Using removed Parser::getUser).
Nov 29 2021, 2:05 PM · Social-Tools, VoteNY
Calebgcooper created T296632: VoteNY exception with Mediawiki version 1.38 (Using removed Parser::getUser).
Nov 29 2021, 2:01 PM · Social-Tools, VoteNY

Jan 27 2021

Calebgcooper added a comment to T273012: Category Tree no longer works in sidebar after upgrading mediawiki to 1.35.

Actually yes, pity I didn't search first.. we can close as a duplicate.. should I just close it?

Jan 27 2021, 7:27 PM · MediaWiki-extensions-CategoryTree
Calebgcooper updated the task description for T273012: Category Tree no longer works in sidebar after upgrading mediawiki to 1.35.
Jan 27 2021, 1:46 AM · MediaWiki-extensions-CategoryTree

Jan 26 2021

Calebgcooper created T273012: Category Tree no longer works in sidebar after upgrading mediawiki to 1.35.
Jan 26 2021, 9:55 PM · MediaWiki-extensions-CategoryTree

Sep 1 2020

Calebgcooper added a comment to T261231: SyncGroups Maintenance Script does not utilize pre search modifiers .

Thanks @Osnard, I can confirm that patch resolves the issue we experienced, much appreciated!

Sep 1 2020, 8:46 AM · Patch-For-Review, MediaWiki-extensions-LDAPGroups

Aug 26 2020

Calebgcooper added a comment to T261231: SyncGroups Maintenance Script does not utilize pre search modifiers .

Thanks for taking a look. In case it helps in root causing this, it was these comments which gave me the clue to look at groupsync:
https://www.mediawiki.org/wiki/Topic:Vn9jblaqr69fim14

Aug 26 2020, 4:45 PM · Patch-For-Review, MediaWiki-extensions-LDAPGroups

Aug 25 2020

Calebgcooper updated the task description for T261231: SyncGroups Maintenance Script does not utilize pre search modifiers .
Aug 25 2020, 5:44 PM · Patch-For-Review, MediaWiki-extensions-LDAPGroups
Calebgcooper updated the task description for T261231: SyncGroups Maintenance Script does not utilize pre search modifiers .
Aug 25 2020, 5:28 PM · Patch-For-Review, MediaWiki-extensions-LDAPGroups
Calebgcooper created T261231: SyncGroups Maintenance Script does not utilize pre search modifiers .
Aug 25 2020, 5:27 PM · Patch-For-Review, MediaWiki-extensions-LDAPGroups

Mar 14 2020

Calebgcooper updated the task description for T247684: Visual Editor hangs when saving pages with Labeled Sections when Semantic MediaWiki Extension is enabled.
Mar 14 2020, 11:02 PM · VisualEditor
Calebgcooper created T247684: Visual Editor hangs when saving pages with Labeled Sections when Semantic MediaWiki Extension is enabled.
Mar 14 2020, 10:35 PM · VisualEditor

Feb 23 2020

Calebgcooper created T245935: Uncaught UnexpectedValueException: callback 'SpecialHtml2Wiki::checkEnvironment' is not callable in /var/lib/mediawiki/includes/registration/ExtensionRegistry.php:536.
Feb 23 2020, 1:21 AM · MediaWiki-extensions-Html2Wiki