Comment System Upgrade
I’ve made a long-overdue update to JCastle’s comment functionality. You’ll now find the last five user comments displayed right on the homepage. Comments are shortened to about 200 characters so click through to the castle page to see all the details. This change helps surface recent discussions,
Comment System Upgrade
2025-06-07
I’ve made a long-overdue update to JCastle’s comment functionality. You’ll now find the last five user comments displayed right on the homepage. Comments are shortened to about 200 characters so click through to the castle page to see all the details.
This change helps surface recent discussions, encourages replies, and makes it easier to follow up on your own comments. There are a couple caching mechanisms at play so new comments might take up to an hour to be reflected on the top page.
What about email updates?
Come on, Eric, I still have to visit the site, right? Isn't there a way to get comments by Email? YES - There is! The comments are available via an XML feed which can be used by many free tools that will send you email or push notifications when new comments are posted. For setup instructions, visit the new help page for details
<a href='/view/Subscribe_To_Comments' target='_blank'> Subscribe to comments</a>
If the number of comments ever becomes overwhelming I'll look at automatically sending replies to posters or subscribing to threads from within MediaWiki, but this should do the trick for now.
Behind the Scenes
Technically, what happens is if a new comment is added, it triggers the a refresh of the RSS (XML) page which is saved to the server. The next time you visit the Home, Javascript grabs the last 5. This Home is also cached so it may take time for this to refresh, but it will. There is a link to a "more comments" page in the Recent Comments" section with the latest 25 comments and a link to an instructions page to help you use the RSS feed to follow comments on different platforms. The frequency of updates from these platforms varies, so you may need to adjust settings or your platform of choice.
This is something I’ve wanted since switching to MediaWiki. On my old site, it was simple. But MediaWiki ... is a different beast. The code base, modules, restrictions, hooks are overwhelming for an amateur like myself. I just want things to work while I create content. For years, I tinkered off and on but couldn’t nail down a solution. I contacted the developers of the MediaWiki Comment plugin and left notes on the forums but no one ever helped to add or create this kind of functionality ... then along came ChatGPT...
Troubleshooting is as easy as pasting an error message or code snippet. What might have taken hours (or was impossible for me) was done in minutes. This feature — with comment display, caching for performance, display tweaks, XML feed and a help page — came together in a few hours while watching Netflix (multitasking!!) on a Sunday evening.
That being said, you still have to be careful. ChatGPT doesn’t always remember previous context, and it’s not perfect with version differences (e.g. v1.39 vs v1.4). Sometimes, it hallucinated methods or functions that should be there, but were not, or the function actually had a slightly different name. So, the moral of the story is that you still need to have a good idea of what you are doing, but for methodical troubleshooting, code optimizing, replacing/upgrading old plugins and even for making recommendations how to tackle a problem, could be an incredibly helpful tool in maintaining and improving this site. I also made several other minor tweaks and enhancements under the hood to improve editing, security, display and more in over weekend.
Recent News
Jun 7, 2025
Comment System Upgrade
May 24, 2025
Four new castles around Sasayama Hyogo
May 16, 2025
10 Kyoto Castles Update May 2025
Mar 23, 2025
Hagi Castle & Hagi Castle Town Project
Jan 23, 2025
Bitchu Matsuyama Castle and Ohmatsuyama Castle Updates
Jan 3, 2025
2024 Jcastle cleanup and Happy New Year 2025
Dec 10, 2024
Sayonara Google Maps
Dec 2, 2024
Tsuyama Castle Update and 500th Castle Visited
Nov 11, 2024
Jcastle Rebuild 2024
Oct 3, 2024
11 New Castles around Kyoto
Sep 30, 2024
ART's New Profiles for Aichi Prefecture
Sep 22, 2024
5 new Okinawa Castle Profiles
Jul 27, 2024
Mikazuki Jinya, Kohyama Castle, and updated Hikone Castle
Jul 22, 2024
28 new profiles from ART
Jul 7, 2024
5 Castles from Ayabe City in Kyoto
Jun 24, 2024
ART Updates for Yamanashi Prefecture and Shizuoka Prefecture
Jun 23, 2024
Kuroi Castle, Sumoto Castle, Ohmizo Castle and other updates
Jun 3, 2024
Spring 2024 Special Exhibits and More
Jun 2, 2024
ART's Autumn 2023 Nagano Castles Part II
Jun 1, 2024
ART's Autumn 2023 Nagano Castles Part I