[TxMt] Re: Hyperlink helper: Lookup Word / Selection on Wikipedia and link
Ronald Wampler
rdwampler at gmail.com
Mon Jul 9 16:46:05 UTC 2018
> On Jul 5, 2018, at 11:04 AM, Tim Bates <timothy.c.bates at 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&search=Mendelian+Randomization -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Mendelian+Randomization (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 at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
More information about the textmate
mailing list