#wordpress 2022-11-08

2022-11-08 UTC
jacky, fef, [aciccarello], [aciccarello]1, [MiaCrow] and [pfefferle] joined the channel
#
[pfefferle]
[snarfed] hmmm, this is a bit tricky, because `get_comments` only returns the published comments, not the trashed and/or on hold comments
#
GWG
Morning, [pfefferle]
[Murray] joined the channel
jacky joined the channel
#
GWG
[pfefferle]: We should catch up one of these days.
[Murray]1 joined the channel
#
[pfefferle]
let's finish v5
#
[pfefferle]
the problem [snarfed] mentioned is really tricky!!!
#
[pfefferle]
and really a problem
#
GWG
[pfefferle]: How do we proceed with v5? I really want to figure out the migration code.
#
GWG
I did some testing in another project and it worked well enough... but a scale is a concern
#
GWG
I migrated as retrieved and separately ran a query
#
[pfefferle]
I think the two big open stories are templating/grouping of comments and migration
fef joined the channel
#
[pfefferle]
[snarfed] does brid.gy expire internal links after a period of time?
#
GWG
[pfefferle]: I wrote a new templating code, didn't I that solved the problem of the earlier method by taking over the comment display... loading our template then the built-in after
#
[pfefferle]
but is it the final version or a first draft?
#
[pfefferle]
will check the PRs later
#
GWG
[pfefferle]: I thought you wanted to test it further...
#
[pfefferle]
oh sorry... corona seemed to damage my brain 😉
#
GWG
[pfefferle]: It was a while ago
#
GWG
Summer I think
#
GWG
So, if that's fine, we're only short a migration plan
#
[snarfed]
[pfefferle] internal links? You mean its source pages that add mf2 to silo posts?
#
GWG
[snarfed]: I think if you wanted to refresh an old Webmention.
#
[snarfed]
Right. No, those don't expire, but if a user disabled Bridgy, theirs won't work
#
GWG
[snarfed]: What if the profile image changed?
#
GWG
Will it link to the current one?
#
GWG
That's good if we ever start caching avatars
#
[snarfed]
Oh it's a new URL though. So the image URL you get from the source mf2 won't always point to the current picture. You'd need to re-fetch the source mf2 and use its new URL
#
[snarfed]
As with any wm
#
GWG
Yes, right now we cache the URL.. but if we start caching the image we might want to refetch and cache for old Webmentions
#
[snarfed]
eh same with URL, since it won't update
jacky and RasAlGhoul joined the channel
#
[pfefferle]
[snarfed] yes the mf2 links… Hmm, but I haven’t disabled my bridgy, but some of my links are broken… do I have to login to bridgy from time to time?
#
[snarfed]
[pfefferle] can you post an example?
#
[tw2113_Slack_]
stop breaking stuff 😛
#
[snarfed]
thanks, will look
#
GWG
[pfefferle]: By the way, [tantek]1 talked me into enabling your ActivityPub plugin
#
GWG
Hopefully someone triggers something because I don't know what to do with it
[benatwork] joined the channel
#
[snarfed]
[pfefferle] looks like that example broken link 404s because its a like by a Twitter user who's deleted their account
#
[snarfed]
ie the Twitter API says that user id 850430534333419521 doesn't exist
#
[snarfed]
I think 404 is the right response in that case, but I'm open to ideas
#
GWG
410?
#
GWG
Isn't that what Webmention uses?
#
[snarfed]
The like wasn't deleted, the user was
#
[snarfed]
Indieweb equivalent would be their whole site disappears
RasAlGhoul and [jacky] joined the channel