On Jul 5, 2018, at 11:04 AM, Tim Bates timothy.c.bates@gmail.com wrote:
In Hyperlink helper command "Lookup Word / Selection on Wikipedia and link" is broken
Error is
/Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:174:in `open_loop': redirection forbidden: http://en.wikipedia.org/w/api.php?format=xml&action=opensearch&searc... -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&sear... (RuntimeError) from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:132:in `open_uri' from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:518:in `open' from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:30:in `open' from Lookup Selection on Wikipedia and link:19:in `getWikiEntries' from Lookup Selection on Wikipedia and link:31:in `getWikiDef' from Lookup Selection on Wikipedia and link:37
I made a PR to fix this. (https://github.com/textmate/hyperlink-helper.tmbundle/pull/6)
/Ron
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate