Wikipedia defines a rational point as "A rational point on an algebraic variety is a point whose coordinates belong to a given field"
But Hartshorne defines a $k-$rational point on a scheme $X$ over a field $k$ as a point $x \in X$ such that $\mathscr O_{X,x}/ \mathfrak m_x \approx k$.
First question, is the isomorphism $k \rightarrow \mathscr O_{X,x}/ \mathfrak m_x$ required to be the composition $k \rightarrow \mathscr O_X (X) \rightarrow \mathscr O_{X,x} \rightarrow \mathscr O_{X,x}/ \mathfrak m_x$ or can the above morphism not be an isomorphism and we can just consider $x$ a rational point if there exists any isomorphism $k \xrightarrow{\approx}\mathscr O_{X,x}/ \mathfrak m_x$?
Secondly, the definition from wikipedia considers two fields $k' \subset k$ and defines what it means for a point to be $k'-$rational if your variety is over $k$, how do we extend this relativity to Hartshornes definition?
If you have a scheme over $k$ then you naturally have a scheme over $k'$ because of the map $\text{Spec}(k) \rightarrow \text{Spec}(k')$ and then we can talk about $k'-$rational points as per the local ring definitions. Is this the correct way of looking at things?
My final question is why does the Wikipedia and Hartshorne notions of rational points coincide?
If we think about the case $X = \text{Spec}(\mathbb R[x,y]/(x^2 -y))$ over $\mathbb Q$ is there a bijection
$$\{(x,y) \in \mathbb Q \times \mathbb Q : x^2 = y \} \rightarrow \{\mathfrak p \in X : \mathfrak p \text{ is a } \mathbb Q-\text{rational point and a closed point of X}\}?$$
Thank you in advance for answering my question!