For a history of "the golliwog" look
here.
folk le
Please note the six paragraphs that come before the one you referred to and take care to pay attention to the Enid Blyton and Agatha Christie references.
And add to the whole picture the fact that the term "Gollywog" has been used deliberately as a term of abuse.