"I’ll fight ye every inch of the way."
Well, fairly complete anyway. You can’t blame the writers of Doctor Who for seeking inspiration from the moon from time to time. Frankly, when the entire universe, now and always, is your playpen for making up dramas, you’re going to occasionally cast about you for inspiration, seizing upon anything you can see and starting from there. We’re just lucky no one has seriously pitched an alien race that looks like a laptop on a desk with a big empty white page on its screen, although it’s bound to happen sooner or later.
So, here is a reasonably concise list of the times the Doctor has gone to visit the moon, or referred to the moon, or being involved in a thing that is influenced heavily by the moon. I say reasonably because a) this only applies to TV stories and b) I might’ve missed one, or two.
Let’s see, shall we?