{"action":"closed","number":3891,"pull_request":{"url":"https://api.github.com/repos/discourse/discourse/pulls/3891","id":50035204,"html_url":"https://github.com/discourse/discourse/pull/3891","diff_url":"https://github.com/discourse/discourse/pull/3891.diff","patch_url":"https://github.com/discourse/discourse/pull/3891.patch","issue_url":"https://api.github.com/repos/discourse/discourse/issues/3891","number":3891,"state":"closed","locked":false,"title":"FIX: Use selected text in the link if text is already selected, otherwise, put the URL","user":{"login":"cpradio","id":2060315,"avatar_url":"https://avatars.githubusercontent.com/u/2060315?v=3","gravatar_id":"","url":"https://api.github.com/users/cpradio","html_url":"https://github.com/cpradio","followers_url":"https://api.github.com/users/cpradio/followers","following_url":"https://api.github.com/users/cpradio/following{/other_user}","gists_url":"https://api.github.com/users/cpradio/gists{/gist_id}","starred_url":"https://api.github.com/users/cpradio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpradio/subscriptions","organizations_url":"https://api.github.com/users/cpradio/orgs","repos_url":"https://api.github.com/users/cpradio/repos","events_url":"https://api.github.com/users/cpradio/events{/privacy}","received_events_url":"https://api.github.com/users/cpradio/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-07T12:36:40Z","updated_at":"2015-11-09T21:24:07Z","closed_at":"2015-11-09T21:24:07Z","merged_at":"2015-11-09T21:24:07Z","merge_commit_sha":"582766d81f7ebca4695864e02f9e610fbdd0eb97","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/discourse/discourse/pulls/3891/commits","review_comments_url":"https://api.github.com/repos/discourse/discourse/pulls/3891/comments","review_comment_url":"https://api.github.com/repos/discourse/discourse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/discourse/discourse/issues/3891/comments","statuses_url":"https://api.github.com/repos/discourse/discourse/statuses/8f39f25cad069c53fdac9f5e1eb617e867e2890c","head":{"label":"cpradio:fix-selected-link-text","ref":"fix-selected-link-text","sha":"8f39f25cad069c53fdac9f5e1eb617e867e2890c","user":{"login":"cpradio","id":2060315,"avatar_url":"https://avatars.githubusercontent.com/u/2060315?v=3","gravatar_id":"","url":"https://api.github.com/users/cpradio","html_url":"https://github.com/cpradio","followers_url":"https://api.github.com/users/cpradio/followers","following_url":"https://api.github.com/users/cpradio/following{/other_user}","gists_url":"https://api.github.com/users/cpradio/gists{/gist_id}","starred_url":"https://api.github.com/users/cpradio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpradio/subscriptions","organizations_url":"https://api.github.com/users/cpradio/orgs","repos_url":"https://api.github.com/users/cpradio/repos","events_url":"https://api.github.com/users/cpradio/events{/privacy}","received_events_url":"https://api.github.com/users/cpradio/received_events","type":"User","site_admin":false},"repo":{"id":36930351,"name":"discourse","full_name":"cpradio/discourse","owner":{"login":"cpradio","id":2060315,"avatar_url":"https://avatars.githubusercontent.com/u/2060315?v=3","gravatar_id":"","url":"https://api.github.com/users/cpradio","html_url":"https://github.com/cpradio","followers_url":"https://api.github.com/users/cpradio/followers","following_url":"https://api.github.com/users/cpradio/following{/other_user}","gists_url":"https://api.github.com/users/cpradio/gists{/gist_id}","starred_url":"https://api.github.com/users/cpradio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpradio/subscriptions","organizations_url":"https://api.github.com/users/cpradio/orgs","repos_url":"https://api.github.com/users/cpradio/repos","events_url":"https://api.github.com/users/cpradio/events{/privacy}","received_events_url":"https://api.github.com/users/cpradio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpradio/discourse","description":"A platform for community discussion. Free, open, simple.","fork":true,"url":"https://api.github.com/repos/cpradio/discourse","forks_url":"https://api.github.com/repos/cpradio/discourse/forks","keys_url":"https://api.github.com/repos/cpradio/discourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpradio/discourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpradio/discourse/teams","hooks_url":"https://api.github.com/repos/cpradio/discourse/hooks","issue_events_url":"https://api.github.com/repos/cpradio/discourse/issues/events{/number}","events_url":"https://api.github.com/repos/cpradio/discourse/events","assignees_url":"https://api.github.com/repos/cpradio/discourse/assignees{/user}","branches_url":"https://api.github.com/repos/cpradio/discourse/branches{/branch}","tags_url":"https://api.github.com/repos/cpradio/discourse/tags","blobs_url":"https://api.github.com/repos/cpradio/discourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpradio/discourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpradio/discourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpradio/discourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpradio/discourse/statuses/{sha}","languages_url":"https://api.github.com/repos/cpradio/discourse/languages","stargazers_url":"https://api.github.com/repos/cpradio/discourse/stargazers","contributors_url":"https://api.github.com/repos/cpradio/discourse/contributors","subscribers_url":"https://api.github.com/repos/cpradio/discourse/subscribers","subscription_url":"https://api.github.com/repos/cpradio/discourse/subscription","commits_url":"https://api.github.com/repos/cpradio/discourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpradio/discourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpradio/discourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpradio/discourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpradio/discourse/contents/{+path}","compare_url":"https://api.github.com/repos/cpradio/discourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpradio/discourse/merges","archive_url":"https://api.github.com/repos/cpradio/discourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpradio/discourse/downloads","issues_url":"https://api.github.com/repos/cpradio/discourse/issues{/number}","pulls_url":"https://api.github.com/repos/cpradio/discourse/pulls{/number}","milestones_url":"https://api.github.com/repos/cpradio/discourse/milestones{/number}","notifications_url":"https://api.github.com/repos/cpradio/discourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpradio/discourse/labels{/name}","releases_url":"https://api.github.com/repos/cpradio/discourse/releases{/id}","created_at":"2015-06-05T11:57:54Z","updated_at":"2015-06-05T11:58:04Z","pushed_at":"2015-11-09T20:30:44Z","git_url":"git://github.com/cpradio/discourse.git","ssh_url":"git@github.com:cpradio/discourse.git","clone_url":"https://github.com/cpradio/discourse.git","svn_url":"https://github.com/cpradio/discourse","homepage":"http://www.discourse.org","size":102987,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"discourse:master","ref":"master","sha":"5c70faf0d7f3ac5d3b1e7abe14f0f6a988fc8532","user":{"login":"discourse","id":3220138,"avatar_url":"https://avatars.githubusercontent.com/u/3220138?v=3","gravatar_id":"","url":"https://api.github.com/users/discourse","html_url":"https://github.com/discourse","followers_url":"https://api.github.com/users/discourse/followers","following_url":"https://api.github.com/users/discourse/following{/other_user}","gists_url":"https://api.github.com/users/discourse/gists{/gist_id}","starred_url":"https://api.github.com/users/discourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discourse/subscriptions","organizations_url":"https://api.github.com/users/discourse/orgs","repos_url":"https://api.github.com/users/discourse/repos","events_url":"https://api.github.com/users/discourse/events{/privacy}","received_events_url":"https://api.github.com/users/discourse/received_events","type":"Organization","site_admin":false},"repo":{"id":7569578,"name":"discourse","full_name":"discourse/discourse","owner":{"login":"discourse","id":3220138,"avatar_url":"https://avatars.githubusercontent.com/u/3220138?v=3","gravatar_id":"","url":"https://api.github.com/users/discourse","html_url":"https://github.com/discourse","followers_url":"https://api.github.com/users/discourse/followers","following_url":"https://api.github.com/users/discourse/following{/other_user}","gists_url":"https://api.github.com/users/discourse/gists{/gist_id}","starred_url":"https://api.github.com/users/discourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discourse/subscriptions","organizations_url":"https://api.github.com/users/discourse/orgs","repos_url":"https://api.github.com/users/discourse/repos","events_url":"https://api.github.com/users/discourse/events{/privacy}","received_events_url":"https://api.github.com/users/discourse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/discourse/discourse","description":"A platform for community discussion. Free, open, simple.","fork":false,"url":"https://api.github.com/repos/discourse/discourse","forks_url":"https://api.github.com/repos/discourse/discourse/forks","keys_url":"https://api.github.com/repos/discourse/discourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discourse/discourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discourse/discourse/teams","hooks_url":"https://api.github.com/repos/discourse/discourse/hooks","issue_events_url":"https://api.github.com/repos/discourse/discourse/issues/events{/number}","events_url":"https://api.github.com/repos/discourse/discourse/events","assignees_url":"https://api.github.com/repos/discourse/discourse/assignees{/user}","branches_url":"https://api.github.com/repos/discourse/discourse/branches{/branch}","tags_url":"https://api.github.com/repos/discourse/discourse/tags","blobs_url":"https://api.github.com/repos/discourse/discourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discourse/discourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discourse/discourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/discourse/discourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discourse/discourse/statuses/{sha}","languages_url":"https://api.github.com/repos/discourse/discourse/languages","stargazers_url":"https://api.github.com/repos/discourse/discourse/stargazers","contributors_url":"https://api.github.com/repos/discourse/discourse/contributors","subscribers_url":"https://api.github.com/repos/discourse/discourse/subscribers","subscription_url":"https://api.github.com/repos/discourse/discourse/subscription","commits_url":"https://api.github.com/repos/discourse/discourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/discourse/discourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/discourse/discourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/discourse/discourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/discourse/discourse/contents/{+path}","compare_url":"https://api.github.com/repos/discourse/discourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discourse/discourse/merges","archive_url":"https://api.github.com/repos/discourse/discourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discourse/discourse/downloads","issues_url":"https://api.github.com/repos/discourse/discourse/issues{/number}","pulls_url":"https://api.github.com/repos/discourse/discourse/pulls{/number}","milestones_url":"https://api.github.com/repos/discourse/discourse/milestones{/number}","notifications_url":"https://api.github.com/repos/discourse/discourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discourse/discourse/labels{/name}","releases_url":"https://api.github.com/repos/discourse/discourse/releases{/id}","created_at":"2013-01-12T00:25:55Z","updated_at":"2015-11-09T19:48:13Z","pushed_at":"2015-11-09T21:24:08Z","git_url":"git://github.com/discourse/discourse.git","ssh_url":"git@github.com:discourse/discourse.git","clone_url":"https://github.com/discourse/discourse.git","svn_url":"https://github.com/discourse/discourse","homepage":"http://www.discourse.org","size":219961,"stargazers_count":16215,"watchers_count":16215,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4329,"mirror_url":null,"open_issues_count":14,"forks":4329,"open_issues":14,"watchers":16215,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3891"},"html":{"href":"https://github.com/discourse/discourse/pull/3891"},"issue":{"href":"https://api.github.com/repos/discourse/discourse/issues/3891"},"comments":{"href":"https://api.github.com/repos/discourse/discourse/issues/3891/comments"},"review_comments":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3891/comments"},"review_comment":{"href":"https://api.github.com/repos/discourse/discourse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3891/commits"},"statuses":{"href":"https://api.github.com/repos/discourse/discourse/statuses/8f39f25cad069c53fdac9f5e1eb617e867e2890c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"eviltrout","id":17538,"avatar_url":"https://avatars.githubusercontent.com/u/17538?v=3","gravatar_id":"","url":"https://api.github.com/users/eviltrout","html_url":"https://github.com/eviltrout","followers_url":"https://api.github.com/users/eviltrout/followers","following_url":"https://api.github.com/users/eviltrout/following{/other_user}","gists_url":"https://api.github.com/users/eviltrout/gists{/gist_id}","starred_url":"https://api.github.com/users/eviltrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eviltrout/subscriptions","organizations_url":"https://api.github.com/users/eviltrout/orgs","repos_url":"https://api.github.com/users/eviltrout/repos","events_url":"https://api.github.com/users/eviltrout/events{/privacy}","received_events_url":"https://api.github.com/users/eviltrout/received_events","type":"User","site_admin":false},"comments":4,"review_comments":2,"commits":1,"additions":15,"deletions":1,"changed_files":2}}