[Wikidata-bugs] [Maniphest] T358310: Convert property form decomposition (P12493) from Item to lexeme

2024-02-24 Thread Jony
Jony added a comment.


  Created as P12497  form 
decomposition.

TASK DETAIL
  https://phabricator.wikimedia.org/T358310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jony
Cc: Lucas_Werkmeister_WMDE, matej_suchanek, Bugreporter, Aklapper, hoo, Jony, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T358310: Convert property form decomposition (P12493) from Item to lexeme

2024-02-23 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  In T358310#9571351 , @Jony 
wrote:
  
  > @Bugreporter it’s possible, please see T220602 

  
  That was a change between external identifier and string, which is the only 
supported conversion according to Help:Data type § Changing datatype 
. (Strictly 
speaking, that page only says that changing //from// string //to// external 
identifier is possible, while that task changed it the other way around; 
changing from external identifier to string is just less common.) Other data 
type changes behave differently, generally somewhere between “not useful” and 
“completely broken”.
  
  Changing between Item and Lexeme is on the “not useful” end of the spectrum, 
in my opinion. You can technically do it and the software won’t completely blow 
up (at least as far as I can tell – I haven’t tested all corner cases), but 
there’s just no sensible interpretation of any existing statements that were 
created with the old data type. I tried this out locally, and in the UI, it 
gets shown as “Invalid value”:
  
  F42060791: Screen Shot 2024-02-23 at 11.14.05.png 

  
  In the JSON, you get a very confusing combination of `datatype` and 
`datavalue.value.entity-type`:
  
{
  "datatype": "wikibase-lexeme",
  "datavalue": {
"value": {
  "entity-type": "item",
  "numeric-id": 50,
  "id": "Q50"
},
"type": "wikibase-entityid"
  }
}
  
  In RDF, you get values of both types, which would probably confuse some 
external data reusers:
  
wd:P603 a wikibase:Property ;
wdt:P603 wd:Q50,
wd:L3 ;
  
  I wouldn’t want to unleash mixed-value statements like that on Wikidata, so 
IMHO the only safe situation where you could change a data type between Item 
and Lexeme would be a property that isn’t used in //any// statements yet – not 
even on itself – and in that case you might as well just delete and recreate 
the property. So I completely agree with @matej_suchanek: let’s just recreate 
the property.

TASK DETAIL
  https://phabricator.wikimedia.org/T358310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, matej_suchanek, Bugreporter, Aklapper, hoo, Jony, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T358310: Convert property form decomposition (P12493) from Item to lexeme

2024-02-23 Thread matej_suchanek
matej_suchanek closed this task as "Invalid".
matej_suchanek added a comment.


  Did it.

TASK DETAIL
  https://phabricator.wikimedia.org/T358310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: matej_suchanek
Cc: matej_suchanek, Bugreporter, Aklapper, hoo, Jony, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T358310: Convert property form decomposition (P12493) from Item to lexeme

2024-02-23 Thread Jony
Jony added a comment.


  @matej_suchanek you are also an admin on Wikidata, would you please delete 
that.

TASK DETAIL
  https://phabricator.wikimedia.org/T358310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jony
Cc: matej_suchanek, Bugreporter, Aklapper, hoo, Jony, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T358310: Convert property form decomposition (P12493) from Item to lexeme

2024-02-23 Thread matej_suchanek
matej_suchanek added a comment.


  For new properties, it is better to handle it on-wiki and delete and create 
it again. It doesn't require a sysadmin's ("deus ex machina") intervention.

TASK DETAIL
  https://phabricator.wikimedia.org/T358310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: matej_suchanek
Cc: matej_suchanek, Bugreporter, Aklapper, hoo, Jony, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T358310: Convert property form decomposition (P12493) from Item to lexeme

2024-02-23 Thread Jony
Jony reopened this task as "Open".
Jony added a comment.


  @Bugreporter it’s possible, please see T220602 


TASK DETAIL
  https://phabricator.wikimedia.org/T358310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jony
Cc: Bugreporter, Aklapper, hoo, Jony, Danny_Benjafield_WMDE, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T358310: Convert property form decomposition (P12493) from Item to lexeme

2024-02-23 Thread Bugreporter
Bugreporter closed this task as "Declined".
Bugreporter added a comment.


  This is not possible. The incorrectly created property should be deleted.

TASK DETAIL
  https://phabricator.wikimedia.org/T358310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Bugreporter
Cc: Bugreporter, Aklapper, hoo, Jony, Danny_Benjafield_WMDE, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T358310: Convert property form decomposition (P12493) from Item to lexeme

2024-02-23 Thread Jony
Jony created this task.
Jony added projects: Wikidata, Wikidata-Campsite.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  P12493  is a lexeme property 
but was accidentally created as an Item property. Please change the data type 
to lexeme . See here 
 
the property proposal discussion.

TASK DETAIL
  https://phabricator.wikimedia.org/T358310

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jony
Cc: Aklapper, hoo, Jony, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org