[Mediawiki-l] [PATCH] anonymous editing
Daniel Kinzler
daniel at brightbyte.de
Wed May 27 07:25:22 UTC 2009
Nikola Smolenski schrieb:
> Hanno Böck wrote:
>> Attached is a patch to mediawiki that adds a new option
>> $wgDontSaveIPs
>>
>> What it does is allowing completely anonymous wikis by replacing the IP adress
>> with 0.0.0.0.
>>
>> (a bit background, there's a german campaign wirspeichernnicht.de, which wants
>> to enforce a more anonymous web and provides a couple of descriptions how to
>> disable ip saving in different apps - for mediawiki it tells to change the
>> source, though I thought a clean option would be better:
>> http://www.wirspeichernnicht.de/content/view/9/24/)
>>
>> Attached patch is against mediawiki 1.15rc1. Would be nice if you would apply
>> it.
>
> I was thinking about this issue and I believe I have "the best of both
> worlds" solution, if someone is willing to code it. Take an IP address,
> concatenate it with a long string (salt), take its MD5 and use that as
> the anons' username. Two different IPs will have two different anon
> usernames, but for the readers it will not be possible to find out what
> is the original IP from the username.
To take this further: just add a hook point for munging the IP before it is
stored. So plugins for different behavior can be written easily, and no new
global config var is needed.
--- daniel
More information about the MediaWiki-l
mailing list