Last modified: 2013-08-01 22:18:14 UTC
Created attachment 12839 [details] The error just after the <select> 1. Go to Special:PagesWithProp 2. Select 'Other' and let the text field empty, then press 'Go'. You get a page like https://en.wikipedia.org/wiki/Special:PagesWithProp?propname=other, with an error 'This value is required' 3. Select another property. The text field disappear, but not the error. The error goes just after the <select>, which is confusing. The error should disappear with the text field.
Confirming.
The script is at https://git.wikimedia.org/blob/mediawiki%2Fcore/89aa82e1033bd4bbbeb9455e5cc7dd10ba7fc0a8/resources%2Fmediawiki%2Fmediawiki.htmlform.js#L46 Change the argument of the 'siblings' method (line 52 of the version linked above) from 'br' to 'br, .error' should fix this bug.