Thu, Jun 12
PhabricatorFileImageTransform defines getTransformedDimensions(). There is no such method existing for video files as videos have no transforms.
The transform dimensions for image files are defined (and hardcoded) in its child class https://we.phorge.it/source/phorge/browse/master/src/applications/files/transform/PhabricatorFileThumbnailTransform.php$73-76. There is no way to reuse them anyway - 220px feels small.
Tue, Jun 10
Tue, May 20
May 6 2025
Resigning as this developed into a larger patch requiring testing; shouldn't be listed as "accepted" as that referred to a revision long ago
add a potential performance TODO in legacy code: T16061: PhabricatorEnv isSelfURI(): add small cache of these self-URIs
Avoid $array[$key]=1 and use $array[$key]=$key as suggested
May 4 2025
drop newline
add some inline documentation about $array[$v] = 1
May 3 2025
I need to sleep
transaction.search: handle unmanaged exception when objectType is not supported
add more edge cases in unit tests
Apr 25 2025
Apr 23 2025
P.S. I wonder... what happens if we expose the width/height here. But probably just touching that would be enough. Still, patch welcome 馃憤
Thanks. Yes. I can reproduce. Relevant documentation:
Apr 22 2025
Thanks. I also encourage in not following the mentioned implementation, and not only because they have problems with deleted files (interesting) but also because that solution is verticalized on Wikimedia Commons, and nowadays a "modern" embedder system should probably just use the OEmbed protocol that is quite flexible and would support out of the box an incredible amount of websites, potentially including Wikimedia Commons, with relatively few amount of code, than supporting every single website in the universe.
Apr 21 2025
Apr 11 2025
That's true of all projects - Remarkup here for instance.
{#js-draw-lib} does work.
@pppery I don't know if you wanna step in, since the change was introduced by you.
Mar 19 2025
(M is short for Mockup probably)
On this server, we changed the config to /^(Q|V|M)\d$/ because we don't have P1 tickets.
I'm also not sure what M is short for.
The V123 syntax is disabled by remarkup.ignored-object-names config by default; The default is /^(Q|V|M|P)\d$/ (basically anything starting with Q, V, M, or P and only having one digit), for "Q1" (biz-talk for April), "V1" (for versions), "M1" (for ?????) and "P1" (Jira for "important bug").
Mar 18 2025
Mar 14 2025
Feb 16 2025
git rebase master
./bin/celerity map as this touches a JS file
Feb 7 2025
I do not recommend, because https://phabricator.wikimedia.org/T293139 - Phorge displays whatever it gets, especially if the video got deleted in the meantime. Same behavior for Youtube.