# How does the "staff like weight" site setting work?

**URL:** https://meta.discourse.org/t/how-does-the-staff-like-weight-site-setting-work/67421
**Category:** Support
**Created:** [4 augustus 2017 om 02:53 UTC](https://meta.discourse.org/t/how-does-the-staff-like-weight-site-setting-work/67421 "2017-08-04T02:53:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [4 augustus 2017 om 02:53 UTC](https://meta.discourse.org/t/how-does-the-staff-like-weight-site-setting-work/67421/1 "2017-08-04T02:53:04Z")

</div>

A few questions:

1. Is it additive or multiplicative? To make it “no extra weight” should it be set to 1 or 0?
2. Can it be set to a non-integer value like 1.5?
3. Does it impact digests as well as the “top” topic list?

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [4 augustus 2017 om 03:48 UTC](https://meta.discourse.org/t/how-does-the-staff-like-weight-site-setting-work/67421/2 "2017-08-04T03:48:53Z")

</div>

> [@mcwumbly](#):
>
> Is it additive or multiplicative? To make it “no extra weight” should it be set to 1 or 0?

My understanding based on [this line of code](https://github.com/discourse/discourse/blob/5012d46cbd3bcf79b7351f7d2d41003496a796c5/app/models/post_action.rb#L443) is that setting it to 1 makes it count the same as other likes (setting it to 0 would make it count for nothing).

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [11 augustus 2017 om 17:33 UTC](https://meta.discourse.org/t/how-does-the-staff-like-weight-site-setting-work/67421/3 "2017-08-11T17:33:24Z")

</div>

> [@mcwumbly](#):
>
> Is it additive or multiplicative? To make it “no extra weight” should it be set to 1 or 0?

It is multiplicative, so 1 is no extra weight

> [@mcwumbly](#):
>
> Can it be set to a non-integer value like 1.5?

It should be allowed, if not then it is a bug.

> [@mcwumbly](#):
>
> Does it impact digests as well as the “top” topic list?

Yes I think it impacts the digests. (@neil can confirm)

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [11 augustus 2017 om 21:40 UTC](https://meta.discourse.org/t/how-does-the-staff-like-weight-site-setting-work/67421/4 "2017-08-11T21:40:04Z")

</div>

Yes, it’s used in digests too because it affects the overall “score” of a post.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [8 juni 2024 om 12:44 UTC](https://meta.discourse.org/t/how-does-the-staff-like-weight-site-setting-work/67421/5 "2024-06-08T12:44:21Z")

</div>

This topic was automatically closed after 2500 days. New replies are no longer allowed.
