Page MenuHomePhabricator

duplicate fieldname in search form
Closed, ResolvedPublic

Description

The current en.wp version of [[Special:Search]] has the following:

<input name="fulltext" type="hidden" value="Advanced search" />
<input type="submit" value="Advanced search" name="fulltext" />

That means that two form field have the same name "fulltext". This breaks a script ([[MediaWiki:Common.js/search.js]]) in en.wp that has the line:

var lStat = searchForm.fulltext;

which now returns an array. This looks like a mistake, though might be intentional.


Version: unspecified
Severity: minor

Details

Reference
bz18324

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:34 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz18324.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 13316 ***

Blah, wrong bug.

  • This bug has been marked as a duplicate of bug 18316 ***