https://bugzilla.wikimedia.org/show_bug.cgi?id=23343

--- Comment #34 from Marcin Cieślak <[email protected]> ---
To everyone wanting to have this implemented quickly: 
it would make sense do prepare a set of test cases to check the code against.

Test cases should take into account:

1) soft- and hardblocking
2) IPv4 and IPv6 addresses
3) Single IP and range blocks
4) Real source IP address and XFF
5) IP block exemption
6) Potentially also local and global blocks

Something like, 

Case 1. There is a softblock range on "90.4.0.0/16" 
Logged-in user "A" from "80.1.2.3" with XFF "90.4.5.6" tries to edit. 
Case 2. There is a hardblock range on "90.4.0.0/16" 
Logged-in user "A" from "80.1.2.3" with XFF "90.4.5.6" tries to edit. 
Case 3. There is a hardblock range on "90.4.0.0/16" 
Logged-in user "A" from "80.1.2.3" with XFF "90.4.5.6" tries to edit. The user
has "ipblock-exempt"

etc.. 

We have also stuff like https://www.mediawiki.org/wiki/Manual:$wgBlockCIDRLimit
and maybe other affecting settings.

I would love to have a pretty complete decision tree to test the implementation
against. Maybe such a tree should be published on www.mediawiki.org later.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to