GSoC/GCI Archive
Google Code-in 2013 Wikimedia

MediaWiki: Block messages for rangeblocks are confusing

completed by: Theo Patt

mentors: Quim Gil

MediaWiki core has this little problem that you could fix:

Currently, the block message for both single blocked IP's and rangeblocks is

Information about the block: account creation from this IP address (address or
range) was blocked by (blocking admin), who gave the reason the reason

In case of a range block it would be much clearer for the blocked to get a
message more like

"Information about the block: account creation from the range (range), which
your ip address (address) is a part of was blocked by (blocking admin), who
gave the reason"

or something like 
"Your IP address (address) is part of the range (range). account creation from
that range was blocked by (blocking admin), who gave the reason (reason)"
See
Bug 35090 - Block messages for rangeblocks are confusing

Please ask any questions in the bug report. You will have better chances for quicker and better answers from the project maintainers and other community contributors.

Students are required to read Wikimedia's general instructions first. Patches should be submitted to Gerrit and reference the bug report in the commit message. Improvements to an initial patch must be submitted as an amendment  to the initial patch, not as new patches.