My understanding of acceptability and grammaticality is this: As someone who is able to communicate in a given language I find given sentences that I hear or read more or less acceptable (in terms of grammar) - from "perfectly" via "barely" to "not acceptable at all". Normally, I find the sentences that I generate acceptable (or at least I am aware that and why they are not acceptable). Statistically speaking: The probability of a sentence to be uttered correlates positively with the acceptability of the same sentence: the more acceptable the more likely to be uttered, the less acceptable the less likely to be uttered.
So in my understanding, acceptability belongs to competence, and grammaticality belongs to performance. But in the Wikipedia article on the Acceptability judgment task I read
"The difference between acceptability and grammaticality is linked to the distinction between performance and competence in generative grammar."
From the order of words this suggests that acceptability belongs more to performance and grammaticality to competence - just the other way around.
Is there a mistake in my thinking about acceptability, grammaticality, competence and performance - or in the intention (or my understanding) of the Wikipedia quote?