My mother (Born 1918: Died 2000) sang it thusly:Mary in the garden, sifting cinders,
Cocked up her leg and farted like a man,
The force of the blast broke fifteen winders
And the clappers of her arse went bang bang bang.I suspect this is a regional variation Deptford/New Cross SE London