X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfixExtLinksProtocolRelative.php;h=f5861e5a0bd9636b0c3cc70725b70af8c7b57eb6;hb=f1f9006707a2324505a9d97b32f07bf5a28aa37e;hp=c70b8be7c952a3eaf80141c2c313dd7d3c62164a;hpb=526341516a91502ac7cfd2e5590e7432b3f50c5d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fixExtLinksProtocolRelative.php b/maintenance/fixExtLinksProtocolRelative.php index c70b8be7c9..f5861e5a0b 100644 --- a/maintenance/fixExtLinksProtocolRelative.php +++ b/maintenance/fixExtLinksProtocolRelative.php @@ -71,11 +71,13 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance { 'el_from' => $row->el_from, 'el_to' => $row->el_to, 'el_index' => "http:{$row->el_index}", + 'el_index_60' => substr( "http:{$row->el_index}", 0, 60 ), ], [ 'el_from' => $row->el_from, 'el_to' => $row->el_to, 'el_index' => "https:{$row->el_index}", + 'el_index_60' => substr( "https:{$row->el_index}", 0, 60 ), ] ], __METHOD__, [ 'IGNORE' ] );