{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/comments/67061039","id":67061039,"diff_hunk":"@@ -759,7 +759,7 @@ def save(self, document, **kwargs):\n         Does some specific things when the revision is fully saved.\n         \"\"\"\n         # have to check for first edit before we save\n-        is_first_edit = self.request.user.wiki_revisions().count() == 0\n+        is_first_edit = not self.request.user.created_revisions.exists()","path":"kuma/wiki/forms.py","position":5,"original_position":5,"commit_id":"3bb33938a7b1e6b66a86cc649afbcf9ac1115d46","original_commit_id":"3bb33938a7b1e6b66a86cc649afbcf9ac1115d46","user":{"login":"jwhitlock","id":286017,"avatar_url":"https://avatars.githubusercontent.com/u/286017?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhitlock","html_url":"https://github.com/jwhitlock","followers_url":"https://api.github.com/users/jwhitlock/followers","following_url":"https://api.github.com/users/jwhitlock/following{/other_user}","gists_url":"https://api.github.com/users/jwhitlock/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhitlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhitlock/subscriptions","organizations_url":"https://api.github.com/users/jwhitlock/orgs","repos_url":"https://api.github.com/users/jwhitlock/repos","events_url":"https://api.github.com/users/jwhitlock/events{/privacy}","received_events_url":"https://api.github.com/users/jwhitlock/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2016-06-14T21:30:17Z","updated_at":"2016-06-14T21:30:17Z","html_url":"https://github.com/mozilla/kuma/pull/3889#discussion_r67061039","pull_request_url":"https://api.github.com/repos/mozilla/kuma/pulls/3889","_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments/67061039"},"html":{"href":"https://github.com/mozilla/kuma/pull/3889#discussion_r67061039"},"pull_request":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/3889"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/3889","id":73507546,"html_url":"https://github.com/mozilla/kuma/pull/3889","diff_url":"https://github.com/mozilla/kuma/pull/3889.diff","patch_url":"https://github.com/mozilla/kuma/pull/3889.patch","issue_url":"https://api.github.com/repos/mozilla/kuma/issues/3889","number":3889,"state":"open","locked":false,"title":"Fix bug 1279839: remove Recent Docs Activity ","user":{"login":"jgmize","id":161718,"avatar_url":"https://avatars.githubusercontent.com/u/161718?v=3","gravatar_id":"","url":"https://api.github.com/users/jgmize","html_url":"https://github.com/jgmize","followers_url":"https://api.github.com/users/jgmize/followers","following_url":"https://api.github.com/users/jgmize/following{/other_user}","gists_url":"https://api.github.com/users/jgmize/gists{/gist_id}","starred_url":"https://api.github.com/users/jgmize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgmize/subscriptions","organizations_url":"https://api.github.com/users/jgmize/orgs","repos_url":"https://api.github.com/users/jgmize/repos","events_url":"https://api.github.com/users/jgmize/events{/privacy}","received_events_url":"https://api.github.com/users/jgmize/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-12T21:20:10Z","updated_at":"2016-06-14T21:30:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98c7e5a48dd8a00e268036dcd61409b3a4145fc3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/kuma/pulls/3889/commits","review_comments_url":"https://api.github.com/repos/mozilla/kuma/pulls/3889/comments","review_comment_url":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/kuma/issues/3889/comments","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/3bb33938a7b1e6b66a86cc649afbcf9ac1115d46","head":{"label":"jgmize:rm-recent-docs-profile","ref":"rm-recent-docs-profile","sha":"3bb33938a7b1e6b66a86cc649afbcf9ac1115d46","user":{"login":"jgmize","id":161718,"avatar_url":"https://avatars.githubusercontent.com/u/161718?v=3","gravatar_id":"","url":"https://api.github.com/users/jgmize","html_url":"https://github.com/jgmize","followers_url":"https://api.github.com/users/jgmize/followers","following_url":"https://api.github.com/users/jgmize/following{/other_user}","gists_url":"https://api.github.com/users/jgmize/gists{/gist_id}","starred_url":"https://api.github.com/users/jgmize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgmize/subscriptions","organizations_url":"https://api.github.com/users/jgmize/orgs","repos_url":"https://api.github.com/users/jgmize/repos","events_url":"https://api.github.com/users/jgmize/events{/privacy}","received_events_url":"https://api.github.com/users/jgmize/received_events","type":"User","site_admin":false},"repo":{"id":10716331,"name":"kuma","full_name":"jgmize/kuma","owner":{"login":"jgmize","id":161718,"avatar_url":"https://avatars.githubusercontent.com/u/161718?v=3","gravatar_id":"","url":"https://api.github.com/users/jgmize","html_url":"https://github.com/jgmize","followers_url":"https://api.github.com/users/jgmize/followers","following_url":"https://api.github.com/users/jgmize/following{/other_user}","gists_url":"https://api.github.com/users/jgmize/gists{/gist_id}","starred_url":"https://api.github.com/users/jgmize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgmize/subscriptions","organizations_url":"https://api.github.com/users/jgmize/orgs","repos_url":"https://api.github.com/users/jgmize/repos","events_url":"https://api.github.com/users/jgmize/events{/privacy}","received_events_url":"https://api.github.com/users/jgmize/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgmize/kuma","description":"The django code that powers MDN.","fork":true,"url":"https://api.github.com/repos/jgmize/kuma","forks_url":"https://api.github.com/repos/jgmize/kuma/forks","keys_url":"https://api.github.com/repos/jgmize/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgmize/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgmize/kuma/teams","hooks_url":"https://api.github.com/repos/jgmize/kuma/hooks","issue_events_url":"https://api.github.com/repos/jgmize/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/jgmize/kuma/events","assignees_url":"https://api.github.com/repos/jgmize/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/jgmize/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/jgmize/kuma/tags","blobs_url":"https://api.github.com/repos/jgmize/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgmize/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgmize/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgmize/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgmize/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/jgmize/kuma/languages","stargazers_url":"https://api.github.com/repos/jgmize/kuma/stargazers","contributors_url":"https://api.github.com/repos/jgmize/kuma/contributors","subscribers_url":"https://api.github.com/repos/jgmize/kuma/subscribers","subscription_url":"https://api.github.com/repos/jgmize/kuma/subscription","commits_url":"https://api.github.com/repos/jgmize/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgmize/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgmize/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgmize/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/jgmize/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/jgmize/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgmize/kuma/merges","archive_url":"https://api.github.com/repos/jgmize/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgmize/kuma/downloads","issues_url":"https://api.github.com/repos/jgmize/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/jgmize/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/jgmize/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/jgmize/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgmize/kuma/labels{/name}","releases_url":"https://api.github.com/repos/jgmize/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/jgmize/kuma/deployments","created_at":"2013-06-16T05:55:06Z","updated_at":"2016-05-27T19:12:47Z","pushed_at":"2016-06-12T22:15:08Z","git_url":"git://github.com/jgmize/kuma.git","ssh_url":"git@github.com:jgmize/kuma.git","clone_url":"https://github.com/jgmize/kuma.git","svn_url":"https://github.com/jgmize/kuma","homepage":"https://developer.mozilla.org","size":155947,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"mozilla:master","ref":"master","sha":"cdae3c4d5bbd296902ff6986f024ec8e54b8d038","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1352520,"name":"kuma","full_name":"mozilla/kuma","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/kuma","description":"The project that powers MDN.","fork":false,"url":"https://api.github.com/repos/mozilla/kuma","forks_url":"https://api.github.com/repos/mozilla/kuma/forks","keys_url":"https://api.github.com/repos/mozilla/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kuma/teams","hooks_url":"https://api.github.com/repos/mozilla/kuma/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kuma/events","assignees_url":"https://api.github.com/repos/mozilla/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kuma/tags","blobs_url":"https://api.github.com/repos/mozilla/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kuma/languages","stargazers_url":"https://api.github.com/repos/mozilla/kuma/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kuma/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kuma/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kuma/subscription","commits_url":"https://api.github.com/repos/mozilla/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kuma/merges","archive_url":"https://api.github.com/repos/mozilla/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kuma/downloads","issues_url":"https://api.github.com/repos/mozilla/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kuma/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/kuma/deployments","created_at":"2011-02-10T21:48:06Z","updated_at":"2016-06-14T19:17:38Z","pushed_at":"2016-06-14T19:48:42Z","git_url":"git://github.com/mozilla/kuma.git","ssh_url":"git@github.com:mozilla/kuma.git","clone_url":"https://github.com/mozilla/kuma.git","svn_url":"https://github.com/mozilla/kuma","homepage":"https://developer.mozilla.org","size":170328,"stargazers_count":809,"watchers_count":809,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":503,"mirror_url":null,"open_issues_count":13,"forks":503,"open_issues":13,"watchers":809,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/3889"},"html":{"href":"https://github.com/mozilla/kuma/pull/3889"},"issue":{"href":"https://api.github.com/repos/mozilla/kuma/issues/3889"},"comments":{"href":"https://api.github.com/repos/mozilla/kuma/issues/3889/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/3889/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/3889/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/kuma/statuses/3bb33938a7b1e6b66a86cc649afbcf9ac1115d46"}}}}
{"actor":{"display_login":"jwhitlock"}}