Ayushshri121 added a comment.
@Fomafix Are You talking about the line where the attribute
numberOfResults
is defined ?
if yes could you please explain me , how it caused the bug because as far as
i can see there is no problem there.
TASK DETAIL
https://phabricator.wikimedia.or
Fomafix added a comment.
Obviously `$searchInput.data( 'suggestionsContext' )` is undefined in this
situation.
TASK DETAIL
https://phabricator.wikimedia.org/T105637
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Fomafix
Cc: Ayushshri121, Another
Ayushshri121 added a comment.
Yes thanks @Fomafix for the information. I considered a different line and
confused with it earlier :(
TASK DETAIL
https://phabricator.wikimedia.org/T105637
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Ayushshri12
Legoktm added a subscriber: Legoktm.
Legoktm added a comment.
Maybe https://www.wikidata.org/wiki/MediaWiki:Gadget-Search.js needs an update?
TASK DETAIL
https://phabricator.wikimedia.org/T105637
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Legok
Fomafix added a comment.
When I disable the gadget Search the error also occurs. It seams to be
independent from the gadget.
TASK DETAIL
https://phabricator.wikimedia.org/T105637
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Fomafix
Cc: Ricordisa
Fomafix added a comment.
The problem is in repo/resources/wikibase.ui.entitysearch.js in extension
Wikibase. Here the context gets removed:
$.removeData( input, 'suggestionsContext' );
I guess this problem is independent to
https://phabricator.wikimedia.org/rMWcd3638bfa9d7f370bbdd18fd4106d5c