User talk:Kenoxite

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search


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)
Good Idea. Actually, I just created a new template: Template:SKtoname1. It replaces any skill listed in skills.json to their in-game name. Use at will. --Kenoxite (talk) 09:36, 18 September 2013 (PDT)

Moderation requests

Place your moderation requests below (block spammers, etc).

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)

Not sure if we can IP-block 182.253.52.204 ? Been leaving Bacon about. KA101 (talk) 19:37, 6 February 2014 (PST)

It should be sorted now. --Kenoxite (talk) 10:13, 7 February 2014 (PST)

User:Wuad2014 is a spambot, please ban it. --Infectedmochi (talk) 22:10, 21 February 2014 (PST)

User banned. Thanks for reporting. --Kenoxite (talk) 08:54, 25 February 2014 (PST)

Just nailed some Bacon from User:Dongguaxiao . Probably a SEO employee. May as well upgrade the credentialing process at this rate :-( KA101 (talk) 06:53, 24 February 2014 (PST)

User booted, thanks for reporting. Although I don't agree on making the registration or logging in process even more strict. All it's needed is some monitoring and quick response from part of an active and involved admin. Right now, I'm none of both. Either you, Soyweiser, Rivet or whoever is willing, should nag glyphgryph a bit to be granted some admin powers. Two new admins would be even better. --Kenoxite (talk) 08:54, 25 February 2014 (PST)

Bacon from User:Alina8988 . Request page deletion and user-booting, please. KA101 (talk) 01:52, 11 September 2014 (PDT) Automated: User:Alina8989 . As before, please. KA101 (talk) 22:58, 11 September 2014 (PDT)

User blocked. Pages deleted --Kenoxite (talk) 05:20, 13 September 2014 (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 [[Poppy Painkillers|the item]] [[Poppy Sleep|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)

Bot for 0.9?

Hey! Good to see you back. Don't get burnt out :) do you know how to run the bot for all our new content or who we can poke to get it done? I tried bmac but only on the wiki. --Mattamue (talk) 21:30, 20 November 2013 (PST)

BMacZero is the only bot user that I'm aware of. Try to send him a PM in the forums, but he might not be interested anymore or doesn't have the time to run it. There's also been a lot of internal changes lately (my embedding system, new variables for pages -in fact, all those present in the jsons, unlike the selected few we were using before, etc). All this adds to the workload we put on him and, being all contributions to this wiki voluntary, I'm sure it doesn't help.
Personally, I'm not planning on using or creating a bot. There's enough work to do with other aspects other than adding new entries. The task I set myself that I discontinued during my burn-out break. If you remember, there's TONS of work still to be done. Work that can last from weeks (if coordinated) to months (if solo).
What I've been looking into is ways of mixing manual and automated processes. See the Category:Enemies page to check one feature I'm testing (read the box and use the link). As you'll see, mediawiki allows to preload templates on page creation, so you'd only need to add the data from the json and not create the whole page as before. Although I have yet to decide the exact procedure, a possible implementation would include support for this extension and, finally, a tweaked version of this one. All this would allow to add new pages just by typing the name (or id) of the new item/creature/etc in an input box, then the new page would be automatically created and all the data parsed from the json files found in the github repo. For this to work a parser should be created, so the External Data extension is fed just the info from that given item/creature/etc, and not the whole json (which includes all the stuff from a category, which would confuse that extension). By using templates for the #get_web_data we could theoretically make every page data of a given category to automatically update as soon as the github json updates, show only the data of the last stable, or even offer two different versions for both the latest stable and the latest experimental. That means that once a page is created, you don't have to worry about it being updated anymore.
For the updating of the remaining pages and sections (the task I mentioned above), I'm currently considering using this extension. Although the resulting pages would more than likely still need to be revised, it'd make the updating to the current system somewhat easier (at least less time consuming).
I still need to contact GlyphGryph in any case. Those extensions should be installed, someone should have to get his/her hands dirty in some php and, maybe, the wiki to be updated to the latest release (currently using 1.19). But if all what I mention was to be implemented properly, we'd have a semiautomatic system that anyone could use, which would add new content and keep it updated just by writing the name of the new page in an input box, and without relying on dedicated bot or tech savvy users. I'll also propose him to create a new subforum solely dedicated to the wiki, so we can coordinate, exchange instructions and tips, and give or take feedback more easily. But, well, we'll see how this turns out.
--Kenoxite (talk) 04:28, 21 November 2013 (PST)


Yesterday I contacted GlyphGryph, exposing him in depth all the current issues affecting the wiki and all my suggestions, including and expanding on the ones I mentioned above. He seemed very understanding and willing to help on fixing all the current mess (which simplified, focuses on more dedicated manpower and some kind of automated framework). On my side, I've decided to step away from the wiki for an undetermined amount of time. --Kenoxite (talk) 00:29, 25 November 2013 (PST)
Roger, thank you for the update Kenoxite. I always appreciated your work and thank you for it :) --Mattamue (talk) 07:08, 26 November 2013 (PST)

Muslim cheating

HELP! Somebody's stuck a bunch of hidden weblinks to a 'muslim wedding organizer' in the cheating page. You can't see it from the page itself, you gotta read the source. Rivet (talk) 21:17, 17 February 2014 (PST)
Yeah, it is pretty odd, it is the same thing over and over. And only that page. The bot also keeps reverting the changes made to the page. --Soyweiser (talk) 01:25, 18 February 2014 (PST)
That user is now banned, thanks for reporting. It seems it was a "dormant" account I didn't notice earlier, so it was able to bypass the protection I placed in after the last attack, which limits to "veteran" accounts only (anonymous and new accounts can't touch it). --Kenoxite (talk) 09:16, 25 February 2014 (PST)

Items and recipes

As many here are aware, I've developed the web item/recipe browser. While originally it was just a mockup to improve the in-game crafting menu, it was obvious it wouldn't be easy to do in the game, but I kept working on this and it has been fun.
The app is now pretty complete, and I've started adding item catalogs (armor, books, melee). It's a great addition to the wiki, as it doesn't need manual intervention. It is also handy for you guys to update the wiki using it as a referene.
I would like to know what you think of the browser and how we can work together to achieve the best user experience. --Sheco

Still alive?

If you're still active, I have to ask that you put up a page on how to properly maintain and update it. Been cleaning up and updating for the past couple weeks and have yet to untangle the mysteries of the "footers" templates among various other things. Thank you. --NotaZombie (talk) 20:43, 28 August 2014 (PDT)