Jcastle Rebuild 2024

From Jcastle.info

I spent the better part of the last 3 weekends updating and upgrading Jcastle to work with MediaWiki 1.39 and Semantic MediaWiki 4.2. This should solve all my immediate problems, but another year or so down the road I'll have to do another big update to bring it in line with the MediaWiki 1.4+ serie

Jcastle Rebuild 2024

2024-11-11


I spent the better part of the last 3 weekends updating and upgrading Jcastle to work with MediaWiki 1.39 and Semantic MediaWiki 4.2. This should solve all my immediate problems, but another year or so down the road I'll have to do another big update to bring it in line with the MediaWiki 1.4+ series and PHP 8. Hopfeully the various extensions and plugins will all be updated by then (they are not now!) and will help make it less painful.

A LOT HAS CHANGED underneath the surface of Jcastle. If you happen to notice any oddities at all, please let me know. Down the road I hope to take advantage of some new plugins and features to improve the site for all. A few of them are in testing already...

Even though it's not that big of a change to the average user, I'm actually very pleased with these updates that should make the site more robust, secure, and lean into the future.

Other updates and changes worth mentioning:

  1. Users can now delete their own comments. Anonymous comments have been allowed again
    • Make sure you are logged in or you will become an "anonymous" commenter. If this happens, you can delete your own anonymous comment while using the same IP address. Login again and comment under your name again if you like
    • I wanted to use a new plugin that would allow email notifications of comments and replies but it does not seem possible to import the old comments. If you have any thoughts on the matter please let me know!
  2. There is a new gallery/slideshow viewer to view photos. Please let me know if you like it or hate it. Leave a comment below, email or FB chat to me!
    • It is faster and shows larger photos when available, but it takes you out of the normal flow of the webpage
    • Reinstating the old version will take some time to upgrade the code
  3. All images over 1500px wide have been reduced to 1500pixels wide. This saved me 35GB of disk space! (let's not do that again!)
    • I cannot check every photo for quality, but I have backups saved of the full image archive. If you see any poorly reduced photos or other oddities please let me know so I can fix it
    • I will disallow photos any bigger than 1500 px in the future
    • Any photo loaded for the first time after Nov 11, 2024 will have the thumbnail(s) rebuilt so this may cause latency on some pages for awhile
    • As a matter of common sense and consistency, if you contribute photos please do not use kanji, spaces, diacritics, or other punctuation in the file names. Normal alphanumeric chacters only please (A-z; 0-9) ! Yes, everything can be escaped but it is still bad form for file names
  4. Cloudflare has been installed to help prevent certain kinds of spam, attacks on the site, and GenAI bots
    • You may see some new places with captcha depending on your status in Jcastle
    • Cloudflare does some caching which saves me up to ~20% bandwidth
  5. Reducing the image library size and bandwidth will help save me from moving up a tier and paying more for hosting too
  6. Other changes include:
    • Cleanup of unused extensions and plugins.
    • Fixed some display oddities that always bothered me.
    • Cleaned up the user permission structures.
    • Documented/commented most of the settings and plugins to make future upgrades and troubleshooting a little easier. Code markup always seems like a "nice to have" when you are in the thick of things, but as time goes by it is critical!



0
Loading comments...