All excavations and other mining work and improvements made in prospecting and mining operations shall be fenced or otherwise protected to prevent the same from being a menace to stock on the land.