abian added a comment.
In T151678#3068396, @Florian wrote:
However, two questions: How would mediawiki/core (or even Wikibase) find the _correct_ item to link a specific page to?
This item should always be the one to which the source page is linked. If you were asking for a lower-level answer, I'm sorry, I'm not familiar enough with mediawiki/core nor with Wikibase.
And what should happen when no item was found? Should an item be automatically created (which could be duplicate dthen) or should the user get a question? :)
Ideally, just after typing the source page, the special page could show a message on the fly that let the user know if an item will be created.
However, I think that the idea of refreshing the special page and showing a question and an additional checkbox after pressing Import can be the best solution if development time, or resources in general, are limited for this low-priority task. This solution would be the same, mutatis mutandis, as the one currently used when an administrator tries to move a page to a title which is already taken by a different page.TASK DETAILhttps://phabricator.wikimedia.org/T151678EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: abianCc: Florian, abian, Aklapper, Ptolusque, Sethakill, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs