[06:09:24] I have an old database with an old 1.14 wiki in it. All I really want to do is extract a few of the pages from it. Can I do this directly from the database itself? I dont care about the revision history, just want the pages for posterity. (Been looking for the HD with this particular wiki on it for a *very* long time.) [06:12:36] and yes, ive already attempted upgrading things to newer versions...but 2009 was a long damn time ago [06:22:11] if the wiki is accessible as normal, use Special:Export [06:22:35] Dinoguy1000[m]: sadly, all i have thats reliable is the database tables [06:23:02] ive cloned the git repo, but apparently had all sorts of extensions installed [06:23:08] no idea what they would be [06:23:56] have you tried just setting the database up with a 1.14 install and seeing where that gets you? [06:24:17] yep, loads of PHP errors lol [06:24:56] hence why im here hopinh there might be a solution [06:25:03] hoping* [06:25:13] was the wiki public? is there any chance pages from it might've ended up on Wayback Machine? [06:25:33] not public sadly [06:26:55] wow...ubuntu 9.10...thats old, i wonder if it will even install extra packages if needed [06:27:54] this isn't related to getting pages off of it, but does the wiki have sensitive data of any type (PII, confidential info, etc.)? if not, since you seem to have the only copy of it, you should upload it somewhere to be sure nothing will happen to make you lose it again (I'm gonna sound like a broken record, but I'd suggest the Internet Archive if you can) [06:29:07] Dinoguy1000[m]: this wasnt that kind of wiki, it was more of a personal notes repo, back before I started putting things in git [06:29:15] aah [06:29:20] ive already backed it up into my NAS anyways [06:29:27] if i loose it i loose it [06:29:28] 👍 [06:29:44] i was only looking to get about 5 pages out of it really [06:30:47] you mentioned lots of PHP errors when you tried just using a 1.14 install, did you double-check that it had compatible versions of PHP and mySQL? [06:32:08] yeah, the issue is, 1.14 was written for PHP 5.2/5.3, PHP 7 just isnt working, plus im fairly certain there are packages for PHP missing given its so new [06:32:21] if i want to go that route, ill have to use a VM [06:32:29] so...i can either try a VM going back to ubuntu 9.10...or put my computer science degree to use and decipher the schema to extract the info.... [06:33:21] AFAIK the database just stores revisions as plaintext, so they should jump out immediately if you go that route [06:33:24] i mean, 1.14 was released in 2009...its not *THAT* old [06:33:46] wait wait...i mean its from the stone ages [06:33:47] the issue would be that you'd have wikitext in that case, not the rendered HTML, and especially if templates were used to any extent, getting from one to the other would probably not be trivial [06:33:48] yeah..that [06:34:07] wikitext is fine [06:34:22] and for what im after, i wasnt using any templates [06:35:05] what the hell, lets go for broke...ubuntu 9.10 VM it is... [06:35:07] lol [06:35:31] you have at least one copy of the database backed up, have you tried just sticking it on a 1.31 install or similar and running update.php? [06:35:35] OMG the nostalga [06:35:45] yeah, i have [06:36:01] it didnt like the old schema [06:36:37] weird, MW is supposed to support upgrading between basically any older + newer version [06:37:01] maybe i effed it up [06:37:07] if the vm doesn't pan out for some reason, you might have better luck with smaller jumps, then [06:37:09] i suppose i could try [06:37:19] like to 1.24 or something [06:41:27] oh, thats what the issue was, something about composer [06:41:33] says im on version1 and need version 2 [06:41:37] cba to figure that out [06:41:42] ill try the VM real quick [06:47:06] oh...hey.... yer suggestion of 1.24 is getting me somewhere [06:49:36] Dinoguy1000[m]: hot damn, i think its working... [06:50:04] 🤞 [06:50:53] well....no errors after giving the correct permissions [06:51:00] lets see if it loads in the browser [06:51:38] holy shit...it lives! [06:51:48] Dinoguy1000[m]: many thanks [06:52:06] i guess now ill just upgrade to 1.39 lol [06:52:17] ooh, nice! happy to help 😄 [06:54:56] Dinoguy1000[m]: thanks again [06:55:11] np 🙂 [07:04:47] well, for whatever reason, anything newer than 1.24 is complaining, ill have to stick with it for now since i dont want to pollute this particular machine [07:05:00] its one of a very few i havent fully migrated to docker containers [11:21:03] hello. is there any way to generate RSS in xml format for updates/articles on mediawiki? [11:23:58] draden: yes, see https://www.mediawiki.org/wiki/API:Feedrecentchanges [11:34:28] actually, I've tried that, but it redirects me to a web page. I'd need to generate several links for given articles on my sites which redirect to an RSS with an XML format. i.e.: https://rathena.org/board/rss/3-support-topics-feed.xml/?member_id=61096&key=e2467f270485318499a20e11a7a0948c [11:35:29] maybe you have some wrong redirect rules configured on your server [11:36:04] works on mediawiki.org https://www.mediawiki.org/w/api.php?hidebots=1&hidecategorization=1&hideWikibase=1&translations=filter&urlversion=1&days=2&limit=50&action=feedrecentchanges&feedformat=rss [11:36:53] hmm.. then i guess i'm doing something wrong in my configs [11:39:14] the feed is easily accessible if you go to Special:RecentChanges. There's an icon in the menu (on Monobook and Timeless skins at least) that points to an atom feed. You can change the "atom" part in the URL with rss to get an rss feed [11:43:46] thank you so much for the help! i've got that! [11:44:29] so can I filter this to given articles as well? or it will list all the recent changes on my site? [14:30:59] Hi, I work on a project and installed TemplateStyle but it doesn't seems to working well as I can't see it loading styling so is there a way to check why it's not working? [14:34:25] Guest62: If you can inspect the HTML code of the page, a