Make 'subnet' feature of $wgRateLimits work with IPv6
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 16 May 2013 06:19:13 +0000 (08:19 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 16 May 2013 06:19:13 +0000 (08:19 +0200)
commit6352be71c603bb9e3059278fbdb731c9ba62b251
tree0a44ab425137ef0447dd9246df3ad06c7aa97829
parentaf6d3572fa0e91248ab71e0af5fc619aacf125ae
Make 'subnet' feature of $wgRateLimits work with IPv6

- 'subnet' will aggregate limits for a /64 subnet on IPv6
- Updated DefaultSettings.php to mention this
- Only call WebRequest::getIP() when it will really be used

Change-Id: Ia96800df5fb498a79e2c0527baee2392cd4623c7
includes/DefaultSettings.php
includes/User.php