Last modified: 2013-08-01 22:18:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53233, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51233 - Special:PagesWithProp – error "'This value is required'" still shown after chosen field has changed
Special:PagesWithProp – error "'This value is required'" still shown after ch...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-12 12:30 UTC by Ltrlg
Modified: 2013-08-01 22:18 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
The error just after the <select> (10.28 KB, image/png)
2013-07-12 12:30 UTC, Ltrlg
Details

Description Ltrlg 2013-07-12 12:30:25 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.
Comment 1 Andre Klapper 2013-07-15 11:53:21 UTC
Confirming.
Comment 2 Ltrlg 2013-08-01 22:18:14 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links