[go: up one dir, main page]

Page MenuHomePhabricator

Dave
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 16 2024, 8:46 PM (39 w, 1 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Dave Cousineau [ Global Accounts ]

Recent Activity

Feb 16 2024

Dave added a comment to T227157: SVG thumbnailing fails on windows due to symlink call.

I have just encountered this issue. I can see in SvgHandler.php that you are attempting to Fallback because symlink often fails on Windows from a symlink() call to a copy() call, but this does not seem to be working. I think the symlink() call throws an exception in this case (not even sure PHP has exceptions), whereas your code is testing the return value of symlink(). According to the documentation for symlink() it sounds like it returns an error value in cases where the link already exists or the target does not exist. It (I guess) does not return an error value but throws an exception on permission denied. For me, when this happens, I get a 500 error from a normal PC, and the following error from the server:

Feb 16 2024, 8:58 PM · MW-1.39-notes (1.39.0-wmf.10; 2022-05-02), Commons, MediaWiki-File-management, MediaWiki-General