Question; are LOC links handled in a standardised way using a template? Because if so this could be one change, not hundreds of thousands.
(If it's not I'd really suggest using the same edit sets and opportunity to restructure them that way, if LOC links are consistent enough for it to be done. That way you'll both avoid this problem in the future if something goes kooky - only have to make one edit! - and have a much easier way of identifying how many there are and where they live)
On 13 January 2016 at 10:49, Risker risker.wp@gmail.com wrote:
Before properly answering this question, it's important to know how many links we're talking about. If it's 5000, the fallout is probably manageable; but if it's in the hundreds of thousands on any project (most likely enwiki) there will be renting of garments and gnashing of teeth. All those changes show up on people's watchlists, after all.
Please also ensure that if you're changing the URL, it's not just a http --> https swap, but that the new URL is tested to verify it lands on a real page. There are no doubt plenty of bad links in amongst all those URLs - even government websites rearrange themselves periodically - and replacing a bad link with a more secure bad link is not really helpful.
Risker/Anne
On 13 January 2016 at 13:32, Max Semenik maxsem.wiki@gmail.com wrote:
Fix them with a bot, for example AWB https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser.
On Wed, Jan 13, 2016 at 9:09 AM, Chris Adams chris@improbable.org wrote:
I've been working with a number of colleagues getting ready to turn HTTPS on by default for various loc.gov domains. This has been fairly
successful
and we're working through the old legacy apps now.
When that work completes, we'll have somewhere around half a million
links
which differ only in the URL scheme. What would be the best way to
rewrite
all of those URLs? I'd like to reduce the window during which users
transit
from HTTPS -> HTTP -> HTTPS.
If anyone's curious, I've been collecting the links for a few dozen wikis in a somewhat oversized Git repo:
https://github.com/acdha/lc-wikipedia-links
The first site which has completely migrated is the much smaller World Digital Library which has just under four thousand links: https://gist.github.com/acdha/f785b22b356a9842439e
Thanks, Chris _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- Best regards, Max Semenik ([[User:MaxSem]]) _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l