thiemowmde added a comment.
@Physikerwelt, sorry for not responding earlier. My advice is: don't use jquery.wikibase.entityselector. Write your own code, ideally based on OOUI, not jQuery. Seriously. It's your code then, and it does exactly what you want, which isn't that much. The existing entityselector code appears complicated, but it really doesn't do much. All it essentially does is querying the wbsearchentities API. There is a bit of caching on top, and a lot of configuration you probably don't need. The probably only configuration you need is the address of the API, because you want to query the Wikidata server from e.g. the English Wikipedia. On wikis with WikibaseRepo enabled this is exposed to JavaScript as part of the `wbRepo` configuration, see \Wikibase\Lib\Modules\RepoAccessModule. You might need to expose this configuration yourself on your special page (but only on the special page). This can be done directly in the special page's class using e.g. \ResourceLoader::makeConfigSetScript(). TASK DETAIL https://phabricator.wikimedia.org/T229939 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Physikerwelt, thiemowmde Cc: Liuxinyu970226, Ladsgroup, Lucas_Werkmeister_WMDE, hoo, Aklapper, MaxSem, thiemowmde, Tgr, cscott, Niedzielski, Esanders, Physikerwelt, Andreg-p, Akuckartz, darthmon_wmde, Nandana, Hagarshilo, Lahi, Gq86, GoranSMilovanovic, Maosef, QZanden, LawExplorer, Debenben, _jensen, rosalieper, xSavitar, Scott_WUaS, Izno, ferdbold, Wikidata-bugs, aude, fredw, Pkra, Gryllida, Ricordisamoa, scfc, Jdforrester-WMF, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
