#wordpress 2024-07-19

2024-07-19 UTC
#
Zic
I didn't mean to offend with my question. I'm just being direct.
#
Zic
Why do I think built-in comments in WordPress are not cool?
#
GWG
People don't iterate on it
#
Zic
1. In many cases they cause delays in page loading
#
Zic
2 Requires anti-spam plugins
#
Zic
3. It takes a lot of work to make the comment form look elegant or use more plugins
#
GWG
Webmentions are stored as comments, but it doesn't have to work like the traditional comment system. Styling though...that's a big question
#
Zic
4. default behavior - load all comments at once (if you don't want this, install another plugin).
#
Zic
I could list a few more points why I think that built-in comments in Wordpress are a dead end
#
Zic
Maybe I'll write right away what I mean
#
Zic
IndieWeb -> Webmention has a bright future ahead of it
#
Zic
At some point WordPress comments will become a burden for IndieWeb (plugin dependent on comments).
#
Zic
From my limited perspective, it seems like this should be moved outside of WordPress. For example, a Lamp stack app or even Docker. You can use any programming language, not just what WordPress imposes (php).
#
Zic
I know that not everyone can install a server application on a server. Maybe then there would be a place for a server for such a thing - a community server.
#
Zic
With good tutorials I was able to run a couple of LAMP server apps (I don't consider myself a devops person). If someone can use WordPress and configure IndieWeb with all the plugins then such an IndieWeb server app shouldn't be a challenge
#
Zic
Perhaps the following question is absurd:
#
Zic
What if WordPress drops comments? What about Webmention?
#
Zic
Having an external server application for Webmention, it would be enough to create a small plugin in IndieWeb that would allow You to indicate in the form of a shortcode where on the page the form (code fragment) referring to the server application should be placed.
[aciccarello] joined the channel
#
Zic
If my question offended anyone, I apologize.
#
Zic
I suspect there are arguments for using WordPress's built-in commenting system, but I don't see them.
#
gRegor
Seems incredibly unlikely WP core would drop comments. If they did, I suspect there would still be a plugin to support them, similar to the Classic Editor plugin. The Webmention plugin could also pivot in that case to store webmentions in its own custom tables.
#
gRegor
Generally I don't think piggybacking on the comment system has caused major problems.
#
gRegor
Especially compared to "install a totally separate app outside of WordPress", which would be really limiting, basically only for devs.
#
Zic
You mean: there was no problem replacing from built-in WordPress comments? Or a problem staying in the built-in WordPress comment system?
#
Zic
Why would a server app be a limitation?
#
gRegor
My last comment? I was contrasting the friction of issues the WP comment system might have, to the suggestion of running a separate server app outside of WordPress to handle it
#
gRegor
You can definitely run a separate app if you prefer and you're comfortable with it, but most WordPress users don't want to be a sysadmin. Clicking "Add Plugin" and configuring a few things is preferable for a lot of people
#
Zic
"You can definitely run a separate app if you prefer and you're comfortable with it, but most WordPress users don't want to be a sysadmin. Clicking "Add Plugin" and configuring a few things is preferable for a lot of people" -> That's why I wrote about a public server (associated with an account). The server application would be only for those who want to have their own instance.
#
Zic
e.g. webmention.social
#
Zic
I'm not trying to convince anyone. I'm just thinking out loud.
#
Zic
Yesterday's conversation @GWG and @nsmsn was about the necessity of editing the file: wp-config.php However, maintaining plugins costs a bit more effort
#
Zic
I'm falling asleep on my keyboard. To avoid any confusion, I didn't mean to turn everything upside down with my question. I simply wrote that an external application can provide some capabilities that are limited by WordPress' built-in commenting system.
#
gRegor
I'm not sure what you mean by instances
#
gRegor
No worries
#
Zic
If someone does not trust a public server (e.g. has been blocked), and the application installed on the server is open source, then this blocked person can install the application on their device (this is an instance).
#
gRegor
Are you talking about ActivityPub or Webmentions?
#
gRegor
ActivityPub is what I usually think of with regard to instances. Sorry, I might be missing earlier context in the conversation, I can read back.
#
Zic
"Are you talking about ActivityPub or Webmentions?" I referred to Webmention. But Any of the above. They can even be both.
#
Zic
In many cases I have trouble describing what I want to say, but I always try to explain.
#
gRegor
No problem, I see the original context is the ActivityPub plugin, which I'm not really familiar with. I know it's quite different (and more complex) than the Webmention plugin. I was only referring to the Webmention plugin and why it stores them in the comments structure of WP database. :)
#
Zic
I guess I'm the only skeptic when it comes to keeping anything in the comment database
#
Zic
Keeping everything local definitely has its benefits that I'm unable to see.
#
gRegor
Hey, skeptics are good, makes us take a fresh look at things sometimes. I'm not an active user of WP, btw, though I do a lot with it for some work clients.
#
Zic
In my opinion, such a server app for comments and everything else that Webmention offers would seem to be a more scalable solution.
#
Zic
Separating Webmention from WordPress comments would make it an independent, atomic service. Not just targeted at WordPress. How much work could be saved.
#
gRegor
Have you seen https://indieweb.org/Webmention and all the implementation examples?
#
gRegor
Webmention isn't WordPress specific
#
Zic
Thank you for the conversation. I already look like a zombie. I'm going to bed. I hope that tomorrow someone will find time to read my thoughts/arguments and share their reflections on this topic.
#
gRegor
Ok, rest well :)
#
Zic
I've never used the phrase that Webmention is specialized for WordPress. In my speculations I wondered if the Webmention plugin could be in an external application and not in the comment database (WordPress)
#
Zic
Thank you for the conversation, good night :)
#
GWG
Zic: You could always integrate something like webmention.io
#
nsmsn
Getting late here, but I had my host edit the wp-config file, GWG
#
GWG
Did that work?
#
nsmsn
not sure...I tried the two tests for receivers on webmention.rocks. Got a 400 response code on the first one
#
nsmsn
I disabled the Webmention plugin briefly and tried out the IndieBlocks implementation, which did pass both tests on webmention.rocks
#
nsmsn
TBH I think I like yours and Matthias' webmention plugin better
#
GWG
Could it be a conflict between the two?
#
nsmsn
Again, not sure. I only have one enabled at a time, at least for Webmention functionality.
#
nsmsn
The endpoint discovery is at https://nicksimson.com/wp-json/webmention/1.0/endpoint does that seem right?
#
IWDiscord
<n​smsn>
#
GWG
That's the URL for the endpoint
[Otto_Rask], [Joe_Crawford] and [schmarty] joined the channel
#
nsmsn
So what I see on the webmention.rocks test response code is
#
IWDiscord
<n​smsn>
#
nsmsn
"code": "webmentions_closed",
#
nsmsn
"message": "Webmentions are disabled for this post",
#
nsmsn
"status": 400
#
nsmsn
"data": {
#
GWG
So.. still disabled problem.
#
GWG
Can you enable it for the page?
Guest7467 joined the channel
#
nsmsn
I'm not sure how to enable it. I have comments allowed for this page, and Pages enabled in Webmention settings.
#
GWG
Did you enable in the post editor for the specific page?
#
GWG
WordPress disables page pings by default
#
GWG
It's a separate setting
#
GWG
On a per post basis
#
nsmsn
Oh I will check right now
#
GWG
As I said, we need to stop depending on a undernoticed WordPress 1.0 feature
#
nsmsn
All I see is that I have comments enabled for this page in the page editor...I don't know if ping settings are hidden in the block editor?
#
GWG
I just searched
#
GWG
That might not be current
#
nsmsn
I don't know...I'm not on WordPress.com, I use Flywheel for WP.org
#
nsmsn
I can't replicate that screen in the post editor. Going to search wp.org docs
#
GWG
Yes, I think I need to go to a test site.
#
GWG
I'm not at my desk yet
#
nsmsn
Are you familiar with "Decisions, Not Options", GWG? https://wordpress.org/about/philosophy/
#
nsmsn
[edit] Are you familiar with "Decisions, Not Options", GWG? https://wordpress.org/about/philosophy/
#
GWG
Yes, but this is their option not mine
#
GWG
I made the case we should change on the basis that enabling the plugin meant you wanted Webmentions.
#
nsmsn
seems like a solid decision.
#
nsmsn
One could say that would almost "engineer" happiness...
#
GWG
I found it.
#
GWG
It's in my version in the block editor.
#
GWG
Oh...
#
GWG
It's on posts, but not on pages
#
GWG
Interesting
#
GWG
How about this. Enable the Classic Editor plugin, change it in there, then disable the plugin
#
GWG
Just to solve this now
#
nsmsn
sounds hacky but I'll give it a shot
#
GWG
I have some PRs to write this weekend
#
nsmsn
going to do a quick backup first
#
GWG
Because this is problematic
#
nsmsn
unbelievable! It passed the webmention.rocks receiver test #1
#
nsmsn
Would you mind sending me a webmention to nicksimson.com? I want to test this page now.
#
GWG
Publishing one now.
#
GWG
Might take a minute for it to cycle thorugh
#
nsmsn
no rush
#
nsmsn
I got the mention! It went to my spam. Now I just need to figure out the block-y stuff to get it to appear on my page. https://nicksimson.com/mentions/
#
nsmsn
[edit] I got the mention! It went to my spam. Now I just need to figure out the block-y stuff to get it to appear on my page. https://nicksimson.com/mentions/
#
nsmsn
[edit] I got the mention! It went to my spam. Now I just need to figure out the block-y stuff to get it to appear on my page. https://nicksimson.com/mentions/
#
nsmsn
Oh duh....Approved the comment
#
nsmsn
GWG ++ OK, now I know it works! Thank you!!!
#
Loqi
GWG has 13 karma in this channel over the last year (53 in all channels)
#
nsmsn
Let me know if you need a tester for the fix.
#
nsmsn
And I'm curious to find the discussion in GitHub or elsewhere to deprecate pingbacks/trackbacks in the Block Editor...https://wordpress.org/documentation/article/trackbacks-and-pingbacks/#how-do-i-send-a-trackback-classic-editor-only
#
nsmsn
[edit] And I'm curious to find the discussion in GitHub or elsewhere to deprecate pingbacks/trackbacks in the Block Editor...https://wordpress.org/documentation/article/trackbacks-and-pingbacks/#how-do-i-send-a-trackback-classic-editor-only
#
nsmsn
[edit] And I'm curious to find the discussion in GitHub or elsewhere to deprecate pingbacks/trackbacks in the Block Editor...https://wordpress.org/documentation/article/trackbacks-and-pingbacks/#how-do-i-send-a-trackback-classic-editor-only
#
nsmsn
[edit] And I'm curious to find the discussion in GitHub or elsewhere to deprecate pingbacks/trackbacks in the Block Editor...https://wordpress.org/documentation/article/trackbacks-and-pingbacks/#how-do-i-send-a-trackback-classic-editor-only
gRegor joined the channel