On Swedish Wiktionarys common.js, http://sv.wiktionary.org/wiki/MediaWiki:Common.js , is a script that takes the visitors IP-addresses and transforms it into a non-revertable number, and then sends it to an external private server that belongs to one if the administrators on Wiktionary. The script is used for statistics on visited articles.
To me it seems like this kind of script is a violation of the privacy policy, since it is possible to get the IP-numbers of all visitors, even though it is not done in this case. I should also mention that a discussion was held before this script was activated and that no one objected to it.
Are these kind of scripts allowed?