This may be a repeat question, but I read the answer to similar questions previously asked on Support desk and also read the MediaWiki manual - couldn't find the solution I was looking for.
Is there any method to hide the IP address of the users from everyone except the administrators (or if required hide from the administrators too) in a website running on MediaWiki software while still letting users participate anonymously?
Okay, so let me break it down -
- I am talking about any website running on MediaWiki software - and not only the mediawiki.org website.
- The anonymous editing is enabled - $wgGroupPermissions['*']['edit'] = true;
- Usually the "Recent changes", edit history shows the IP address of the editor when not logged in. This is where the problem is.
Clearly, this is not what it means by anonymous editing, because the user have to give away the IP info publicly.
So, I was thinking if there is a way to show a fixed username to all editor who are participating while not logged in - e.g. showing "Anonymous editor" or "Not logged in user" in place of their IP address. While at the same time it may allow the system to log the IP address (so that the admin can view and if required block a particular IP address). The thing is just not to make the IP available publicly.
When I searched the previous threads the commonly suggested answers were -
- Disable anonymous contribution
- Delete the history altogether
- The $wgShowIPinHeader solution - which is not available in recent MediaWiki releases.
Is there any way to do this?