It refers to a african's native tongue and how every other word sounds like woogie or boogie. When a white person uses it, they use it to mock. Same with ooga booga, or talking to Mr. and Mrs. Click Click Durk from west africa.
HEY! You niggers turn that music down! Niggers make me sick! WOOGIE BOOGIE NIGGER! WOOGIE BOOGIE! - Clayton, Black Klansmen
Song sung by Chris Pontius about cameraman Rick Kosick in the movie “Jackass 2.5”. It goes a little like this: “ we met Ricky wicky in the spring of ‘69. He loved to dance the boogie woogie and he danced the boogie woogie fine. Now it’s 1987. He’s a little bit older. He traded his camaro for a crimson dodge lawnmower. He boogie woogied all night. Boogie Woogie.”