Derivative works
Lets assume for this argument that the original photo image file as taken by the monkey qualifies for public domain status.
Unless the contribution to the derivative work as posted on Wikimedia was significant, it remains in the public domain. A small amount of rotation, some cropping and a slight tweaking of the color balance would not qualify.as significant and even then only those specific derivative changes would be protected.