hoo added a comment. Hi, I don't have a lot of time today (actually I'm not working the whole week and next week), but I still want to give some initial ideas. You can do it in the front end and make use of https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/client/resources/wikibase.client.PageConnector.js (that's what the Add links dialog uses) or you can make use of the wblinktitles api https://www.wikidata.org/w/api.php?action=help&modules=wblinktitles (that module can't perform item merges, but I guess that's not an issue here).
Using that api is probably the easiest and most stable thing to do. Binding against the Wikibase extension in PHP is probably not that much of a good idea given that we don't really have stable PHP interfaces. TASK DETAIL https://phabricator.wikimedia.org/T87410 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Amire80, hoo Cc: santhosh, Nikerabbit, CennoxX, hoo, Lydia_Pintscher, Amire80, Arrbee, Aklapper, Pginer-WMF, Wikidata-bugs, Jdouglas, aude, Jsahleen, KartikMistry _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs