Wog is a slang word with several meanings, some commonly derogatory, some not.
British racial term originating in the colonial period of the British Empire. It was used as a label for the natives of India, North Africa, the Mediterranean/Eastern Europe and the Middle East. By the 1950s it had become a pejorative term used in order to offend. In modern British parlance it has become less prevalent and has been applied to any type of dark skinned person.