Fix docs in ve.ui.MWParameterSearchWidget.js

Also re-use hasQuery variable.

Change-Id: I6166e45c6397723c6949f22f02af8b160e45ad4e
Merge "Fix docs in ve.ui.MWParameterSearchWidget.js"