Miner was helping remove a bucket from a Cat 232D. As they hit the locking pins loose, from the dirt and mud build up, the bucket broke loose and swung forwards and backwards striking left foot. The arms of the skid steer were up and the bucket rolled forward putting the cutting edge on the ground. the operator was in the cab at the time.