Page 1 of 1

MicrasWiki uses hub.mn/forum accounts now

Posted: Sun Nov 08, 2015 5:45 pm
by ari
... and also could probably load faster since it's on Linode. Also, will almost certainly be broken in some way. But I'll see if I can figure out how to get the login page to mention it wants hub.mn accounts now.

e: That oughta do it. All told it took only about three hours or so to get this to its current working order, so, I guess, not as bad as it could have been.

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Sun Nov 08, 2015 6:09 pm
by ari
Also!!!!!! Probably a bit more importantly for Craitman, since micras.org is on my Linode now, Craitman, you'll have to tell me if uploading maps still works. Actually it probably won't. Buuut..

* completely breaks any semblance of using the OS-provided security features on the maps directory by running chmod a+rw *

... now it probably should? Maybe? I don't want to actually test it myself. What I can definitely tell that the dates on http://micras.org/maps.php are wrong. Apparently those come from the files' ctimes, which of course come from when I copied the map files over. Or maybe from when I changed their permissions? I didn't actually check what the dates were before. Faking the ctime... can be done, but not in a nice way, so, err, I'll leave it as it is for now. I can still grab the old ctimes from Bluehost so everyone can see how historical our maps are, but I'll have to figure out how best to display the right dates.

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Sun Nov 08, 2015 6:20 pm
by Craitman
Thanks for doing this, Ari; very much appreciated! :D

There's one worry I have with the wiki being updated, and that's that some pages used non-standard characters in their names (diacritics, punctuation, etc.) which have now been converted into coding, meaning that any links now don't go to the right place (i.e. here). Would this need a manual fix, or can it be done your end?

I'll have to try a new claimsmap upload to see if that's still in working order. I wouldn't worry too much about the dates on the maps page, mind - if I'm honest, I didn't even know it said when maps were updated on that page before now :P

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Sun Nov 08, 2015 6:46 pm
by ari
Seems to be broken in the same way in the database, which is promising, because that means I won't have to dig into MediaWiki internals to figure out what's going on. Let's see if I can cast some magic runes at this.

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Sun Nov 08, 2015 7:39 pm
by ari
mysql> update mw_page p left join bar b using(page_id) set p.page_title = b.page_title;
Query OK, 443 rows affected (0.06 sec)
Rows matched: 6270 Changed: 443 Warnings:
Done. MySQL really likes munching on your data, but I managed to convince it to unmunch its munchings in the case of our page titles. There might be other places where there's breakage (I suspect any uploaded filenames with non-7-bit-ASCII characters will be broken, at least), tell me if you see any and I'll see if those can be mass-fixed too.

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Sun Nov 08, 2015 7:52 pm
by Craitman
Ooh, awesome, thank you!

There's definitely a handful of flag images that use those types of characters in their file names that I know of, which aren't working. Not sure about anything else though :)

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Sun Nov 08, 2015 10:56 pm
by Liam Sinclair
Thanks for taking the time to upgrade the Wiki, Ari. The modernization will be very useful while we try to clean up / expand the content of the Wiki.

While trawling for Micras map images to add to an article, I did notice that the micras.org archive page no longer works, as apparently it cannot connect to the host?

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Mon Nov 09, 2015 8:18 am
by Craitman
Liam Sinclair wrote:While trawling for Micras map images to add to an article, I did notice that the micras.org archive page no longer works, as apparently it cannot connect to the host?
There's been an issue with that for a while, so I've made a list here which I update each time there's a new claimsmap, if that helps what you need the archive for :)

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Mon Nov 09, 2015 10:48 am
by Liam Sinclair
I was using the website successfully a matter of weeks ago all the same ;)

I'll make use of the forum-based list in the meantime!

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Mon Nov 09, 2015 12:23 pm
by Craitman
Liam Sinclair wrote:I was using the website successfully a matter of weeks ago all the same ;)
Yeah, the site still worked, it was just horrendously incomplete :P

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Mon Nov 09, 2015 4:48 pm
by ari
Non-7-bit-ASCII-named images and the "File usage" sections on their image pages have been fixed, although accessing old and deleted versions of images (even as admin) might still break. The archive is back to its full up-to-date-as-of-2009 glory.

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Mon Nov 09, 2015 6:29 pm
by Craitman
ari wrote:Non-7-bit-ASCII-named images and the "File usage" sections on their image pages have been fixed
Yay! Thank you again :D

Re: MicrasWiki uses hub.mn/forum accounts now

Posted: Wed Dec 23, 2015 12:14 pm
by Brian Barry
My account still works, thank you :)