Talk:Wikidata Bridge

Jump to navigation Jump to search

About this board

This is the talk page about the Wikidata Bridge project. Feel free to give feedback or ask questions. Some threads are dedicated to specific questions or feedback loops.

Dies ist die Diskussionsseite über das Wikidata Bridge-Projekt (Verknüpfung mit Wikidata). Gerne kannst Du ein Feedback geben oder Fragen stellen. Einige Themen sind bestimmten Fragen oder Feedback-Schleifen gewidmet.

Hogü-456 (talkcontribs)


I was at a meeting with editors of a LocalWiki called FürthWiki and they use SemanticMediaWiki and then I saw how they edit the data with forms. I think that a form is a helpful thing for editing data. In Wikidata it is currently possible to use it for creating new items with WikidataCradle. Do you plan to offer forms for creating items in a further version. For example a mayor of a city is a example where a item about it does usually not exist in a little village before the election. So this is something what has to be created when editing the value in the Infobox. Have you plans how you want to solve this.

Lea Lacroix (WMDE) (talkcontribs)

Yes, we will have to offer a way to create new items through the Bridge in the future. This is quite a complex topic and we are not fully decided on how we want to tackle this.

Reply to "Create new Items if needed"

Wikidata Bridge v1 to be deployed on Catalan Wikipedia

Lea Lacroix (WMDE) (talkcontribs)

Hello all,

On August 18th, we will deploy the first version of the Wikidata Bridge on Catalan Wikipedia. Thanks again to the CAWP community for your enthusiasm and constructive feedback!

You will find the announcement here (in Catalan). As a reminder, here is the list of the features that will be included in the v1, and the ones that are not there yet. The test page is still available here (may occasionally contain bugs or new features in development).

If you’re willing to support the future integration of Wikidata Bridge, here’s how you can help:

  • Translate the infobox update documentation page in your language
  • Start a discussion and/or a documentation with your Wikipedia community to raise awareness about the feature
  • Ask any questions you may have on this talk page

After many months designing and developing the v1 of the Bridge, we’re really excited to see it tested live! Cheers, Léa

Reply to "Wikidata Bridge v1 to be deployed on Catalan Wikipedia"
Jeblad (talkcontribs)

Seems like nowiki has passed critical mass of users voting “for” in our poll for consensus. The poll is still on-going, but I doubt the outcome will be much different. The group of usual no-sayers at nowiki is to small to change the outcome substantially. The poll is finished 14:41 (UTC) 1. July 2019.

At nowiki we have various solutions to the edit infobox problem, but among the more common ones is a link with a pencil symbol to the correct section in the Wikidata item. I guess it should be pretty easy to tweak.

Lea Lacroix (WMDE) (talkcontribs)

Thanks! Can you give a link to the poll?

Jeblad (talkcontribs)
Jeblad (talkcontribs)

Final outcome is 18 for joining the betatest, and none against. [Later increased to 20 for and none against.] Jeblad (talk) 15:52, 1 July 2019 (UTC)

Jeblad (talkcontribs)
Lea Lacroix (WMDE) (talkcontribs)

Thanks! We're currently working on a way to view and edit references, so it can be part of the first testable version.

Jeblad (talkcontribs)

Seems like later polls have made the current consensus quite muddy, and I don't believe it would be wise to do betatesting at nowiki. Some users seem to have misunderstood what Wikidata Bridge is all about and any clarifications are reputed. Some users even openly refuse to cooperate at all. It is a bit weird.

A few modules and templates are prepared for use of WB, but I removed and/or turned off the actual code. Should be pretty easy to turn back on though.

In short, drop betatesting at nowiki.

Lea Lacroix (WMDE) (talkcontribs)

Hello Jeblad,

Thanks for letting us know. There's no problem from our side. We understand that communities need time and it may be a bit too early at that stage. We will keep experimenting with other wikis who are ready to test the early phases of the Bridge, and hopefully in the future, when the feature is more advanced and people can see the benefit of it more clearly, we can start a discussion on nowiki again.

Thanks for your communication efforts!

Reply to "Betatesting at nowiki"

Documentation page: how to update the infobox code

Lea Lacroix (WMDE) (talkcontribs)

Hello all,

I just wanted to let you know that the documentation page about how to update the infoboxes code once the Bridge extension is enabled is complete and ready to translate.

If you have any questions, or if you feel like something is missing on this page, let me know.

More information about the upcoming deployment of the first version of the Bridge on Catalan Wikipedia will follow next week.

Bouzinac (talkcontribs)

Is there any templates in frwiki already using the bridge ?

Lea Lacroix (WMDE) (talkcontribs)

The Bridge has not been enabled anywhere for now. We will start in July this year with Catalan Wikipedia, in the future a few more small Wikipedias where the community is actively willing to test it. French Wikipedia will hopefully come later, of course after a proper discussion with the community and once some extra features will be added.

Reply to "Documentation page: how to update the infobox code"
Jeblad (talkcontribs)

At nowiki there are some users that complain loudly about the pencil icon. I tried to do some changes to see how it would turn out in full use, and there will be way to many such icons. It will probably not be acceptable for the users that complain about a few links today.

So, how can it be changed to become acceptable. One option would be adding an edit-link above the infobox to turn them all on, and to replace that with a reload-link when the pencil icons are visible. After reload the edit-link will be back. That would make the links less annoying, but I don't know if it is enough to stop the users from complaining.

TomT0m (talkcontribs)

On desktop it’s possible to use the hover css property to show them only if the mouse is on them. The equivalent on mobile device may be possible as a tap on the data.

There has been a lot of debate on this on frwiki, it turns out we kept them at least on some infoboxes even if people complained because there was also a requirement by community decision to highlight the data that come from Wikidata as opposed as data present in the article code as an infobox parameter (external project signaling), and the pencils do that job. This usually settled the discussion, and mostly now complains have stopped.

Jeblad (talkcontribs)

Yes, I proposed to use hover or doubleclick (doubletap – scary name for those into action movies) to turn the pencil icons on through an additional gadget. It just adds a class that overrides <code>display:none</code> for the links. It is pretty straightforward to do.

Interesting argument that use of the pencil shows use of Wikidata, thus it is what the community wants.

Amadalvarez (talkcontribs)

The people who complain, finally agree when discover how usefull is. Use hover css may have collisions with link to value (article or item).

In cawiki we had a debate and change size and a soft gray and editors agreed:

Models: english , french , catalan , smaller catalan .

In addition we have also an icon label () to link to label of the value when is not in catalan.

Jeblad (talkcontribs)

Using gray icons is not wise, as it don't signal interaction. That is they signal “disabled”.

Amadalvarez (talkcontribs)

we finally use the smaller catalan. It's black, but not solid color.

Amadalvarez (talkcontribs)

After my last explanation, my colleague @Vriullop added some features in our Module:Wikidades in order to use/don't at invoke, template o installation level with editicon parameter (may see doc in English). It also allows aligning pencils at right side in order to have a more "ordered view" of infobox.

Last new, for those people who don't like pencils and are not willing to update WD (not very interesting for our goals, btw!) it's possible to hide pencil at user level adding a sort code in the user/vector.css.

We hope it may be useful for other WD_Bridge users.

CC.@Lea Lacroix (WMDE)

Reply to "Pencil icons"
Adithyak1997 (talkcontribs)

Just under the section heading - 'the need', a statement is given: “I want the information that appears on Wikipedia to be editable on Wikipedia”. My doubt is: should the last word 'Wikipedia' be replaced by Wikidata? Because Wikipedia can be edited on Wikipedia itself.

VIGNERON (talkcontribs)

'Wikipedia' is correct here. If the information comes from Wikidata then it's not directly editable in Wikipedia itself and this is exactly why the Wikidata Bridge is needed.

please change "a wrong" to "an incorrect" value

Summary by Lucas Werkmeister (WMDE)

phrasing changed, see T252996 for details

Wittylama (talkcontribs)

Minor feedback,

but could you please change the text string "I corrected a wrong value" to "I corrected an incorrect value", in the english version?

I'm not a linguist so I can't tell you grammatically-speaking why "a wrong value" seems too vague and odd, especially when paired with the quite scientific and precise alternative option of "I updated an outdated value". The word "wrong" also has a secondary meaning of morality - that something is wrong because it is bad; whereas "incorrect" can only mean not-true. Thanks :-)

Jeblad (talkcontribs)

I believe Wittylama is pretty much an expert in English compare to the WMDE team! :D And yes, I do agree with him on this.

Lea Lacroix (WMDE) (talkcontribs)

Hello @Wittylama and thanks for your feedback. This totally make sense. We will consider changing the word - I created a Phabricator task for further discussions and work.

Amire80 (talkcontribs)

As far as I can see, you can only use this feature while reading the page. (It appears to work in both desktop in mobile mode, which is very good.)

However, it doesn't appear to work in Visual Editor. It should be possible.

Jeblad (talkcontribs)

I wonder if the whole idea to add edit interface in a read mode is wrong, it creates a very messy mental model. This is a type of interface that should only be available in VisualEditor. You open the page for editing, and then as part of this editing the infobox will be possible. That has the added benefit of avoiding the overcrowding the small box with tiny edit-links (the pencil symbol).

Amire80 (talkcontribs)

Allowing editing in read mode is not a bad idea at all. Lots of people love editing categories in HotCat, for example. The more items are editable in small chunks, without having to edit a whole page, the better.

Jeblad (talkcontribs)

I disagree on that, but I have lost that dispute a long time ago.

Lydia Pintscher (WMDE) (talkcontribs)

I wanted to have it integrated in the Visual Editor from the start first but unfortunately several technical considerations moved us away from that for the initial versions. It's definitely not off the table for later versions.

This post was hidden by Jeblad (history)
Reply to "Visual Editor"

Instructions for template developers

Amire80 (talkcontribs)

The template Infobox telescope prototype invokes Module:Wikidata and Module:WikidataBridge.

Does this mean that every wiki that wants to use Wikidata Bridge will have to a have wiki pages with these modules?

More generally, how will templates on various wikis be adapted to using Wikidata Bridge? Is there an existing instructions page?

Lucas Werkmeister (WMDE) (talkcontribs)

Wikidata Bridge/Development/DocDrafts/How to Enable Wikidata Bridge for your Infobox is the draft for the instructions page; we’ll finish it up and move it out of “doc drafts” before the first version is released. All that matters to the Bridge is that the final HTML of the page matches the criteria listed on that page; for the showcase, we did that using an infobox template and two Lua modules, because we figured that’s roughly how it would work on e. g. English Wikipedia, but that’s not a requirement. Our browser tests, for example, create Bridge-enabled edit links (here) with plain wikitext, without involving any templates or modules.

Jeblad (talkcontribs)

Note that the “single best” pattern are extremely rare in a person-related infobox, it does exist for infoboxes with office positions, but there it should really use the last value from time series and not “preferred”.

At nowiki we don't use postal code or category in the infoboxes, they are used as examples in Topic:Vlrzy9sw6ownhafs. I do see the need to start simple, but this isn't very useful.

Reply to "Instructions for template developers"

V1 of Wikidata Bridge is almost ready to be tested on Wikipedia

Lea Lacroix (WMDE) (talkcontribs)

Hello all,

I have exciting news to share about the Wikidata Bridge! We’re getting close to being able to deploy the first version of Wikidata Bridge. This means that once we achieve the last steps of development, we are ready to experiment with the Wikipedia communities who are willing to try the Bridge on their wiki.

Below, I will summarize what this first version contains and what it does not contain, what the next steps are for us to reach, and how we will work with the communities to deploy the tool step by step.

Feel free to leave comments on this thread and to share this message with your local Wikipedia community!

Summary of what is included in the v1

It is important to understand that the product we are ready to deploy is not the final version. As mentioned on the /development page, we are starting with a first version, with which we want to make sure that the concept fits your needs before moving forward. This means that the communities who are willing to try it will have the opportunity to be involved very early in the process; however, this also means that the product at that point is far from perfect and does not include all the features you expect from it yet.

The v1 will allow you to:

  • Enable the Bridge for the infoboxes that you choose, by updating their Lua code and template
  • Edit some Wikidata values directly from Wikipedia, values having the datatype string: for example, postal code, Commons category…
  • Fix the existing value or update an outdated value, after asking you why you changed the value. This will ensure that the correct edit is made on Wikidata for you including setting ranks correctly
  • Display the existing references coming from Wikidata
  • Be redirected to Wikidata in case the action you want to perform is not available in the Bridge yet

The v1 doesn’t allow yet:

  • Editing values other than strings (for example, other Items, coordinates)
  • Adding new values
  • Editing Wikidata references from within the Bridge
  • Editing local values or switch from local values to values coming from Wikidata

You can read more details on the features on the development page.

Where are we going to deploy?

It is really important to us to work with wiki communities who are onboard with the project and willing to test the first versions of the Bridge. We also want to start with a small scope (only one Wikipedia), learn from our experience, and deploy slowly on new wikis.

Catalan Wikipedia seems like a good start for several reasons: its community is already using Wikidata-powered infoboxes, several people mentioned their enthusiasm for the Bridge and participated in the discussions, and the size of the wiki seems good for experiments. Therefore we would like to start with deploying on Catalan Wikipedia. A few months later, we would follow with 2 to 3 new wikis. Currently, we have in mind the Basque, Romanian, and Russian Wikipedia, based on their existing use of Wikidata-powered infoboxes and interest for the project. If other wikis are interested, they can let us know and we could consider including them in the next rounds.

We will not deploy this first version before making an announcement to the communities and asking for their approval first. This is the part where we need your help! You can talk to your community about the project, help us translate information, for example this message, and prepare the ground for a community consultation, based on the rules in place on your wiki (vote, RFC, etc.)

What are the next steps?

This timeline is not complete and can evolve based on multiple factors. We’re sorry that we cannot give you more precise dates for now, but new announcements will follow.

  • Test the Bridge on a beta system: already possible here
  • Performance review of the code (done by WMF): unknown, it can take a few more weeks
  • Community consultation on Catalan Wikipedia: started here
  • Roll out on the first Wikipedia: will be announced once the performance review is done and that we adapted our code if needed
  • Monitor the usage of the tool, fix possible issues, get feedback from the community
  • More work on Bridge v2: later this year
  • Possible roll out on new wikis: end of 2020 or early 2021

Thanks for reading this long message. If you have any questions or suggestions, feel free to leave a comment below.

Bluerasberry (talkcontribs)

Thanks for posting. I will ask around.

I have a request - consider if this deployment is time for a general wiki community conversation. If it is, can you do the deployment with a little project announcement which I could use to make a story in the English Wikipedia community newsletter, The Signpost? I would rather that this conversation happen sooner and more slowly, so talking about this as a pilot or experiment sooner seems appropriate. I expect that English Wikipedia will be one of the late projects to consider adopting this, but I would like to raise awareness there. Thanks.

Lea Lacroix (WMDE) (talkcontribs)

Thanks for your interest in the topic, and for your offer to write something in the Signpost.

I agree that it would be interesting to start discussions soon on wikis that will need more time to consider adopting the Bridge, for example English Wikipedia. We planned to reach big Wikipedias relatively soon in the process, once we successfully test the feature on small and medium-size Wikipedias where communities actively support the use of Wikidata.

However, I would be careful to not make this step too soon: at the moment, as described in the announcement, the version we have is quite far from the final product we want to deliver. For example, it doesn't allow editing all data types, it doesn't show the edit in the edit history on Wikipedia, etc. Showing this to people and letting them think that this will be the final Bridge feature could be very counterproductive, as they would point out (rightfully) that the feature is not answering their needs.

We would be interested in continuing this discussion with you in the near future, and we would definitely appreciate your support when bringing the topic to English Wikipedia. Let's stay in touch, maybe we can schedule a call with you in the next months.

Reply to "V1 of Wikidata Bridge is almost ready to be tested on Wikipedia"