Last modified: 2014-07-16 10:29:42 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 T67472, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65472 - every search results in "Query error" next to search results in hebrew wiki
every search results in "Query error" next to search results in hebrew wiki
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-19 08:34 UTC by matanya
Modified: 2014-07-16 10:29 UTC (History)
4 users (show)

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


Attachments
query error bug (138.67 KB, image/png)
2014-05-19 08:34 UTC, matanya
Details

Description matanya 2014-05-19 08:34:13 UTC
Created attachment 15435 [details]
query error bug

When searching in he.wiki any search returns "Query error".

This seems to be due to missing or invalid entity :

https://www.wikidata.org/w/api.php?action=wbgetentities&format=json&ids=%D7%9E%D7%9B%D7%91%D7%99_%D7%AA%D7%9C_%D7%90%D7%91%D7%99%D7%91_%28%D7%9B%D7%93%D7%95%D7%A8%D7%92%D7%9C%29&callback=jQuery18306179546795319766_1400487787685&_=1400487788755

please see attached screen shot
Comment 1 Beta16 2014-05-19 09:11:35 UTC
Also in it.wiki
Comment 2 Lydia Pintscher 2014-05-19 15:33:12 UTC
Can you both please provide links to where you see the error?
Comment 3 Beta16 2014-05-19 16:18:37 UTC
At every search from [[Special:Search]].
For example: https://it.wikipedia.org/w/index.php?search=storia&title=Speciale%3ARicerca&fulltext=1
Comment 4 Lydia Pintscher 2014-05-19 16:28:36 UTC
This isn't standard Wikidata functionality. Is it possible this is coming from https://it.wikipedia.org/wiki/MediaWiki:Common.js ? (See the second to last part.)
Comment 5 matanya 2014-05-19 16:55:45 UTC
do you refer to:

if (mw.config.get('wgCanonicalSpecialPageName') === 'Search' ||  (mw.config.get('wgArticleId') === 0 && mw.config.get('wgCanonicalSpecialPageName') === false)) {
	importScriptURI("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript");

in https://he.wikipedia.org/wiki/%D7%9E%D7%93%D7%99%D7%94_%D7%95%D7%99%D7%A7%D7%99:Common.js ?
Comment 6 Lydia Pintscher 2014-05-19 16:57:13 UTC
Yes. I am not 100% certain but this seems like a good start.
Comment 7 Beta16 2014-05-20 08:44:03 UTC
https://en.wikipedia.org/wiki/MediaWiki_talk:Wdsearch.js#Query_error_next_to_search_results

In it.wiki the search works now, I think the latest changes at script "Wdsearch" fix this issue.
Thanks at all, and sorry for the inconvenience.
Comment 8 Lydia Pintscher 2014-05-20 08:57:31 UTC
Great :)  Marking as fixed then.

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


Navigation
Links