Seth Cooper Staff Lv 1
This change has gone out in the most recent update. If a chat message contains only a URL with one of the above prefixes, it will get preprended with "LINK: " and be clickable.
This change has gone out in the most recent update. If a chat message contains only a URL with one of the above prefixes, it will get preprended with "LINK: " and be clickable.
Great stuff! A minor bug has turned up: URLs containing a '#' aren't handled. Example:
fold.it/portal/node/991511#comment-15226
PS: I have modified urlBot to account for these changes to the client:
(1) Links that are newly clickable will be ignored. Once the '#' thing has been corrected, I'll ignore those URLs too.
(2) A URL that would be clickable if it was alone on the line, e.g.
irc> See the link at http://fold.it/portal/comment/reply/988174/15967
will be made clickable by resending the URL on a new line
(3) Other URLs are made Tiny as they were before
(4) One other minor change; the minimum length to tiny-fy has been raised from 30 to 32. (A TinyURL is 26 characters.)
Please let me know if I have missed anything or introduced any bugs. (Yes, I know that some folks consider this bot to be evil incarnate – but that discussion has run its course. Constructive criticism is welcome.)
PPS: I notice the following link does not match the "clickable" criteria:
http://foldit.wikia.com/index.php?title=Fold.it_IRC_%28chat%29_Information
Is there a reason why all of foldit.wikia.com should not be linkable?
Rather than continue to add to an old (possibly ignored) thread, I have summarized these and other changes in a new thread:
http://fold.it/portal/node/992294
this fix has been posted in the Developer Preview and will go out in the next update to main.
None of http://foldit.wikia.com should be clickable since it is content not under the control of the Fold.it project, it could be links to anything that anyone - good or evil - could post there.
thanks for taking the time to fix the urlbot to not respond to clickable links
Done