User talk:Magnus Manske/duplicate item.js

From Wikidata
Jump to navigation Jump to search

Please expand this script for Lexemes. It could ask for a new lemma/language pair but copy statements+(senses)+forms. Forms are the most important thing. --Infovarius (talk) 07:28, 21 March 2021 (UTC)[reply]

Anyone? @So9q, Nikki:? --Infovarius (talk) 22:26, 20 August 2021 (UTC)[reply]
@infovarius:I actually thought about doing this, but I have only rarely needed it. Sometimes it would be nice to have between Danish and Swedish to copy, but then again the forms are different and so on, so creating lexemes from scratch with good efficient tooling is IMO the best way forward.--So9q (talk) 23:48, 20 August 2021 (UTC)[reply]
Copying is useful too. But sometimes there are homonyms with a huge pile of equivalent forms (with a lot of qualifiers) but different sense/etymology - to create from scratch (even with some tool) is not a choice (and hence I don't do it). --Infovarius (talk) 19:07, 22 August 2021 (UTC)[reply]
@So9q, Magnus Manske:? The feature is very needed! Examples (please duplicate): бар (L183879) (with sense ru@"режущая часть горного комбайна"), посол (L184065) (with different animacy (Q1250335) and move these senses there), ил (L183960) (with new sense), кап (L114908) (twice for new sense+etymology pairs), вафля (L183909) (for similar Pluralia tantum - easier to remove wrong forms than to enter from scratch), стан (L184114) (for different senses), уникум (L173206) (another meaning with animicity), газ (L183915) (for different senses with the same declination). Infovarius (talk) 19:27, 7 October 2021 (UTC)[reply]

Creation of unwanted items[edit]

When selecting "Duplicate this item" from the menu, a message box appears that asks: "www.wikidata.org says: Also duplicate all labels and aliases? You will need to fix them in all languages! [OK] [Cancel]". I expect an item to be created after clicking on "OK", but it also happens with "Cancel" or when switching to another tab. Peter James (talk) 19:43, 20 May 2024 (UTC)[reply]