MediaWiki talk:Gadget-moveClaim.js/Archive 1

Tried

Looks promising, but I couldn't get it to work. Will it be like the move-sitelinks gadget? Maybe it interferes with some other gadget.
--- Jura 17:24, 3 August 2017 (UTC)

The dialog-creating code was indeed taken from Move.js. Interestingly, on my first attempt after seeing your comment I wasn't able to open the dialog neither. After the refresh, it did work and I was able to drain an item. Matěj Suchánek (talk) 18:19, 3 August 2017 (UTC)
After some cache purging, it finally appears. Works great. (How could we live without it!)
--- Jura 14:10, 5 August 2017 (UTC)

Maybe a text field would be more usable than pop-up

We move cursor a lot with centered pop-ups.

Simple text fields near buttons are much faster.


Otherwise useful widget, should be visible IMO d1g (talk) 03:38, 28 August 2017 (UTC)

"copy claim to"

We might want to split claims when we create separate items without qualifiers.

Old claim should be copied in 2 or more items and possibly without some old qualifiers. d1g (talk) 04:22, 29 August 2017 (UTC)

I'm not sure it's worth the effort. This tool should assist and save time when moving claims with qualifiers and references. Creating a plain claim is not that difficult. Matěj Suchánek (talk) 15:07, 29 August 2017 (UTC)
This is needed where one statement is true for all members or all parts.
We should copy same qualifiers and references for every member.
This is time consuming with objects with 100+ statements (geo objects). d1g (talk) 08:33, 30 August 2017 (UTC)
This is very slow compared to Wikipedia templates
With sport events users have to copy 6-10 common statements before enter distinct information.
Not only single statement copy, but multi-statement copy was asked. d1g (talk) 20:25, 9 September 2017 (UTC)
Implemented a "just copy" option. Matěj Suchánek (talk)

minor redlink

edit d1g (talk) 12:55, 25 September 2017 (UTC)

Thank you, I hope I fixed it. Matěj Suchánek (talk) 14:34, 25 September 2017 (UTC)

The move claim tool seems to be non-functional as of today. The developer console shows the following error:

TypeError: invalid 'in' operand obj  load.php:7:189
isArraylike https://www.wikidata.org/w/load.php:7:189
.each https://www.wikidata.org/w/load.php:4:985
move/< https://www.wikidata.org/w/index.php:183:4
.each https://www.wikidata.org/w/load.php:5:309
move https://www.wikidata.org/w/index.php:182:3
performMove/< https://www.wikidata.org/w/index.php:245:4
jQuery.Callbacks/fire https://www.wikidata.org/w/load.php:45:104
jQuery.Callbacks/self.fireWith https://www.wikidata.org/w/load.php:46:431
.Deferred/</deferred[tuple[0]] https://www.wikidata.org/w/load.php:47:765
mw.Api.prototype.ajax/xhr< https://www.wikidata.org/w/load.php:951:401
jQuery.Callbacks/fire https://www.wikidata.org/w/load.php:45:104
jQuery.Callbacks/self.fireWith https://www.wikidata.org/w/load.php:46:431
done https://www.wikidata.org/w/load.php:135:757
.send/callback https://www.wikidata.org/w/load.php:141:562

It looks like the 'claims' variable in 'move' is not defined anymore. Wikidatist (talk) 20:17, 25 September 2017 (UTC)

Apologize, I broke it yesterday and moreover, I did not notice this in my watchlist. Fixed now. Matěj Suchánek (talk) 20:47, 26 September 2017 (UTC)

fr l10n

Hello,

could you please add this translation to your gadget?

	case 'fr':
		mw.messages.set( {
			'move-claim': 'Déplacer l’affirmation',
			'close': 'Fermer',
			'copy-claim': 'Ne pas supprimer l’affirmation de cet élément',
			'newentity': 'Identificateur du nouvel élément',
			'move-claim-intro': 'Vous pouvez déplacer cette affirmation vers un autre élément. Veuillez donner un identificateur d’élément valide.',
			'successfully-copied': 'L’affirmation $2 a été copiée vers $1 avec succès.',
			'successfully-moved': 'L’affirmation $2 a été déplacée vers $1 avec succès.',
			'error-sameid': 'L’identificateur du nouvel élément doit être différent de celui de l’élément actuel.',
			'error-invalidid': 'L’identificateur donné n’est pas un identificateur d’élément valide.',
			'error-notexisting': 'L’élément avec l’identificateur $1 n’existe pas.',
			'error-overwrite': 'Le lien pour le site présent dans $1 est déjà défini. Veuillez vérifier l’identificateur de l’élément ou supprimer ce lien de l’élément.',
			'error-api': 'Une erreur est survenue lors de l’édition de l’élément : $1'
		} );

Thank you again for this gadget! — Metamorforme42 (talk) 17:28, 30 September 2017 (UTC)

  Done You're welcome! Matěj Suchánek (talk) 17:56, 30 September 2017 (UTC)

Some feedback/ requests about copying claims

I'm finding this script immensely useful; thank you. However, I do find it too easy to move a claim when I should copy it. Please could you consider making "copy" the default, or replacing the current checkbox, and instead having three buttons, adding a "Copy" button alongside the current "Move" and "Cancel"? Also when I do copy a claim, the edit summary on the target item still says "Moving claim from...". Please could that be changed to " Copying claim from..."? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:34, 29 November 2017 (UTC)

Thanks for your feedback, I'll certainly consider that. Matěj Suchánek (talk) 19:21, 29 November 2017 (UTC)
  Fixed summary. Matěj Suchánek (talk) 10:12, 2 June 2018 (UTC)
I have   Done this. Matěj Suchánek (talk) 07:21, 4 July 2018 (UTC)

el

(Like the above) @Matěj Suchánek: Hello,

could you please add this translation to your gadget?

	case 'el':
		mw.messages.set( {
			'move-claim': 'Μετακίνηση ισχυρισμού',
			'close': 'Κλείσιμο',
			'copy-claim': 'Να μην αφαιρεθεί ο ισχυρισμός από αυτό το αντικείμενο',
			'newentity': 'Το αναγνωριστικό (id) της νέας οντότητας',
			'move-claim-intro': 'Μπορείτε να μετακινήσετε ένα ισχυρισμό σε μια άλλη οντότητα. Παρακαλώ δώστε έγκυρο αναγνωριστικό (id) οντότητας.',
			'successfully-copied': 'Ο ισχυρισμός $2 αντιγράφτηκε στο αντικείμενο $1.',
			'successfully-moved': 'Ο ισχυρισμός $2 μετακινήθηκε στο αντικείμενο $1.',
			'error-sameid': 'Το/τα αναγνωριστικό/ά (id) της νέας οντότητα/των νέων οντοτήτων πρέπει να είναι διαφορετικό/ά από το/τα τρέχον/τρέχοντα.',
			'error-invalidid': 'Το δοθέν αναγνωριστικό (id) δεν είναι ένα έγκυρο αναγνωριστικό οντότητας.',
			'error-notexisting': 'Η οντότητα με αναγνωριστικό (id) $1 δεν υπάρχει.',
			'error-overwrite': 'Ο σύνδεσμος προς τη δοθείσα ιστοσελίδα στο αντικείμενο $1 υπάρχει ήδη. Παρακαλώ ελέγξτε το/τα αναγνωριστικό/ά (id) της οντότητας/των οντοτήτων ή μετακινείστε το σύνδεσμο από την οντότητα.',
			'error-api': 'Παρουσιάστηκε ένα σφάλμα στην επεξεργασία της οντότητας: $1'
		} );

Thank you...

Xaris333 (talk) 19:40, 29 November 2017 (UTC)

  Done Matěj Suchánek (talk) 16:16, 30 November 2017 (UTC)

Share id with "movesitelink"?

In general, statements and sitelinks are moved to the same item. It would be good if the cached id was shared. BTW, I like the "new" option available for statements. Having it for sitelinks would be helpful too.
--- Jura 11:18, 15 February 2018 (UTC)

Obviously, the second part isn't needed when there are statements to move/copy.
--- Jura 09:24, 14 April 2018 (UTC)
I think both gadgets ought to be merged. Matěj Suchánek (talk) 13:27, 14 April 2018 (UTC)
Yes, I don't one needs one without the other. It makes sorting out things much easier.
--- Jura 13:37, 14 April 2018 (UTC)

Move labels/descriptions

A step further could be labels and descriptions
--- Jura 11:55, 16 April 2018 (UTC)

Move failed

Hello Matěj Suchánek, when you move two identical statements with only different qualifiers, only the first one is moved. Both are suppressed from the original item, pop-up says move is done but in fact you've just lost a statement. See Temple du Saint-Esprit (Besançon) (Q3517669) and Q54556537 for example. — Ayack (talk) 08:32, 2 June 2018 (UTC)

Could please say exactly what data of which statement got lost? Matěj Suchánek (talk) 09:56, 2 June 2018 (UTC)
Initially there was these statements on Temple du Saint-Esprit (Besançon) (Q3517669) (edit: the fourth can't be displayed by the template):
heritage designation
  monument historique inscrit
start time 16 septembre 1933
1 reference
add reference
  classified historical monument
start time 22 avril 1932
1 reference
add reference
  monument historique inscrit
start time 25 octobre 1937
1 reference
add reference
  classified historical monument
start time 19 août 2005
1 reference
add reference


add value
I moved them all to Q54556537, but on Q54556537, only two were actually moved:
heritage designation
  monument historique inscrit
start time 16 septembre 1933
1 reference
add reference
  classified historical monument
start time 22 avril 1932
1 reference
add reference


add value

.

Ayack (talk) 14:24, 2 June 2018 (UTC)
And now, the gadget doesn't work at all: I can't click on the button... — Ayack (talk) 14:28, 2 June 2018 (UTC)
I hope I fixed it. Thanks a lot for this test case! I wonder how I could let the gadget exist so long with such stupid bugs. Matěj Suchánek (talk) 16:02, 2 June 2018 (UTC)
I couldn't test the same case, but the gadget is working again. Thanks! — Ayack (talk) 21:36, 2 June 2018 (UTC)

New words in Greek

@Matěj Suchánek:

  • 'copy-claim': 'Copy claim', -> 'copy-claim': 'Αντιγραφή ισχυρισμού',
  • 'move-claim-intro-hint': 'If you write "NEW", you will copy/move the claim to a new item.', -> 'move-claim-intro-hint': 'Αν γράψεις "ΝΕΟ", θα αντιγράψει/μετακινήσει τον ισχυρισμό σε ένα νέο αντικείμενο.',

I translated the word NEW with ΝΕΟ (Greek letters) . Is it going to work?

Xaris333 (talk) 19:10, 4 July 2018 (UTC)

  Done It was a good idea to also have the magic word translated. The localized word should also work now. Matěj Suchánek (talk) 06:55, 5 July 2018 (UTC)

Thanks... Forgive but I didn't notice that I use plural to other sentences. Please chance 'Αν γράψεις "ΝΕΟ", with 'Αν γράψετε "ΝΕΟ", . And one question: why this useful tool is not to gadget list? Xaris333 (talk) 18:23, 5 July 2018 (UTC)

No problem. Gadgets are scripts considered stable and well written. Yesterday, I switched the layout per a feedback from the past but as you can see in the section below, there is a doubt about it being useful. So I need to have this sorted out before proceeding. Matěj Suchánek (talk) 12:50, 6 July 2018 (UTC)

Two buttons

Please change back to one button and a checkbox! New design doesn't allow to do repetetive copying! (with just pressing "enter") --Infovarius (talk) 11:16, 6 July 2018 (UTC)

I did so per #Some feedback/ requests about copying claims. @Pigsonthewing: Matěj Suchánek (talk) 12:43, 6 July 2018 (UTC)
The two buttons are much better; and reduce errors. Please keep them. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:17, 6 July 2018 (UTC)
Hm, but the default action on enter is move, and now I cannot copy by keyboard at all, so the problem became even worse... --Infovarius (talk) 20:33, 11 July 2018 (UTC)
So? Please tell me how can I copy statements with keyboard. --Infovarius (talk) 13:36, 14 July 2018 (UTC)
What about making the gadget will remember your last action? If I figure out how to make the user aware which one it is, it shouldn't be difficult. (I'm really sorry but I realized too late that it had supported keyboard.) Matěj Suchánek (talk) 13:48, 14 July 2018 (UTC)
Yes, I mean the last action. And actually I noticed wishing behaviour - focus was fixed on "copy" next time when I pressed "copy" the first time! So may be it'll be all right. I'll test more. --Infovarius (talk) 23:21, 15 July 2018 (UTC)
Right, that's was I meant. Matěj Suchánek (talk) 07:37, 16 July 2018 (UTC)

French translation

Hello Matěj Suchánek, could you replace the French translation with this one please. Thanks.

	case 'fr':
		mw.messages.set( {
			'close': 'Fermer',
			'copy-claim': 'Copier l’affirmation',
			'move-claim': 'Déplacer l’affirmation',
			'newentity': 'Identifiant du nouvel élément',
			'move-claim-intro': 'Vous pouvez déplacer cette affirmation vers un autre élément. Veuillez donner un identifiant d’élément valide.',
			'new-magic-word': 'NOUVEAU',
			'move-claim-intro-hint': 'Si vous rentrez "$1", vous copierez/déplacerez l’affirmation vers un nouvel élément.',
			'successfully-copied': 'L’affirmation $2 a été copiée vers $1 avec succès.',
			'successfully-moved': 'L’affirmation $2 a été déplacée vers $1 avec succès.',
			'error-sameid': 'L’identifiant du nouvel élément doit être différent de celui de l’élément actuel.',
			'error-invalidid': 'L’identifiant donné n’est pas un identifiant d’élément valide.',
			'error-notexisting': 'L’élément avec l’identifiant $1 n’existe pas.',
			'error-overwrite': 'Le lien pour le site présent dans $1 est déjà défini. Veuillez vérifier l’identifiant de l’élément ou supprimer ce lien de l’élément.',
			'error-api': 'Une erreur est survenue lors de l’édition de l’élément : $1'
		} );
		break;

Ayack (talk) 08:40, 10 July 2018 (UTC)

  Done Thanks. Matěj Suchánek (talk) 10:08, 10 July 2018 (UTC)

Move to "new" just copies a statement

I think
--- Jura 19:16, 13 July 2018 (UTC)

You're right. Fixed. Matěj Suchánek (talk) 19:43, 13 July 2018 (UTC)


"Copy to" duplicates statements?

Here I added a second statement by using the copy function. Is there a way to skip it?

BTW, the other day, I tried to use the same to create a second statement on the same item .. unfortunately that didn't work
--- Jura 15:19, 3 August 2018 (UTC)

Neither moving nor copying claim will add a duplicate claim. When I try to do what you apparently did, it doesn't add that claim again. Very strange but I will investigate it. (And maybe I'll find my way into lexemes.) Matěj Suchánek (talk) 15:40, 3 August 2018 (UTC)
No problem. I think Krbot eventually would eliminate the occasional duplicate.
--- Jura 15:50, 3 August 2018 (UTC)
In the end, I did it myself for debuging purposes. Anyway, this made me realize I can simplify the gadget by just comparing hashes of values. This should end all problems once and for all. Matěj Suchánek (talk) 16:11, 3 August 2018 (UTC)
Initially, I thought it was some other problem, but it seems that copy-to "new" doesn't work any more. I just creates a new item and then hangs.
--- Jura 18:07, 7 August 2018 (UTC)
Should work now. Matěj Suchánek (talk) 12:51, 8 August 2018 (UTC)


"Moved to" when copying

When copying a claim, the text confirms that one copied it, but the header of the message says "Moved". Somehow I find that slightly irritating. I'd prefer if that used "Copied" as well.
--- Jura 08:30, 1 September 2018 (UTC)

  Fixed Matěj Suchánek (talk) 10:14, 3 September 2018 (UTC)

New from lexemes

Maybe this should create a lexeme, not an item. --- Jura 05:58, 21 September 2018 (UTC)

  • I suppose it would need to work slightly differently, as lexemes have a series of mandatory elements. Maybe an entry of some "text" could generate another lexeme with the same language, language code, lexical category and "text" as lemma and the statement being copied. --- Jura 22:06, 23 September 2018 (UTC)

For lexemes there is a need for copying between lexeme level, forms level and senses level. --Infovarius (talk) 21:19, 6 November 2018 (UTC)

It should already have been possible to copy from/to forms. (If not, please come back with a test case.) Senses are waiting for phab:T199896. Matěj Suchánek (talk) 21:16, 23 November 2018 (UTC)
I just tried to copy the statement in L:L44929#F6 to L:L44929#F5 giving the entity ID "L44929-F5". It didn't work and I got: "There was an error editing the entity: [XPfUtApAAEcAAJwGUyYAAAAL] Caught exception of type BadMethodCallException". Thanks for any work on this, --Marsupium (talk) 14:56, 5 June 2019 (UTC)
I have reported it as bug in API. If it turns out to an error on my side, I will try to update the gadget as soon as possible. --Matěj Suchánek (talk) 16:47, 5 June 2019 (UTC)
Thank you! --Marsupium (talk) 02:51, 7 June 2019 (UTC)
For the record: Now phab:T223995 got fixed and it works again. Cheers, --Marsupium (talk) 21:30, 2 September 2019 (UTC)

Copy to not working

Occasionally, there are statements that I can't copy. I don't quite know why. Initially I thought it was the references, but, e.g., today I tried to copy the "London" P131 statement on Q130206 to Q56739652. --- Jura 13:41, 25 September 2018 (UTC)

Apparently, the database still contains claims with identifiers having the entity id in lowercase. I hope I fixed it. Matěj Suchánek (talk) 14:43, 25 September 2018 (UTC)
Oh still? .. I forgot about these. Would be good to run a repair on these. Thanks for fixing it. --- Jura 15:17, 25 September 2018 (UTC)

Move/copy to different property on same entity?

Would it be possible to include in the script or adapt it for that? Thanks in advance, --Marsupium (talk) 17:36, 3 November 2018 (UTC)

edit summary when creating and copying to a new item

In edits like [1], the former id isn't visible. I think there is also an issue with the id being displayed in the message when creating several, but I'm not sure about the full details. --- Jura 06:26, 6 November 2018 (UTC)

Close

@Matěj Suchánek: Hello. The word "Close" is not showing in Greek, even thought is already translated. It was working before. Xaris333 (talk) 17:06, 24 December 2018 (UTC)

You have probably enabled a gadget which doesn't have a Greek translation for this key. There's a known problem that the localization across gadgets and userscripts is shared. I can't do anything with it (except changing the key locally which doesn't make sense to me). Matěj Suchánek (talk) 17:38, 25 December 2018 (UTC)

How to use?

Hi,

how can I use this script? --Shisma (talk) 09:06, 19 June 2019 (UTC)

After you've added it to your common.js, green arrows should occur next to each statement. After you click on it, you'll see a form. If you paste the item identifier, you can either move or copy the claim to the item. --Matěj Suchánek (talk) 13:38, 19 June 2019 (UTC)

Not working lattely

Matěj, I have this script activated for a while and use it a lot, but it stop working for me lately. Just today I was hoping to move bunch of statements from Q2718629 to Q4691480, but just can not convince the green arrows to show up. --Jarekt (talk) 16:31, 29 May 2020 (UTC)

I have fixed your common.js. --Matěj Suchánek (talk) 09:39, 31 May 2020 (UTC)

Focus on the inner field

Is it possible to focus automatically on the field containing the item ID? --Horcrux (talk) 08:58, 30 June 2020 (UTC)

It works for me on Firefox. Would you share more information about your environment? --Matěj Suchánek (talk) 10:24, 12 July 2020 (UTC)
Sorry, now it's working also for me :-) Thank you anyway --Horcrux (talk) 07:17, 13 July 2020 (UTC)

Summary displayed after moving/copying

For some time, the summary that pops up now includes raw html (<a href) instead of the a clickable link.

Same problem with the sitelink move gadget. --- Jura 13:35, 25 August 2020 (UTC)

  Fixed Indeed, thanks! Looks like the recent problem (Topic:Vribc8rgzhgj66kq) was related to this and my code was likely exploiting the security hole (and then it was wrong). --Matěj Suchánek (talk) 14:06, 25 August 2020 (UTC)
ty. Would you kindly fix it in the sitelink move gadget as well? --- Jura 08:25, 26 August 2020 (UTC)
Did it. It seems there are multiple solutions for this problem. --Matěj Suchánek (talk) 09:07, 26 August 2020 (UTC)

Italian translation

case 'it':
		mw.messages.set( {
			'close': 'Chiudi',
			'copy-claim': 'Copia dichiarazione',
			'move-claim': 'Sposta dichiarazione',
			'newentity': 'L\'ID della nuova entità:',
			'new-magic-word': 'NUOVO',
			'move-claim-intro': 'Puoi spostare una dichiarazione in un\'altra entità. Inserisci un valido ID dell\'entità.',
			'move-claim-intro-hint': 'Se scrivi "$1", copierai/sposterai la dichiarazione in un nuovo elemento.',
			'successfully-copied': 'La dichiarazione $1 è stata copiata con successo in [[$2|$3]].',
			'successfully-moved': 'La dichiarazione $1 è stata spostata con successo in [[$2|$3]].',
			'error-sameid': 'L\'ID della nuova entità deve essere differente da quello attuale.',
			'error-invalidid': 'L\'ID inserito non è quello di una valida entità.',
			'error-notexisting': 'L\'entità con ID $1 non esiste.',
			'error-overwrite': 'Il collegamento al sito inserito in $1 è già presente. Controlla l\'ID dell\'entità o rimuovi il collegamento dall\'entità.',
			'error-api': 'C\'è stato un errore nella modifica dell\'entità: $1'
} );

I will translate into Esperanto too when possible --★ → Airon 90 07:11, 28 August 2020 (UTC)

  Done --Matěj Suchánek (talk) 14:26, 28 August 2020 (UTC)

Move to (different) form?

At Lexeme:L467, I attempted to input "L467-F3" for one of the IPA statements (currently on Lexeme level). It might be helpful if that worked.
--- Jura 15:54, 30 June 2018 (UTC)

I will consider this as soon as the developers declare everything related to lexemes stable. I haven't even had a time to get familiar with the structure of lexemes. Matěj Suchánek (talk) 08:25, 2 July 2018 (UTC)
Thanks, even if that might mean we have to wait for 2019 ;)
--- Jura 12:05, 2 July 2018 (UTC)

  Done for forms AND senses. Some things may not be optimal, eg. edit summaries. Matěj Suchánek (talk) 19:32, 18 October 2018 (UTC)

sv translation

{{Editrequest}}

		break;
	case 'sv':
			'another-entity': 'Till en annan entitet',
			'same-entity': 'Till samma entitet',
			'close': 'Stäng',
			'copy-claim': 'Kopiera påstående',
			'move-claim': 'Flytta påstående',
			'newentity': 'Den nya entitetens ID:',
			'newproperty': 'Den nya egenskapens ID:',
			'force-label': 'Tillåt typmatchningsfel:',
			'new-magic-word': 'NY',
			'move-claim-intro': 'Du kan flytta ett påstående till en annan entitet. Ange ett giltigt entitets-ID.',
			'move-claim-intro-hint': 'Om du skriver "$1" kommer du flytta/kopiera påståendet till ett nytt objekt.',
			'move-claim-intro-same-entity': 'Du kan flytta ett påstående till en annan egenskap hos den nuvarande entiteten.',
			'move-claim-intro-hint-same-entity': 'Ange ett giltigt egenskaps-ID som är av samma typ som den nuvarande egenskapen.',
			'successfully-copied': 'Påståendet $1 kopierades till [[$2|$3]].',
			'successfully-moved': 'Påståendet $1 flyttades till [[$2|$3]].',
			'error-sameid': 'Den nya entitetens ID måste skilja sig från den aktuella.',
			'error-sameproperty': 'Den nya egenskapens ID måste skilja sig från den aktuella.',
			'error-differenttype': 'Den aktuella entiteten $1 och den nya entiteten [[$2|$3]] måste vara av samma typ. Använd kryssrutan ovan för att åsidosätta denna kontroll.',
			'error-invalidid': 'Det angivna ID:t är inte en giltig entitetsidentifierare.',
			'error-invalidproperty': 'Det angivna ID:t är inte en giltig egenskapsidentifierare.',
			'error-invaliddatatype': 'Den nya egenskapen är inte kompatibel med den aktuella egenskapens datatyp.',
			'error-notexisting': 'Det finns ingen entitet med ID:t [[$1|$2]].',
			'error-api': 'Det uppstod ett fel när entiteten redigerades: $1'
		} );

@Matěj Suchánek: Could you add my Swedish translation? --Sabelöga (talk) 17:11, 28 July 2021 (UTC)

@Sabelöga: Please check 'error-api' again. $1 is the error, not entity. In fact, the message should also tell which entity since you can modify two in one request, but I will be maybe figure it out later. --Matěj Suchánek (talk) 17:23, 28 July 2021 (UTC)
@Matěj Suchánek: Yes, this was how it was formated in the original code, fixed. --Sabelöga (talk) 20:37, 28 July 2021 (UTC)
  Done --Matěj Suchánek (talk) 09:36, 29 July 2021 (UTC)

description

Please add value QID for more descriptive edit comment. --Infovarius (talk) 12:38, 3 September 2021 (UTC)

Copy claims from one entity to multiple other?

I have multiple episode items of a television series and want to copy the claim that it's the part of the series from one item to all the other items. Is there an option to copy the claim to multiple entities? Seperating the entities by "|", "," or something like this didn't work. CENNOXX (talk) 13:49, 30 November 2021 (UTC)

@CennoxX: No, there is not. QuickStatements are better suited for this mass-addition task. --Matěj Suchánek (talk) 16:03, 1 December 2021 (UTC)

Can someone please help me make it work?

I have been using the script by User:Melderick for a while and it worked like a charm.

Now I have been asked to move to this version, but I can't make it work. See my commons.js. What am I doing wrong? -- H005 (talk) 11:08, 31 October 2021 (UTC)

@H005: I've fixed it for you, it should start working in a while. --Matěj Suchánek (talk) 12:07, 31 October 2021 (UTC)
Great, many thanks. May it would be good to post the code and some instructions at the top of this page? -- H005 (talk) 12:27, 31 October 2021 (UTC)
I have added a proposal at the top. Hope I got it right. If not, feel free to improve. Cheers, -- H005 (talk) 12:49, 31 October 2021 (UTC)
Well done! --Matěj Suchánek (talk) 13:19, 31 October 2021 (UTC)
FYI I took them down, because this is now a gadget. --Matěj Suchánek (talk) 10:12, 23 December 2021 (UTC)

Move claims entiy-to-entity like Merge

Could moving claims from one entity to another work like Merge does where you can "Select for merging" and then switch tabs to item you want to merge? This would make moving claims from entity-to-entity a lot faster and not require copying the entity ID. Lectrician1 (talk) 00:22, 6 January 2022 (UTC)

Pop-up delay

There would be useful to set some delay after which popup disappear. When I move some statements and want to search anothe item, suggestions are hiddden under these pop-ups. JAn Dudík (talk) 19:29, 24 January 2022 (UTC)

Add property suggester input

Could the property suggester input (class="ui-suggester-input") be added to the property mover dialog? This would making finding the property IDs faster. Lectrician1 (talk) 00:28, 6 January 2022 (UTC)

+1000, it would make it so much more efficient, fast and pleasant to use this (already excellent) tool if one could just type the name of properties and items rather than having to look up the P-ids and Q-ids. Thank you :-) Spinster 💬 08:49, 4 March 2022 (UTC)

item for tool

Seems we lacked that. Here it is: moveClaim (Q110793966) --- Jura 16:57, 2 February 2022 (UTC)

Return to "Gadget-moveClaim.js/Archive 1" page.