Alternate entries used for later post.
//Given// that [[https://no.wikipedia.org/wiki/Kategori:D%C3%B8dsfall_i_107|w:no:Kategori:Dødsfall i 107]] is unconnected
[alt //Given// that [[https://no.wikipedia.org/wiki/Kategori:Kolosserbrevet|w:no:Kategori:Kolosserbrevet]] is unconnected]
//And// it is unconnected
//When// I click on "Edit links"
//And// I chose Swedish
[alt //And// I chose English]
//And// I chose the entry for "Kategori:Avlidna 107"
[alt //And// I chose the entry for "Category:Epistle to the Colossians"]
//And// I click on "Lenk til side"
//Then// I expect the pages to be connected and langlinks updated
What I get is the dialog shown below
{F26851992}
This reads "The page you have chosen is already linked at our item on our central data repository. Acknowledge the pages shown below as the ones you want to connect to this page." There are no listed pages to connect.
This seems wrong, and somehow this gadget turns up this error message quite often now.
Wild guess: the data structure has changed somehow with the last mediawiki rollout, and a test in the gadget fails. Ie. the root cause is in the data structure, not the crappy message in the gadget.
It is a thread at [[https://no.wikipedia.org/wiki/Wikipedia:Torget#Tr%C3%B8bbel_med_%C3%A5_koble_til_wikidata |w:no:Wikipedia:Torget#Trøbbel med å koble til wikidata]].
I have verified that the page can be added to the item by going to Wikibase and manually entering the page, and purging the page. It was still there. (I did not verify that the page got updated though.)
Trying again with `debug=true` I got an exception
```
jQuery.Deferred exception: site is null _createSiteLinkRow@https://no.wikipedia.org/w/extensions/Wikibase/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js?b78ba:531:1
$.widget/</prototype[prop]</<@https://no.wikipedia.org/w/resources/lib/jquery.ui/jquery.ui.widget.js?7d91d:90:20
_createSiteLinkTable@https://no.wikipedia.org/w/extensions/Wikibase/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js?b78ba:508:7
$.widget/</prototype[prop]</<@https://no.wikipedia.org/w/resources/lib/jquery.ui/jquery.ui.widget.js?7d91d:90:20
_userConfirmEntity@https://no.wikipedia.org/w/extensions/Wikibase/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js?b78ba:464:14
$.widget/</prototype[prop]</<@https://no.wikipedia.org/w/resources/lib/jquery.ui/jquery.ui.widget.js?7d91d:90:20
_onConfirmationDataLoad@https://no.wikipedia.org/w/extensions/Wikibase/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js?b78ba:436:6
$.widget/</prototype[prop]</<@https://no.wikipedia.org/w/resources/lib/jquery.ui/jquery.ui.widget.js?7d91d:90:20
proxy@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:10268:10
fire@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3268:11
fireWith@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3398:7
Deferred/</deferred[tuple[0]]@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3736:36
getNewlyLinkedPages/<@https://no.wikipedia.org/w/extensions/Wikibase/client/resources/wikibase.client.PageConnector.js?5be81:85:5
fire@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3268:11
fireWith@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3398:7
mightThrow@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3593:13
resolve/</process<@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3602:12
resolve/<@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3632:9
mightThrow@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3534:21
resolve/</process<@https://no.wikipedia.org/w/resources/lib/jquery/jquery.js?6a07d:3602:12
undefined
```