[Wikidata-bugs] [Maniphest] [Commented On] T151678: Add a checkbox in Special:Import to automatically add new sitelinks to the corresponding Wikidata item

2017-03-02 Thread abian
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


[Wikidata-bugs] [Maniphest] [Commented On] T151678: Add a checkbox in Special:Import to automatically add new sitelinks to the corresponding Wikidata item

2017-03-02 Thread Florian
Florian added a comment.
I moved this task to the Extension special pages, even if the change res requested to land on the Special:Import page. The reason is, that the main functionality should be developed in Wikibase, not in mediawiki/core. If there's something missing in the Special:Import page (e.g. a hook or whatever), we can think about changing this :P

However, two questions: How would mediawiki/core (or even Wikibase) find the _correct_ item to link a specific page to? 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? :)TASK DETAILhttps://phabricator.wikimedia.org/T151678EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FlorianCc: 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