User talk:Kenoxite: Difference between revisions
(→Bot Cleanup: wops, I guess I've been thinking too much about professions lately) |
|||
Line 8: | Line 8: | ||
I'll run over the crafting boxes, too, at some point soon. [[User:BMacZero|BMacZero]] ([[User talk:BMacZero|talk]]) 21:50, 17 September 2013 (PDT) | I'll run over the crafting boxes, too, at some point soon. [[User:BMacZero|BMacZero]] ([[User talk:BMacZero|talk]]) 21:50, 17 September 2013 (PDT) | ||
: Great stuff as always, BMacZero. I can't stress enough how useful your bot is. I'll start updating and isolating the descriptions later, once I finish other sections. BTW, one where your bot would be more than welcomed is the [[crafting]] page. Can you look into that? So far I only updated the weapons section. Also, note that there you used the code names for the used skills, but not the skill names proper (gun instead of firearms, I did a quick find & replace yesterday to fix them). I guess you should consider parsing them through skills.json. Again, if for any reason you can't do all this just let me know and I'll update that page manually. --[[User:Kenoxite|Kenoxite]] ([[User talk:Kenoxite|talk]]) 00:22, 18 September 2013 (PDT) | : Great stuff as always, BMacZero. I can't stress enough how useful your bot is. I'll start updating and isolating the descriptions later, once I finish other sections. BTW, one where your bot would be more than welcomed is the [[crafting]] page. Can you look into that? So far I only updated the weapons section. Also, note that there you used the code names for the used skills, but not the skill names proper (gun instead of firearms, I did a quick find & replace yesterday to fix them). I guess you should consider parsing them through skills.json. Again, if for any reason you can't do all this just let me know and I'll update that page manually. --[[User:Kenoxite|Kenoxite]] ([[User talk:Kenoxite|talk]]) 00:22, 18 September 2013 (PDT) | ||
:: I think I already have some code for generating that crafting table. I'll run it when I get a chance (probably tonight). Thanks for pointing out the skills thing. I think the best solution to that is to just update [[Template:SKtoname]] so that it maps the game identifiers to the real names. All the skills get run through that template before they're shown already. It just seems to be expecting "sk_" prefixes on everything, which they don't have. [[User:BMacZero|BMacZero]] ([[User talk:BMacZero|talk]]) 09:20, 18 September 2013 (PDT) | |||
==Moderation requests== | ==Moderation requests== |
Revision as of 16:20, 18 September 2013
Bot Cleanup
Bot's done updating items to 0.8. Weight seems to be all good to go! I added the quote template as you suggested, but I only did it if the page had text that exactly matched the in-game description. So if people had altered the text for typos or to add links, it didn't catch those.
I also had it remove all those pesky <nowiki> tags from the Infobox parameters. They were interfering with our ability to do math or comparisons on them. Now, we can possibly use #expr Parser functions to make the boxes reactive to positive/negative values or whatever.
I'll run over the crafting boxes, too, at some point soon. BMacZero (talk) 21:50, 17 September 2013 (PDT)
- Great stuff as always, BMacZero. I can't stress enough how useful your bot is. I'll start updating and isolating the descriptions later, once I finish other sections. BTW, one where your bot would be more than welcomed is the crafting page. Can you look into that? So far I only updated the weapons section. Also, note that there you used the code names for the used skills, but not the skill names proper (gun instead of firearms, I did a quick find & replace yesterday to fix them). I guess you should consider parsing them through skills.json. Again, if for any reason you can't do all this just let me know and I'll update that page manually. --Kenoxite (talk) 00:22, 18 September 2013 (PDT)
- I think I already have some code for generating that crafting table. I'll run it when I get a chance (probably tonight). Thanks for pointing out the skills thing. I think the best solution to that is to just update Template:SKtoname so that it maps the game identifiers to the real names. All the skills get run through that template before they're shown already. It just seems to be expecting "sk_" prefixes on everything, which they don't have. BMacZero (talk) 09:20, 18 September 2013 (PDT)
Moderation requests
Place your moderation requests below (block spammers, etc). --Kenoxite (talk) 04:12, 10 August 2013 (PDT)
User:Jimmyhaynbj is a SPAMbot. Rivet (talk) 21:04, 18 August 2013 (PDT)
It has been taken care of. Thanks for reporting! --Kenoxite (talk) 01:37, 19 August 2013 (PDT)
Weight update
I've noticed that since the game has started using the new weight system, the wiki doesn't seem to understand the new values. What do we need to do to get it up to date? Rivet (talk) 10:20, 21 August 2013 (PDT)
For that most of the used templates and quite a lot of the items themselves will need to be updated. In the case of the ammo, which seem to be what you're focusing on, the template needing change would be this one. You'll see there the formula used to calculate the displayed weight:
|weight={{#expr: {{{weight|0}}}/100.0}}
According to the weight update changelog:
- In-game weights are now displayed to the 1/10th of a lbs/kg
So it should be:
|weight={{#expr: {{{weight|0}}}*0.001}}
For a complete list of the weight changes this commit should be revised, but lots of entries lack context (name of item is left out) and the code itself should be used instead.
As a general note regarding templates, you can always see a list of the used ones by any page when editing such page. It'll be displayed at the bottom. Most item pages use them now, so to make a global change like this the template should be edited. If the item itself has changed then you'll also need to edit the item page proper.
I've updated the ammo and firearms template myself and will look into others after posting this. I'll focus on updating templates, not items, but I might update some of them too. I'll see. Feel free to help.
EDIT: The item list pages should also be updated. Both the page themselves to update individual item weights and the row templates. For example, I had to update both the handguns list page and the firearms row template for the handguns. Updating all the templates and items is going to be quite a huge task. Maybe we should leave this to the bots.
--Kenoxite (talk) 00:33, 22 August 2013 (PDT)
Weight system was change, but it's still in experimental builds, should wiki describe that before it goes stable? I'm not against it, but people who come here searching information should probably know that. Version system of dwarffortresswiki is nice, but probably overkill here. --Cootue (talk) 01:15, 22 August 2013 (PDT)
You're right, I should have taken that into consideration. We probably should keep this on hold until 0.8 is out. So far only the firearms templates where changed, though, and they could be reverted in any case if it looks problematic.
And, yes, that feature you mention might be a bit too much for this wiki as of now, although I guess there's someone around there willing to get their hands into it. --Kenoxite (talk) 01:23, 22 August 2013 (PDT)
Would the bot update the headers for the firearms? For ex the archery table doesnt have ranged damage listed but melee instead --Mattamue (talk) 18:02, 3 September 2013 (PDT)
That could be done manually. For that you'd need to create a new table header that includes any missing info, then the row templates and finally the weapon entries themselves. If you don't know how I can look into it myself. Just remind me again if it's not updated a week or so after 0.8. --Kenoxite (talk) 01:37, 4 September 2013 (PDT)
Redirects to Comestibles
I saw on recent changes that you made some new redirects. Is there any reason for redirecting Poppy painkiller and two others to Comestibles#item instead of the item pages? I made a lot of edits changing links to Diseases#disease to the disease pages, since the information is there. Cimanyd (talk) 20:04, 15 September 2013 (PDT)
- That's me forgetting about the whole item pages revamp. I'll update them to the page links proper later, both in the guide and the redirects. The rest of anchor links you might see still around are legacy before BMacZero started to use the bot to create all the item pages. Back then that was the only way to link to an item properly, like the ones you updated. --Kenoxite (talk) 00:51, 16 September 2013 (PDT)