I guess this is an offshoot of Tims great improvements to namespaceDupes.php, which now fixes link tables
pagelinks from=38058985 ns=0 dbk=Special:Contributions/Nabila.selim *** INVALID A database query error has occurred. Query: UPDATE `pagelinks` SET pl_namespace = '4',pl_title = 'OTRS' WHERE pl_namespace = '0' AND pl_title = 'COM:OTRS' AND pl_from = '7962192' Function: NamespaceConflictChecker::checkLinkTable Error: 1062 Duplicate entry '7962192-4-OTRS' for key 'pl_from' (10.64.16.29)
Noticed whilst poking at T87645 again.
I guess the query shouldn't just fail, causing the script to be run, the duplicate pl should be presumably be deleted, as the resultant link already exists?