Page MenuHomePhabricator

[Story] VisualEditor: Ability to edit language links on Wikidata from within the editor
Open, MediumPublic

Description

People would like to be able to edit the language links that are coming from Wikidata in the page settings dialog. A link from there to Wikidata would probably also be a good first step.

See Also:
T59929: VisualEditor: Add ability to edit local language links (non-Wikidata ones)
T64005: Using the language link tool in the sidebar when inside VisualEditor loses the edit without warning
T74178: Create widget to edit site links in the client

Details

Reference
bz52105

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:52 AM
bzimport set Reference to bz52105.

This would be excellent, but potentially quite a lot of work. Would the Wikidata team be interested in exploring with us how this could be done?

bug52383 suggests the opposite approach: please do not include such complex logic in VE which is already slow. be so kind to improve the current implementation within the VE project if you feel its hacky.

(In reply to comment #1)

This would be excellent, but potentially quite a lot of work. Would the
Wikidata team be interested in exploring with us how this could be done?

Yes :) I don't yet know if/how we can dedicate development time to this but let's talk.

Apparently this is how it currently works? You can add links to Wikidata while in VE, but then you'll miss them because the page will be reloaded?

Sorry, rephrasing: You can add items to Wikidata while in VE, but then you'll miss the other edits you made in that VE session since the page will be reloaded.

(In reply to Elitre from comment #4)

Apparently this is how it currently works? You can add links to Wikidata
while in VE, but then you'll miss them because the page will be reloaded?

(In reply to Elitre from comment #5)

Sorry, rephrasing: You can add items to Wikidata while in VE, but then
you'll miss the other edits you made in that VE session since the page will
be reloaded.

Yes, the Wikidata team's sidebar JS tool to add to language links ignores the existence of VE (and so breaks things, as you say).

This bug is talking about being able to edit the language links inside VE, in the language panel of the "page options" dialog which is currently read-only. It's also meant to cover more cases and features than the sidebar JS tool currently does.

Thanks. So should I file a new one, or...?

(In reply to Elitre from comment #7)

Thanks. So should I file a new one, or...?

Filing a new bug about the Wikidata tool destroying your current edit by navigating away sounds like a good plan, yes, sorry. :-)

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jonas renamed this task from VisualEditor: Ability to edit language links on Wikidata from within the editor to [Story] VisualEditor: Ability to edit language links on Wikidata from within the editor.Nov 2 2015, 3:17 PM