Regarding Stalin, and the link you posted, please read the last paragraph of that section. Again, read what you post.
Moreover, regarding Stalin, many of his killings were part of the purges, where, he killed many of the Russian officers who were known to have had sympathies for the Tsarist...