{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/app/issues/7965","labels_url":"https://api.github.com/repos/Wikia/app/issues/7965/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/app/issues/7965/comments","events_url":"https://api.github.com/repos/Wikia/app/issues/7965/events","html_url":"https://github.com/Wikia/app/pull/7965","id":98182783,"number":7965,"title":"(MAIN-5060) Fix Blog comment redirects","user":{"login":"Grunny","id":230630,"avatar_url":"https://avatars.githubusercontent.com/u/230630?v=3","gravatar_id":"","url":"https://api.github.com/users/Grunny","html_url":"https://github.com/Grunny","followers_url":"https://api.github.com/users/Grunny/followers","following_url":"https://api.github.com/users/Grunny/following{/other_user}","gists_url":"https://api.github.com/users/Grunny/gists{/gist_id}","starred_url":"https://api.github.com/users/Grunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grunny/subscriptions","organizations_url":"https://api.github.com/users/Grunny/orgs","repos_url":"https://api.github.com/users/Grunny/repos","events_url":"https://api.github.com/users/Grunny/events{/privacy}","received_events_url":"https://api.github.com/users/Grunny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-30T14:25:40Z","updated_at":"2015-07-30T16:18:31Z","closed_at":"2015-07-30T14:30:00Z","pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/7965","html_url":"https://github.com/Wikia/app/pull/7965","diff_url":"https://github.com/Wikia/app/pull/7965.diff","patch_url":"https://github.com/Wikia/app/pull/7965.patch"},"body":"The fix for SOC-1027 (#7940) added ArticleCommentList::isTitleForCurrentRequest\r\nto check if the comment was the current title, but it failed to return anything\r\nwhen this was true, so the self::isTitleForCurrentRequest( $title ) check would\r\nalways evaluate to false (empty) and no redirect to the Blog page would occur\r\nwhen viewing comments.\r\n\r\nThis explicitly returns true when the checks in isTitleForCurrentRequest pass\r\nand adds a return value for the ArticleFromTitle when the redirect occurs, as\r\nall hook methods require a return value.\r\n\r\n/cc @garthwebb "},"comment":{"url":"https://api.github.com/repos/Wikia/app/issues/comments/126387914","html_url":"https://github.com/Wikia/app/pull/7965#issuecomment-126387914","issue_url":"https://api.github.com/repos/Wikia/app/issues/7965","id":126387914,"user":{"login":"garthwebb","id":72574,"avatar_url":"https://avatars.githubusercontent.com/u/72574?v=3","gravatar_id":"","url":"https://api.github.com/users/garthwebb","html_url":"https://github.com/garthwebb","followers_url":"https://api.github.com/users/garthwebb/followers","following_url":"https://api.github.com/users/garthwebb/following{/other_user}","gists_url":"https://api.github.com/users/garthwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/garthwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garthwebb/subscriptions","organizations_url":"https://api.github.com/users/garthwebb/orgs","repos_url":"https://api.github.com/users/garthwebb/repos","events_url":"https://api.github.com/users/garthwebb/events{/privacy}","received_events_url":"https://api.github.com/users/garthwebb/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T16:18:31Z","updated_at":"2015-07-30T16:18:31Z","body":"D'oh!  Makes sense"}}