Jcastle Rebuild 2024: Difference between revisions

From Jcastle.info
(Created page with "{{news |NewsTitle=Jcastle Rebuild 2024 |NewsDate=2024-11-11 |NewsBody=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 update this big to bring it in line with the MediaWiki 1.4+ series and PHP 8. Hopfeully the various extensions and plugins will all be updated and help make it less...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
|NewsTitle=Jcastle Rebuild 2024
|NewsTitle=Jcastle Rebuild 2024
|NewsDate=2024-11-11
|NewsDate=2024-11-11
|NewsBody=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 update this big to bring it in line with the MediaWiki 1.4+ series and PHP 8. Hopfeully the various extensions and plugins will all be updated and help make it less painful.  
|NewsBody=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...
'''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.   
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.   
Line 10: Line 10:
Other updates and changes worth mentioning:
Other updates and changes worth mentioning:


#Users can now delete their own comments. Anonymous comments have been allowed again.
#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 re-comment under your name if you like.
#*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 bring in a new plugin that would allow email notifications of comments and replies but it does not seem possible to import the old comments so they would be lost. If you have any thoughts on the matter please let me know!
#*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!''
#There is a new gallery 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!
#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 so it may be disconcerting
#*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
#*Reinstating the old version will take some time to upgrade the code
#All images over 2000px wide have been reduced to 1500pixels wide. This saved me 35GB of disk space! (let's not do that again!)  
#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 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
#*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
#*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 good policy, when naming files for uploading please do not use kanji, spaces, diacritics, or other punctuation. Normal alphanumeric chacters only please! Yes, everything can be escaped but it is still bad form.
#*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
#Cloudflare has been installed to help prevent certain kinds of spam, attacks on the site, and GenAI bots.
#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.
#*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.
#*Cloudflare does some caching which saves me up to ~20% bandwidth
#Reducing my image library size and bandwidth will help save me from moving up a tier and paying more for hosting too, for a long time I hope.
#Reducing the image library size and bandwidth will help save me from moving up a tier and paying more for hosting too
#*This little upgrade cost me some bucks to get a little help from the webhost and doubling the hosting plan until the end of the year.
#*This little upgrade cost me a little to get some help and to double the hosting plan until the end of the year for temporary storage
#*Any support to cover hosting and maintenance fees via buymeacoffee would be appreciated!  
#* [https://ko-fi.com/Y8Y2AKR3F Any support to cover hosting and maintenance fees via '''buymeacoffee'''] would be appreciated!
#*The site actually gets thousands of unique users per week. More than you might expect. Everything I can do to reduce bandwidth does help.
# Other changes include:  
# Other changes include:  
#*Cleanup of unused extensions and plugins.  
#*Cleanup of unused extensions and plugins.  
#*Fixed some display oddities that always bothered me.  
#*Fixed some display oddities that always bothered me.  
#*Cleaned up the user permission structures.  
#*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 they are critical!
#*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!
}}
}}

Latest revision as of 22:37, 12 November 2024

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...