The logic seems hollow -- it might make sense to prevent answer duplication but why should the person who asked the question not have the reputations added?
Or am I missing something here?
The logic seems hollow -- it might make sense to prevent answer duplication but why should the person who asked the question not have the reputations added?
Or am I missing something here?
The mechanics of the community wiki flag are as blind as Lady Justice: if a post is marked community wiki, reputation stops accruing regardless of what the circumstances behind that which is marked as such. Simply:
function addRep(value) {
if (!this->communityWiki) {
this->user->addRep(value);
}
}
As for why there's no distinction, we need to go back to what the community wiki flag is for.
The community wiki flag is used when it's determined (either by the original author of the post or automatically) that the post could benefit from the community taking ownership of it. Since the community as a whole takes ownership of the post, there's no single person to award the reputation to and it is not awarded at all.
To put it another way, once the community wiki flag is set, you are no longer considered to be the owner of the post, so that's why you stopped getting reputation for it.
In this case, it looks like you ran into an automatic triggering of the flag that occurred when the answer got 15 answers. You can think of the reason why posts automatically convert to community wiki as a reaction to problem with scope: the vast majority of constructive, pointed questions only have a few answers. When a question starts to get a ton of answers, two things have likely occurred:
In both cases, community ownership winds up being a good thing as it allows others to address the quality of both the question and answers: community wiki relaxes the rep requirement to edit, so answers can be made more useful and distinct and the question can be made more specific by people who would otherwise just post a new answer.