Last modified: 2010-05-15 15:54:52 UTC
As of Version 1.12 the parameter wpBlockReasonList does not seem to be actually supported. This is a useful feature for emergency bot shutoffs where a main reason is preferred to other. Version 1.11 iterates through the list of reasons and checks against the supplied wpBlockReasonList. Version 1.12 just uses Xml::listDropDown which doesn't seem to do any selecting at all.
Works in 1.13/1.14a, I'll check 1.12
OK, works for me in 1.12
Ok, here's the fix, I don't know enough about PHP or SVN enough to do it globally, but it worked fine on mine. Change SpecialBlockip.php (line 109-111 in version 1.13) from: $reasonDropDown = Xml::listDropDown( 'wpBlockReasonList', wfMsgForContent( 'ipbreason-dropdown' ), wfMsgForContent( 'ipbreasonotherlist' ), '', 'wpBlockDropDown', 4 ); To: $reasonDropDown = Xml::listDropDown( 'wpBlockReasonList', wfMsgForContent( 'ipbreason-dropdown' ), wfMsgForContent( 'ipbreasonotherlist' ), $this->BlockReasonList, 'wpBlockDropDown', 4 ); The select was never specified in the function call.
OK, I see, the problem is just the pre-filling from the url
Fixed in r41165