resources: Collapse all jQuery UI modules into one deprecated mega-module
[lhc/web/wiklou.git] / maintenance / fixExtLinksProtocolRelative.php
index 97cd37e..f5861e5 100644 (file)
@@ -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' ]
                        );
@@ -95,5 +97,5 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance {
        }
 }
 
-$maintClass = "FixExtLinksProtocolRelative";
+$maintClass = FixExtLinksProtocolRelative::class;
 require_once RUN_MAINTENANCE_IF_MAIN;