User "Hashar" posted a comment on MediaWiki.r102951. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/102951#c25996 Commit summary:
(bug 29854) Store protocol-relative links twice in the externallinks table, one with http: in el_index and once with https: . Modified patch by Brad Jorsch Comment: Hopefull the "WHERE (el_index LIKE '//%' ESCAPE '\' )" will run fine thanks to the index :) This script could have make use of the batch system for those wikis with millions of relative URLs :-D TODO: still need to make sure the DISTINCT keyword added in the API call will not throw away the live DB. I had issues a long time ago with DISTINCT unconditionally skipping indexes under MySQL. Looks good overall. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
