KUALA LUMPUR, Nov 14 (Bernama) -- A moderate earthquake with a magnitude of 5.2 was detected off the west coast of North Sumatra, Indonesia, this morning.