I found that there were some events that automatically convert questions/answers to community wikis (see Stop using community wiki as a reputation denial mechanism). For example,
- Automatic conversion after 10 edits
- Automatic conversion after 30 answers
- Automatic conversion after 5 users edited the post
I am locating into answers of community wiki questions and their edit histories to understand whether I can identify those triggers.
However, I found some challenges. So, to identify whether 30'th answer automatically triggers the community wiki conversion, I match the time and user id of the 30th answer with the time and user id of community wiki conversion event in the PostHistory table (PostHistotyTypeId=16). Interestingly, sometimes I found the match at 27, 28 or 29'th answer. I even found the match at the 8th answer. (see this community wiki questions and the 8th answer in time: Android error: Failed to install *.apk on device *: timeout). Similarly, for the edits (I consider PostHistoryTypeId=4,5,6 for counting edits). I found that conversion occurs at 11'th edit. See this post: https://stackoverflow.com/posts/2371292/revisions Here, OP N1.1 performs more than 10 edits but the community wiki has been attributed to a different user (a diamond moderator).
This warns me that I am possibly missing something important. What is the proper way of detecting which answer or edit triggers automatic conversion? If the process I am following is correct, why I am finding triggers at a different position?