[Wikidata-bugs] [Maniphest] [Commented On] T105637: "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2020-03-15 Thread Ayushshri121
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

[Wikidata-bugs] [Maniphest] [Commented On] T105637: "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2020-03-15 Thread Fomafix
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

[Wikidata-bugs] [Maniphest] [Commented On] T105637: "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2020-03-15 Thread Ayushshri121
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

[Wikidata-bugs] [Maniphest] [Commented On] T105637: "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2015-07-12 Thread Legoktm
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

[Wikidata-bugs] [Maniphest] [Commented On] T105637: "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2015-07-13 Thread Fomafix
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

[Wikidata-bugs] [Maniphest] [Commented On] T105637: "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2015-07-13 Thread Fomafix
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