Spherical forums

General Discussion => Spherical News => Topic started by: DaVince on August 04, 2017, 11:36:01 am

Title: Announcement: wiki updates
Post by: DaVince on August 04, 2017, 11:36:01 am
Just a heads up, but I'm going to be working on getting the wiki to perform faster.

I'd eventually like to update the wiki with a bunch of useful new articles and modifications, but as it is currently, the entire thing performs too slowly for this to be an enjoyable and speedy experience.
Title: Re: Announcement: wiki updates
Post by: Fat Cerberus on August 04, 2017, 11:47:39 am
Just a heads up, but I'm going to be working on getting the wiki to perform faster.

I'd eventually like to update the wiki with a bunch of useful new articles and modifications, but as it is currently, the entire thing performs too slowly for this to be an enjoyable and speedy experience.

Yeah, this is why I keep getting frustrated and end up not writing any articles.  I want to, but writing documentation is already tedious enough without having to wait 5-10 seconds every time I want to preview formatting or something. :(
Title: Re: Announcement: wiki updates
Post by: DaVince on August 04, 2017, 12:09:06 pm
Agreed.

Also, I just realized I never updated the wiki, because it's still an unnecessarily difficult process (sigh). There are still a lot of performance optimizations to try, however, so I'll be doing that for the time being unless performance just isn't going to work out with the current version of MediaWiki running.

Edit: welp, I can't actually make any changes at the moment because I don't have the right permissions into the wiki folder right now. That needs to be solved first, and I can't do it.
Title: Re: Announcement: wiki updates
Post by: DaVince on August 05, 2017, 11:58:33 am
Starting updates for real now; the wiki won't be properly functional for a while.
Title: Re: Announcement: wiki updates
Post by: DaVince on August 05, 2017, 12:06:22 pm
The wiki software has (somehow mostly painlessly!) been updated to MediaWiki 1.28.2. With it come really nice performance improvements, to the point where there shouldn't be any issues editing articles anymore!

Happy editing! :D


Edit: by the way, if anyone has any tips for good MediaWiki extensions, for example for the purpose of editing etc, please let me know! I'm reinstalling the <syntaxhighlight> extension as we speak, and I'm also going to install a convenient mass editing one. (Edit 2: done!)
Title: Re: Announcement: wiki updates
Post by: Fat Cerberus on August 05, 2017, 12:16:59 pm
Nice, it's much more responsive now. :D
Title: Re: Announcement: wiki updates
Post by: DaVince on August 05, 2017, 12:55:01 pm
I just noticed a huuuge issue: when you're not logged in, not a single page is viewable! Time to sort out what's going on there.
Title: Re: Announcement: wiki updates
Post by: Fat Cerberus on August 05, 2017, 12:58:40 pm
Oh crud, I logged out to test that and now I can't log back in because the login page is not viewable either  :(

That definitely needs to be fixed ASAP.
Title: Re: Announcement: wiki updates
Post by: DaVince on August 05, 2017, 01:52:00 pm
Oh crud, I logged out to test that and now I can't log back in because the login page is not viewable either  :(

That definitely needs to be fixed ASAP.
That sucks! I found out in privacy mode.

This is proving a little harder than I hoped because it seems like it might be an issue with an extension somewhere. I'm going to have to ask around MediaWiki's support desk.

Sorry so much for the trouble... :(

Edit: I created a thread (https://www.mediawiki.org/wiki/Topic:Tvoe6enfps2ghdrc) on MediaWiki about this for now, and have to stop trying to solve the problem for today. I'm just glad it's not the forums that are broken...
Title: Re: Announcement: wiki updates
Post by: Fat Cerberus on August 08, 2017, 12:43:24 am
Luckily I'm still signed into the wiki on Pig Slayer (my custom-built desktop from last September), so I was able to make edits, and made up this draft of a Sphere v2 API page:
http://wiki.spheredev.org/API:RNG

None of the templates seem to work anymore so I had to write it from scratch.  I like how it came out. :D
Title: Re: Announcement: wiki updates
Post by: DaVince on August 09, 2017, 01:52:37 am
Thanks, looks good, looks like I need to figure out what extensions would have been responsible for the templates. Thought I had everything working in that regard.

I've been trying to fix the permissions issue but even after disabling all extensions and trying an empty config file it's giving issues. It's a rather interesting problem because the logged in view and even the RSS feed are working just fine.

I might just try reinstalling the wiki and see where I get.
Title: Re: Announcement: wiki updates
Post by: Fat Cerberus on August 15, 2017, 02:36:08 pm
@DaVince You're the only one that can see these right now, how does this page for DirectoryStream#next() look?
http://wiki.spheredev.org/API:DirectoryStream::next
Title: Re: Announcement: wiki updates
Post by: Eggbertx on August 15, 2017, 04:27:30 pm
Yeah, if MediaWiki has some kind of function to allow you to export all of the user-created articles as text files (or something like that), that might be for the best, since you could then do a clean wipe and put them all back up when everything is working.
Title: Re: Announcement: wiki updates
Post by: DaVince on August 16, 2017, 04:31:34 am
@DaVince You're the only one that can see these right now, how does this page for DirectoryStream#next() look?
http://wiki.spheredev.org/API:DirectoryStream::next
I'll look at it later today if you don't mind. I looked at some of the recent changes a few days ago and they look right at home though. :)

Yeah, if MediaWiki has some kind of function to allow you to export all of the user-created articles as text files (or something like that), that might be for the best, since you could then do a clean wipe and put them all back up when everything is working.
I have direct access to the database, so it could be simpler than that. I think I'll try doing *another* clean wiki install and clean config file while referring to that database and see if it helps, because so far nothing else has.

Also, sorry for taking so long in general. I've been under a lot of pressure so allocating time to extra possibly frustrating things has been low.
Title: Re: Announcement: wiki updates
Post by: DaVince on August 17, 2017, 01:33:01 pm
@Fat Cerberus I like the way the page looks. Were there any issues or difficulties in creating the page? Did anything seem broken? You mention the template didn't work but what did it do? This'll be useful information for when I try to reinstall the whole thing... again... *Sigh*
Title: Re: Announcement: wiki updates
Post by: Fat Cerberus on August 17, 2017, 02:24:04 pm
No problem creating the page, the hard part was getting it to look perfect--you know, OCD and all.  Thankfully MediaWiki has the preview button so I don't have to leave 100 edits in the page history. :P

Nothing seemed broken, other than, you know, the login issue.  I have to remember not to delete my cookies or I'll get signed out of the only machine I have left I can make edits with...

Here's a page I started writing for SphereFS: http://wiki.spheredev.org/index.php?title=SphereFS
SphereFS has become a pretty important cornerstone of the platform lately, even extending into Cell, so I figured it should get its own dedicated page.  It's become one of my favorite parts of working with the Sphere v2 platform, and most people won't even notice it (which is as it should be :) )

Regarding templates, I tried to use the object or function template (don't remember which one) that it says to use when creating new API pages and when I saved the page it just pasted the template code verbatim.  The {{subst:...}} things I'm talking about.
Title: Re: Announcement: wiki updates
Post by: DaVince on August 23, 2017, 06:43:50 am
The wiki is back!

This took a lot of pain and agony to get working, but finally, things are back to normal! I'm sure that things may not function entirely right everywhere, but at the very least the wiki is accessible, existing accounts work and pages and categories all seem to display correctly.

Account creation is disabled to prevent spam for the time being. I may set up a ReCAPTCHA account creation system, but for the time being, if you don't have an account, you can request one from me.
Title: Re: Announcement: wiki updates
Post by: Fat Cerberus on August 23, 2017, 10:22:45 am
I notice the edit page looks nicer now!  Big huge buttons, etc. that weren't there after the upgrade.  I feel like the upgrade must not have actually updated everything, which would explain why it was so horribly broken.

There are a few glitches I'm seeing though.  So far:

Title: Re: Announcement: wiki updates
Post by: DaVince on August 25, 2017, 01:59:41 am
The second thing might have been a caching thing? I'm sure the first thing is some sort of extension issue; adding it to my to-do list.
Title: Re: Announcement: wiki updates
Post by: Fat Cerberus on August 25, 2017, 02:37:12 am
The second thing might have been a caching thing?

Hm, maybe?  I thought I remember hitting Shift+F5 to make sure though... oh well, it resolved itself anyway so no big deal.  I'm just glad the wiki is visible to people again!
Title: Re: Announcement: wiki updates
Post by: DaVince on August 25, 2017, 09:02:56 am
Oh, I meant server side caching! That seems to happen on pages until they're edited.