Hi mo,
I also need to have a DokuWiki-Installation with turned out IP-Logging (or at least only showing IP to the Site-Admin) because I`m planning to run a leaking-wiki around subscription traps and/or internet-fraud in germany. >> Seee my thread:
http://forum.dokuwiki.org/thread/6953
As far as I have understand from your code it will fully disable IP-Logging by just changing all IPs to 0.0.0.0, which will lead to a problem with page-locking on edit. Sounds not like a small problem!
If site is not locked by editing it; I wonder if this will cause a lot of mess if 2 people on the same time will try to edit?
Maybe you can help me out, as I personnally did not have any programming skils to change the code as I might need it. I think for my "leaking-wiki" it will more comfortable to just make sure that only an admin can see the IPs; don`t you think?
Greetings,
MacGyver