User talk:Harakoni

Jump to navigation Jump to search

About this board

Summary by Harakoni

Market Value template not rounding properly. Updated code to fix.

Dakon (talkcontribs)

I don't know if you are the right person to contact but I noticed an issue with the rounding of the market values in the info box on the top right of pages about weapons. The market values are rounded to the nearest ten, which is incorrect.

Example: I recently corrected the market value of the EMP launcher to 505 but it is rounded up to 510 in the info box.

As described on the page about market value, "items with a market value of above 200 will have their market value rounded to be divisible by 5, with a remainder of 2.5 being rounded down."

The market values on the page https://rimworldwiki.com/wiki/Weapons are rounded correctly, which creates an inconsistency.

It would be great if you could let someone know that has the permissions to fix this.

Harakoni (talkcontribs)

Yup, I'm the right person, or one of them at least. There definitely is an issue in the rounding calcs somewhere. I'll take a look and see if I can get it sorted.

But also always feel free to investigate and experiment if you want to. The issue is very likely in Template: infobox main or Template: Market Value both of which you should have permission to edit (also templates used on a page are listed at the bottom when you edit). If you're editing a template, just check a few pages its used on and make sure that you didn't break anything. If you did, then revert. No harm, no foul.

Harakoni (talkcontribs)

Alright, it appears to be working as intended now. There was an issue with the implementation of the Template:Market Value. I've done some rough testing and it seems to now match the method listed on Market Value. If you find any more problems with the template, or anywhere you think its being used to round values, let me know.

Dakon (talkcontribs)

Seems to work perfectly now. Thanks.

Summary by Harakoni

Accepted Moderator Role.

Zesty (talkcontribs)

Hi Harakoni,

If you are interested, I could use an additional wiki moderator. I see you have been making great contributions to the wiki since March, and I think you'd be a good fit for the mod team.

Please let me know if you're interested.

Harakoni (talkcontribs)

What would the responsibilities be? Part of why I have been so active lately is free time due to Corona slowing everything down. I'll eventually have to scale back at least somewhat and don't want to commit if I can't deliver. That said, I am interested in helping out more if I can.

Zesty (talkcontribs)

Responsibilities are mostly:

  • Cleaning up spam
  • Helping users delete pages that aren't needed anymore
  • Helping users with wiki questions

It's a pretty straight forward job, and you seem like a good fit. We could use the help given the elevated level of spam recently. It's no big deal if you change your mind later -- you'd always be welcome back to the mod team whenever you find that you do have some time.

Harakoni (talkcontribs)

Then absolutely. I'd be glad to help.

Zesty (talkcontribs)

I've bumped up your usergroup to mod.

If you use Discord, please send me your Discord User#ID and I'll invite you to the wiki Discord.

PigeonGuru (talkcontribs)

Would you like to start a sandbox within your userspace?

Harakoni (talkcontribs)

Actually yes, thats a great idea. Its probably better than making a mess of my user page Harakoni (talk) 04:07, 19 August 2020 (UTC)

PigeonGuru (talkcontribs)
Harakoni (talkcontribs)

Thanks

Creating page so new users can post if neccesary

1
Harakoni (talkcontribs)

New users can't create talk pages so

There are no older topics