The wiki is outdated in that regard, because the formula was changed in 1.31. But I don't know how it was changed exactly. What I can say is that the AE for countries right next to the taken provinces has not changed and the AE for countries which are not next to the target gets reduced by their actual distance in some way and not distance rounded to the next 100 like before.
They get reduced AE from having a different religion, but they will still get AE. For a province right next to them it will probably be something like
Code:
dev*0.75*(1-AEimpact)*(1-adminEfficiency)*1.5*0.5
AEimpact are your countrywide AE impact modifiers(e.g. 7.1% from 71 prestige).That formula is if you take the provinces in a separate peace deal. If you take the provinces in the main peace deal, the AE gets multiplied by 0.75 from the AE reduction from the imperialism CB.