Wikidata:Requests for comment/Automatic labelling

From Wikidata
Jump to navigation Jump to search
An editor has requested the community to provide input on "Automatic labelling" via the Requests for comment (RFC) process. This is the discussion page regarding the issue.

If you have an opinion regarding this issue, feel free to comment below. Thank you!


THIS RFC IS CLOSED. Please do NOT vote nor add comments.

Should we have a mechanism so that some labels could be automatically attached to items even if the WP version doesn't have an article? --Ricordisamoa 13:51, 6 May 2013 (UTC)[reply]

SamoaBot is already setting it in English and Italian (only if not present). --Ricordisamoa 13:52, 6 May 2013 (UTC)[reply]

Can you give an example, the P225 is string-datatype, it is not language-dependant. -- Lavallen (block) 14:23, 6 May 2013 (UTC)[reply]
In most latin-alphabet languages it should work (example), but for Russian, Ukrainian, Swedish, etc.? --Ricordisamoa 14:26, 6 May 2013 (UTC)[reply]
Ok, thank you. -- Lavallen (block) 14:35, 6 May 2013 (UTC)[reply]

BTW, isn't it easier to do something in Lua like:

a = ''
if entity.label then 
   a = entity.label
else
   a = entity.P242
end

-- Lavallen (block) 14:52, 6 May 2013 (UTC)[reply]

Where should this be placed? ATM Wikibase doesn't support automatic real-time labelling of items via Lua... --Ricordisamoa 15:12, 6 May 2013 (UTC)[reply]
It should be located in a Lua-module in the Client. (The code-example is more a principle, than exact code.)
The Client does not support entity(id) ATM, that is correct. But it will in the future. (I hope, otherwise we have to rethink the whole thing with avoiding redunant information.)
In sv:Template:Länsfakta, I am already now using a Lua-module to get the sitelink from P237, but the label is locally defined. [[Sitelink from Wikidata|Locally defined label]]. -- Lavallen (block) 15:24, 6 May 2013 (UTC)[reply]

Dutch[edit]

  1.  Support HenkvD (talk) 15:29, 18 May 2013 (UTC)[reply]

English[edit]

  1.  Support — better than nothing. --Ricordisamoa 13:52, 6 May 2013 (UTC)[reply]
  2.  Support, indeed better than nothing. Also should be a description (for example, taxon).--Ymblanter (talk) 19:16, 6 May 2013 (UTC)[reply]
  3.  Support -- Could definitely be useful. TCN7JM 20:39, 6 May 2013 (UTC)[reply]
  4.  Support Seems useful. Silver hr (talk) 18:31, 26 May 2013 (UTC)[reply]

French[edit]

 Support — useful --ThieolThieol 13:52, 11 July 2013 (UTC)[reply]

German[edit]

Italian[edit]

  1.  Support — per above. --Ricordisamoa 13:52, 6 May 2013 (UTC)[reply]
  2.  Support If there is a sitelink to italian wikipedia should take the title of the article. If there isn't, very probable doesn't exist a common name; so, for label guidelines, the scientific name is ok! --β16 - (talk) 10:35, 13 May 2013 (UTC)[reply]

Portuguese[edit]

Russian[edit]

  1. Does not work with labels, but should work as aliases.--Ymblanter (talk) 19:15, 6 May 2013 (UTC)[reply]
  2.  Support My experience has shown that if russian wikipedia doesn't have an article about taxon, this being have no russian traditional name almost for sure. So latin name will be appropriate as a label for it. Infovarius (talk) 15:11, 9 September 2013 (UTC)[reply]
  3.  Oppose There are a lot of transliterated names in biological dictonaries, they are not all present in Wikipedia. But it's good idea to add them as aliases. --Alexander Sigachov (talk) 10:28, 2 October 2014 (UTC)[reply]

Spanish[edit]

  1.  Support Kizar (talk) 20:50, 23 May 2013 (UTC)[reply]

Swedish[edit]

  1.  Oppose On hold The set of articles of unextinct living organisms on svwp is almost complete. (I think.) I will ask the involved users to give a response to this. -- Lavallen (block) 14:35, 6 May 2013 (UTC)[reply]
    There can be more than one taxon name for one item, depending on sources. Adding wrong name by bot will not be welcomed by the users on svwp. -- Lavallen (block) 05:39, 7 May 2013 (UTC)[reply]

Others[edit]

I suppose it would be even more useful for smaller languages. HenkvD (talk) 15:29, 18 May 2013 (UTC)[reply]

Proper names[edit]

KLBot2 is already setting it in Spanish (example), but some issues have been raised. --Ricordisamoa 13:59, 6 May 2013 (UTC)[reply]

Dutch[edit]

  1.  Support HenkvD (talk) 15:29, 18 May 2013 (UTC)[reply]

English[edit]

  1.  Support — better than nothing. --Ricordisamoa 13:59, 6 May 2013 (UTC)[reply]
  2.  Support -- Definitely useful if done correctly. TCN7JM 20:41, 6 May 2013 (UTC)[reply]
  3.  Oppose. This will result in too many errors, and since the items will no longer be label-less, no one will go and add the correct label. --Yair rand (talk) 19:22, 21 May 2013 (UTC)[reply]
    Can you be more specific about the kind of errors this might generate? Silver hr (talk) 18:33, 26 May 2013 (UTC)[reply]
    Seems to me that this automatic labeling could choke on German. German doesn't really distinguish between proper and regular nouns... --Izno (talk) 13:08, 27 May 2013 (UTC)[reply]
    Well, alright, if you say so...but this section is about English :) Silver hr (talk) 23:07, 30 May 2013 (UTC)[reply]
    Yes, but what if the source language is German? :) --Izno (talk) 01:05, 31 May 2013 (UTC)[reply]

French[edit]

 Oppose or  Neutral it would only work for certain category of persons : actors, soccers, .... but for some old reason many other names French has its own name : for Kings, old scientists, clergymen, etc.... For instance, Whilelm has to be translated to Guillaume, Stephen to Stéphane for some cases and not for others. Rules are not simple to find. However, we could assume that those names are already existing in wikidata and only few errors will ne made. --Thieol (talk) 01:05, 31 May 2013 (UTC)[reply]

German[edit]

  1.  Support I wwould like something like that, espechially for en:Category:Living people.--CENNOXX (talk) 16:52, 6 May 2013 (UTC)[reply]

Italian[edit]

  1.  Support — per above. --Ricordisamoa 13:59, 6 May 2013 (UTC)[reply]
  2.  Comment Only for persons with latin-alphabet name. Transliteration rules from others alphabets are not the same everywhere. --β16 - (talk) 10:42, 13 May 2013 (UTC)[reply]
  3.  Support, but like Beta16. -- Yiyi .... (talk!) 11:30, 14 May 2013 (UTC)[reply]
  4.  Support, but like Beta16. --Cpaolo79 (talk) 07:03, 29 May 2013 (UTC)[reply]

Portuguese[edit]

Russian[edit]

  • That's satisfiable at the beginning. Later the consensus about standard naming order (NAME SURNAME or SURNAME, NAME) will be set and labels can go to aliases. Infovarius (talk) 12:46, 11 July 2013 (UTC)[reply]
    Here I mean only russian name (from russian article title). English name does definitely not fit into russian label. It can be sometimes used as alias but only if it is the name in original language. Infovarius (talk) 17:55, 9 September 2013 (UTC)[reply]

Spanish[edit]

Swedish[edit]

  • The subject has been dicussed on svwp, and we prefer a local technical solution with Lua and maintainance-categories, since transcriptions to Swedish, from some languages looks very different than the English and many other languages. -- Lavallen (block) 14:19, 6 May 2013 (UTC)[reply]

Others[edit]

I suppose it would be even more useful for smaller languages. HenkvD (talk) 15:29, 18 May 2013 (UTC)[reply]


Minor planets[edit]

Asteroids and TNO's etc

Dutch[edit]

  1.  Support HenkvD (talk) 15:29, 18 May 2013 (UTC)[reply]

English[edit]

  1.  Support Seems useful. I have a question though. How do you know which item refers to a minor planet (and the same for the other kinds of things mentioned on this page)? If you have some kind of list or some other reliable way, could your bot also add the correct instance of (P31) statement to the items, if it's not present? Silver hr (talk) 18:41, 26 May 2013 (UTC)[reply]

French[edit]

  1.  Support Thieol (talk) 07:29, 19 July 2013 (UTC)[reply]

German[edit]

  1.  Support per Lavallen's reasoning under the "Swedish" section. German names just have a bracket around the numbers ("(4) Vesta" instead of "4 Vesta"). Vogone talk 15:19, 19 October 2013 (UTC)[reply]

Italian[edit]

  1.  Support — just OK, since many small astronomical bodies don't have an article on it.wp --Ricordisamoa 06:34, 7 May 2013 (UTC)[reply]
  2.  Support On hold Can you provide some example, please? --β16 - (talk) 10:43, 13 May 2013 (UTC)[reply]
    Just one: Q9130725 --Ricordisamoa 11:23, 13 May 2013 (UTC)[reply]
    Ok, thanks! It seems is valid for all languages. --β16 - (talk) 12:13, 13 May 2013 (UTC)[reply]

Portuguese[edit]

Russian[edit]

Spanish[edit]

Swedish[edit]

  •  Support for named and un-numbered minor planets. The Swedish names are identical with the IAU-names (4 Vesta / 2010 TK7). The exact syntax for un-named but numbered minor planets have to be discussed (1996 XG3 or 21307 1996 XG3 or (21307) 1996 XG3 etc), but I think it can be solved. -- Lavallen (block) 05:49, 7 May 2013 (UTC)[reply]

Others[edit]

I suppose it would be even more useful for smaller languages. HenkvD (talk) 15:29, 18 May 2013 (UTC)[reply]