Topic on User talk:Zesty

Jump to navigation Jump to search
Pangaea (talkcontribs)

Hi. Recently I've communicated with User:PigeonGuru to try to understand a bit more about the template structure and suchlike here, which is a little tricky to wrap my head around (so many nested chains). I also wondered whether AutoWikiBrowser (AWB) has been used to mass-update pages? It's pretty useful. Previously I was a guardian on a Gamepedia wiki, and used it a lot there -- though it was perhaps best when creating new pages, with similar structure (like infoboxes), using input data from Excel/CSV. It can use RegEx, which makes it very powerful.

I have a more direct query, though. I've made a few additions to Help:Basics, and it is indeed quite basic. Therefore I wondered about copying content from either Wikipedia or Gamepedia's articles. However, an admin on Gamepedia raised the issues of the license on this wiki, which is sort of central to Share and Alike. I can't see any mention of a license here. Is there one, has it simply been forgotten? I'm also a little confused by mentions of Wikia, because I thought this was an independent wiki and not tied to one of the big hosters.

Perhaps people who edit here know all this stuff anyway, or go to Wikipedia for help. But it can't hurt to have it here too, and what I had in mind was for instance a help nav at the top, and then more detailed articles. Let's say a basic one (like now), one about images/gallery, one about tables, stuff like that. But leaning heavily on the already excellent articles from Wikipedia or Gamepedia, like a somewhat stripped down version of this. For that, however, this wiki probably needs the same/similar license, which happens to be ShareAlike 3.0 [1].

Would be grand if you could help us out here, as it would of course be easier to lean on the shoulders of others than to writing a new wheel :P

PS: If you could also give me an overview of how the templates all work together, that would be helpful. It's a bit daunting right now. I'm mainly thinking about Template:Infobox_main. Pangaea (talk) 02:05, 27 June 2019 (UTC)

Zesty (talkcontribs)

Heyo, sorry for being slow to reply. I've just come off a work weekend.

I'm not that sure on the specifics of users using tools to mass-update the wiki. There was a user or two in the past that used some bots to update pages, but it's been some time since they've made edits.

As far as the licensing goes, I'm a little surprised it's not listed. I'd assuming Tynan's fine with the wiki being like most other wikis, Share and Alike (CC BY-SA 4.0).

As far as how the templates work, I'm afraid I'm not up to speed on them anymore - I use to be, some years back. We don't have tons of active power users here.

I'm always open to suggestion on how things should be updated to make maintaining the wiki easier, though it'll take a while if it's any plugin stuff.

Pangaea (talkcontribs)

Thank you for getting back to me. If Tynan is fine with using the normal wiki license, do you know how quickly it's possible to get that into the footer on the page? Do you have to check with him, or can it be done more or less right away? With that in place, we could borrow content from other wikis and adapt it here, which I think could be useful. I'm also thinking about a frontpage redesign, if that is agreeable, and with the licence in place I could borrow some regular setups instead of starting from scratch. Depending on how it's done, it might require some changes to the .js file (if going with a flexible approach similar to many Gamepedia wikis).

About mass-updating, I actually just got AutoWikiBrowser working this evening (had to install a Win7 VM), and managed to log in. Stuff would probably time out pretty quickly as a regular user, for instance if I tried to give a bunch of files a category, technically editing the pages. However, I could try a little test run to see if it works like I remember. It's a powerful tool with RegEx capability and various filtering and automation possibilities. Haven't worked on it for about 2 years, so need to catch up on it first.

Managed to extract all the game images now (or so I think, around 2000 pictures). Names are a little different, and most of the important ones are probably uploaded already. But one I did find, that apparently isn't on the wiki, is the background image from the game itself (the nice-looking planet). I wanted to test out having it as a semi-transparent background for the wiki. With the licence in place, I can try to test out stuff like this on my user page (with custom CSS).

Totally understandable you're not up to speed with the templates any more after a few years. It can get pretty complex, and that appears to be the case here. Hurts just trying to wrap my head around it :D Personally I find it easier to work with templates if each thing/category has a template, instead of one super-template that's supposed to cover everything (and with several nested helper templates). From what I can gather there are sort of two super-templates here: infobox/thing and infobox main. But I'm not sure how it all ties together, and how to go about trying to edit them, or tie new templates with them. Err, so maybe best to ignore all that for now. It's also possible that this nesting and frequent template calls gets expensive in terms of performance.

Sorry for the essay here. If you are able to get that license info into the footer it would be easier for both me and others to take other content and adapt it for this wiki. Maybe it was merely an oversight from years back, and nobody have thought about it since. It happens.

Zesty (talkcontribs)

Okay, I've taken care of the following:


- Enabled MS Upload. I did a quick test upload, and it seems to be working properly.

- I've filled in the $wgRights section on the wiki settings. Looks like it was never set, but it should now be listed on the footer of all pages.

- Made a simple copyright page, available at RimWorld_Wiki:Copyrights. It's linked in the footer.


Let me know if there's any issues with the extension or the footer. I think it should be smooth sailing.

Pangaea (talkcontribs)

Thank you, Zesty. This is excellent news. Will make it all the much easier to add content to the wiki, that already exists in various forms elsewhere. There was a slight error on the copyrights link, but it's sorted now.

Tried to upload some images while editing a category, and although the upload info looked correct (with a checkbox next to the category), the images didn't get added to the category. Do you know why this is, and is it possible to fix it?

Would make it much easier to upload many images from the game files if they get automatically added to the appropriate category, without needing to fix that afterwards.

The multiple uploads part worked great, so it's just the automatic categorisation that doesn't take effect for some reason.

Zesty (talkcontribs)

I checked the settings, and enabled one related to categories. It should've been enabled by default, but please check if it is working as intended now.

Pangaea (talkcontribs)

Thanks for the quick reply. I tried to upload another file while editing a category, but the category didn't get added to the file now either. Tried to search for the issue, but nothing useful turned up, and there isn't anything about it on the extension's talk page either.

Pangaea (talkcontribs)

Made a post on the extension's talk page. Hopefully there are eyes on it.

Don't know if this is relevant, but I noticed the version here is listed as 12.0 while the newest version over there is 13.1. Maybe more importantly (I honestly don't know), the commit thingy (0779791) appears to be linked to version 1.32 of MediaWiki judging from [1], while we have MediaWiki 1.31.0 over here. Could it be that this causes the issue?

Zesty (talkcontribs)

I updated the extension to the latest version from the Gitlab repo just now. Any difference?

Pangaea (talkcontribs)

YES! :) Now the most recently uploaded image showed up in the category. Thanks for fixing it :)

Now I can get to organise it all locally first, and then upload. I'm thinking to upload the three version for most "things", and then put them in a small gallery or something on each page.

Pangaea (talkcontribs)

Hmm, a slight hick-up. Not sure if this is a settings or MsUpload issue, and I don't recall how this worked on other wikis because it's been a couple of years. When I upload files that already exist, and thus upload a new version instead, the categorisation doesn't work. The category code is added on the file version, but not the file itself -- if that makes sense. See for instance here, where I fixed it afterwards: File:Flak_jacket.png

Tempting to just upload the images as they are named from the game files, but I'm trying to be sensible and use spaces where appropriate. It also looks like there are several versions of the same file uploaded in places (default game file names, lowercase, without spaces), so I'm not sure what would be the best approach really. But with spaces they should usually be the same as the page/article titles. However, if I need to manually fix all the new version uploads, that might be a pain. Would be excellent if you can look into if there is a fix for this. Otherwise I can try to do something with AWB, but it's going to have to be a largely manual job, which takes more time.

Sorry to keep bugging you about this.

Zesty (talkcontribs)

I'm not sure what else I can tweak with the plugin. The only two settings relevant to categories appear to be:


$wgMSU_showAutoCat = true; // Files uploaded while editing a category page will be added to that category


$wgMSU_checkAutoCat = true; // Whether the checkbox for adding a category to a page is checked by default


Both of these are set to true.

Pangaea (talkcontribs)

Had another look at possible settings, but the Manual is information overload and I don't have the experience to find the needle. Have updated the post in the talk page.

If there is a solution and they get back to us that would be great. But in the meantime I can try a workaround using AWB. There is a "New files" filter, which will hopefully work here, with some more manual filtering afterwards. Better than doing everything manually. And having this extension is a great help as there are many hundred files to upload.