Here are the two scenarios you describe, one with negative feedback (left), the other with positive (right):
simulate this circuit – Schematic created using CircuitLab
The only difference between the two circuits is the polartiy of op-amp inputs; OA2's inputs are swapped with respect to OA1. In both circuits, some fraction of a change in the output is fed back to one of the inputs, but the effect of that change will be grossly different in each case.
On the right, where feedback is positive, a rise in output causes the non-inverting input potential to also rise. Being the non-inverting input, that rise further increases the output potential, which increases non-inverting input potential, which further increases the output, and so on. The result is that the output hurtles upwards until it can't go any further. The same thing happens in the opposite direction; when the non-inverting input is slightly negative, the output falls, making the input more negative still, making the output even more negative and so on, until he output gets stuck at the negative extreme.
Positive feedback ensures that \$V_P\$ and \$V_Q\$ are as different as it's possible for them to be.
On the left, a rise in output potential causes a rise in potential at the input as before, but this time the rise occurs at the inverting input instead. A rise at the inverting input will incur a fall in output potential (and vice versa), in opposition to any change in output. That is, any fluctuation in output tends to correct itself, and it doesn't go off on some wild swing to extremes. In fact, what happens is that it settles at whatever potential is required to satisfy this condition:
$$ V_P = V_Q $$
In each case the algebra that describes behavior may look similar, but there's a crucial sign difference that causes one circuit to behave very differently from the other. For instance, the formula for the left hand circuit, relating output to input is:
$$ V_{OUT} = -\frac{R_2}{R_1} $$
That would be a straight line on a graph of \$V_{OUT}\$ vs. \$V_{IN}\$, behaviour we called "linear".
For the circuit on the right, a graph of \$V_{OUT}\$ vs. \$V_{IN}\$ would have vertical discontinuities at the thresholds, and horizontal portions elsewhere, very non-linear behaviour.
That's why the article you referred to says "a comparator cannot be operated as a hysteresis comparator when a negative feedback is applied"; either you get linear behaviour with negative feedback, or hysteresis from positive feedback, and never the twain shall meet. If you do try to mix them, you still end up with one or the other, depending on which of the two feedback quantities is dominant.
With regard to calculating the thresholds when input comes from a resistor potential divider, having formulae is OK, but knowing why is priceless. One way (possibly the simplest) is to take the Thevenin equivalent of that divider:
simulate this circuit
Replace the components in the blue box with their Thevenin equivalent:
simulate this circuit
Thevenin resistance \$R_{TH}\$ is
$$ R_{TH} = R_3 \parallel R_4 = \frac{R_3R_4}{R_3+R_4} $$
Thevenin voltage \$V_{TH}\$ is
$$ V_{TH} = V_{IN} \frac{R_4}{R_3 + R_4} $$
Now you have resistors \$R_{TH}\$ and \$R_1\$ in series, with a combined resistance of \$R_{TH} + R_1\$, which permits you to calculate thresholds using the usual method, yielding thresholds in terms of \$V_{TH}\$.
Then you can use the above relationship between \$V_{TH}\$ and \$V_{IN}\$ to express those thresholds to be in terms of \$V_{IN}\$.
An example:
simulate this circuit
$$ R_{TH} = R_3 \parallel R_4 = \frac{12k\Omega \times 6k\Omega}{12k\Omega + 6k\Omega} = 4k\Omega $$
$$ V_{TH} = V_{IN} \frac{6k\Omega}{12k\Omega + 6k\Omega} = \frac{1}{3}V_{IN} $$
simulate this circuit
simulate this circuit
Assuming that CMP1 is rail-to-rail output, reaching extremes of ±12V, the switching thresholds of \$V_{TH}\$ can be calculated like this:
$$
\begin{aligned}
V_{TH(L)} + \left(V_{OUT(H)} - V_{TH(L)}\right) \frac{R_5}{R_2 + R_5} &= 0 \\ \\
V_{TH(L)} + \left(12 - V_{TH(L)}\right) \frac{50k}{150k} &= 0 \\ \\
V_{TH(L)} + 4 - \frac{1}{3}V_{TH(L)} &= 0 \\ \\
\frac{2}{3}V_{TH(L)} = -4 \\ \\
V_{TH(L)} = -6 \\ \\
\end{aligned}
$$
$$
\begin{aligned}
V_{TH(H)} + \left(V_{OUT(L)} - V_{TH(H)}\right) \frac{R_5}{R_2 + R_5} &= 0 \\ \\
V_{TH(H)} = +6 \\ \\
\end{aligned}
$$
From before, we established the relationship between \$V_{TH}\$ and \$V_{IN}\$, and we can use that relationship to obtain thresholds in terms of \$V_{IN}\$:
$$
\begin{aligned}
V_{TH} &= \frac{1}{3}V_{IN} \\ \\
V_{IN} &= 3V_{TH} \\ \\
V_{IN(L)} &= 3 V_{TH(L)} \\ \\
&= -18V \\ \\
V_{IN(H)} &= 3 V_{TH(H)} \\ \\
&= +18V \\ \\
\end{aligned}
$$
Let's run a simulation to verify:
simulate this circuit
Sweeping the input \$V_{IN}\$ from −24V to +24V, and back, input \$V_{IN}\$ is blue, output \$V_{OUT}\$ is orange: