{"action":"created","comment":{"url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/comments/32024155","id":32024155,"diff_hunk":"@@ -107,13 +107,12 @@ private function addStatementListToSerialization( Item $item, array &$serializat\n \t}\n \n \tprivate function addSiteLinksToSerialization( Item $item, array &$serialization ) {\n-\t\t$siteLinks = $item->getSiteLinks();\n-\n \t\t$serialization['sitelinks'] = array();\n-\n-\t\tforeach ( $siteLinks as $siteLink ) {\n+\t\t","path":"src/Serializers/ItemSerializer.php","position":9,"original_position":9,"commit_id":"d5e85715d1932cd83f0b0932b6fa7d2b16076676","original_commit_id":"d5e85715d1932cd83f0b0932b6fa7d2b16076676","user":{"login":"thiemowmde","id":6576639,"avatar_url":"https://avatars.githubusercontent.com/u/6576639?v=3","gravatar_id":"","url":"https://api.github.com/users/thiemowmde","html_url":"https://github.com/thiemowmde","followers_url":"https://api.github.com/users/thiemowmde/followers","following_url":"https://api.github.com/users/thiemowmde/following{/other_user}","gists_url":"https://api.github.com/users/thiemowmde/gists{/gist_id}","starred_url":"https://api.github.com/users/thiemowmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiemowmde/subscriptions","organizations_url":"https://api.github.com/users/thiemowmde/orgs","repos_url":"https://api.github.com/users/thiemowmde/repos","events_url":"https://api.github.com/users/thiemowmde/events{/privacy}","received_events_url":"https://api.github.com/users/thiemowmde/received_events","type":"User","site_admin":false},"body":"Tabs added?","created_at":"2015-06-09T15:15:58Z","updated_at":"2015-06-09T15:15:58Z","html_url":"https://github.com/wmde/WikibaseDataModelSerialization/pull/136#discussion_r32024155","pull_request_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/comments/32024155"},"html":{"href":"https://github.com/wmde/WikibaseDataModelSerialization/pull/136#discussion_r32024155"},"pull_request":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/136","id":37201496,"html_url":"https://github.com/wmde/WikibaseDataModelSerialization/pull/136","diff_url":"https://github.com/wmde/WikibaseDataModelSerialization/pull/136.diff","patch_url":"https://github.com/wmde/WikibaseDataModelSerialization/pull/136.patch","issue_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues/136","number":136,"state":"open","locked":false,"title":"Stop using deprecated method in ItemSerializer","user":{"login":"JeroenDeDauw","id":146040,"avatar_url":"https://avatars.githubusercontent.com/u/146040?v=3","gravatar_id":"","url":"https://api.github.com/users/JeroenDeDauw","html_url":"https://github.com/JeroenDeDauw","followers_url":"https://api.github.com/users/JeroenDeDauw/followers","following_url":"https://api.github.com/users/JeroenDeDauw/following{/other_user}","gists_url":"https://api.github.com/users/JeroenDeDauw/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenDeDauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenDeDauw/subscriptions","organizations_url":"https://api.github.com/users/JeroenDeDauw/orgs","repos_url":"https://api.github.com/users/JeroenDeDauw/repos","events_url":"https://api.github.com/users/JeroenDeDauw/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenDeDauw/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-08T22:11:11Z","updated_at":"2015-06-09T15:15:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd676675862e07cbd33120b36c16f4661ca09918","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/136/commits","review_comments_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/136/comments","review_comment_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues/136/comments","statuses_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/statuses/d5e85715d1932cd83f0b0932b6fa7d2b16076676","head":{"label":"wmde:ItemSerializer","ref":"ItemSerializer","sha":"d5e85715d1932cd83f0b0932b6fa7d2b16076676","user":{"login":"wmde","id":664724,"avatar_url":"https://avatars.githubusercontent.com/u/664724?v=3","gravatar_id":"","url":"https://api.github.com/users/wmde","html_url":"https://github.com/wmde","followers_url":"https://api.github.com/users/wmde/followers","following_url":"https://api.github.com/users/wmde/following{/other_user}","gists_url":"https://api.github.com/users/wmde/gists{/gist_id}","starred_url":"https://api.github.com/users/wmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmde/subscriptions","organizations_url":"https://api.github.com/users/wmde/orgs","repos_url":"https://api.github.com/users/wmde/repos","events_url":"https://api.github.com/users/wmde/events{/privacy}","received_events_url":"https://api.github.com/users/wmde/received_events","type":"Organization","site_admin":false},"repo":{"id":15116098,"name":"WikibaseDataModelSerialization","full_name":"wmde/WikibaseDataModelSerialization","owner":{"login":"wmde","id":664724,"avatar_url":"https://avatars.githubusercontent.com/u/664724?v=3","gravatar_id":"","url":"https://api.github.com/users/wmde","html_url":"https://github.com/wmde","followers_url":"https://api.github.com/users/wmde/followers","following_url":"https://api.github.com/users/wmde/following{/other_user}","gists_url":"https://api.github.com/users/wmde/gists{/gist_id}","starred_url":"https://api.github.com/users/wmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmde/subscriptions","organizations_url":"https://api.github.com/users/wmde/orgs","repos_url":"https://api.github.com/users/wmde/repos","events_url":"https://api.github.com/users/wmde/events{/privacy}","received_events_url":"https://api.github.com/users/wmde/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wmde/WikibaseDataModelSerialization","description":"Serializers and deserializers for the Wikibase DataModel","fork":false,"url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization","forks_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/forks","keys_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/teams","hooks_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/hooks","issue_events_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues/events{/number}","events_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/events","assignees_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/assignees{/user}","branches_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/branches{/branch}","tags_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/tags","blobs_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/refs{/sha}","trees_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/statuses/{sha}","languages_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/languages","stargazers_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/stargazers","contributors_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/contributors","subscribers_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/subscribers","subscription_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/subscription","commits_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/commits{/sha}","git_commits_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/commits{/sha}","comments_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/comments{/number}","issue_comment_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues/comments{/number}","contents_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/contents/{+path}","compare_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/merges","archive_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/downloads","issues_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues{/number}","pulls_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls{/number}","milestones_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/milestones{/number}","notifications_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/labels{/name}","releases_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/releases{/id}","created_at":"2013-12-11T18:58:13Z","updated_at":"2015-05-04T19:36:00Z","pushed_at":"2015-06-09T15:14:48Z","git_url":"git://github.com/wmde/WikibaseDataModelSerialization.git","ssh_url":"git@github.com:wmde/WikibaseDataModelSerialization.git","clone_url":"https://github.com/wmde/WikibaseDataModelSerialization.git","svn_url":"https://github.com/wmde/WikibaseDataModelSerialization","homepage":"http://wikiba.se/","size":1821,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"wmde:master","ref":"master","sha":"f6ed3a4690387f90039198f9b25861b85b58fb61","user":{"login":"wmde","id":664724,"avatar_url":"https://avatars.githubusercontent.com/u/664724?v=3","gravatar_id":"","url":"https://api.github.com/users/wmde","html_url":"https://github.com/wmde","followers_url":"https://api.github.com/users/wmde/followers","following_url":"https://api.github.com/users/wmde/following{/other_user}","gists_url":"https://api.github.com/users/wmde/gists{/gist_id}","starred_url":"https://api.github.com/users/wmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmde/subscriptions","organizations_url":"https://api.github.com/users/wmde/orgs","repos_url":"https://api.github.com/users/wmde/repos","events_url":"https://api.github.com/users/wmde/events{/privacy}","received_events_url":"https://api.github.com/users/wmde/received_events","type":"Organization","site_admin":false},"repo":{"id":15116098,"name":"WikibaseDataModelSerialization","full_name":"wmde/WikibaseDataModelSerialization","owner":{"login":"wmde","id":664724,"avatar_url":"https://avatars.githubusercontent.com/u/664724?v=3","gravatar_id":"","url":"https://api.github.com/users/wmde","html_url":"https://github.com/wmde","followers_url":"https://api.github.com/users/wmde/followers","following_url":"https://api.github.com/users/wmde/following{/other_user}","gists_url":"https://api.github.com/users/wmde/gists{/gist_id}","starred_url":"https://api.github.com/users/wmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmde/subscriptions","organizations_url":"https://api.github.com/users/wmde/orgs","repos_url":"https://api.github.com/users/wmde/repos","events_url":"https://api.github.com/users/wmde/events{/privacy}","received_events_url":"https://api.github.com/users/wmde/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wmde/WikibaseDataModelSerialization","description":"Serializers and deserializers for the Wikibase DataModel","fork":false,"url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization","forks_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/forks","keys_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/teams","hooks_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/hooks","issue_events_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues/events{/number}","events_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/events","assignees_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/assignees{/user}","branches_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/branches{/branch}","tags_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/tags","blobs_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/refs{/sha}","trees_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/statuses/{sha}","languages_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/languages","stargazers_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/stargazers","contributors_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/contributors","subscribers_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/subscribers","subscription_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/subscription","commits_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/commits{/sha}","git_commits_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/git/commits{/sha}","comments_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/comments{/number}","issue_comment_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues/comments{/number}","contents_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/contents/{+path}","compare_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/merges","archive_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/downloads","issues_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues{/number}","pulls_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls{/number}","milestones_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/milestones{/number}","notifications_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/labels{/name}","releases_url":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/releases{/id}","created_at":"2013-12-11T18:58:13Z","updated_at":"2015-05-04T19:36:00Z","pushed_at":"2015-06-09T15:14:48Z","git_url":"git://github.com/wmde/WikibaseDataModelSerialization.git","ssh_url":"git@github.com:wmde/WikibaseDataModelSerialization.git","clone_url":"https://github.com/wmde/WikibaseDataModelSerialization.git","svn_url":"https://github.com/wmde/WikibaseDataModelSerialization","homepage":"http://wikiba.se/","size":1821,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/136"},"html":{"href":"https://github.com/wmde/WikibaseDataModelSerialization/pull/136"},"issue":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues/136"},"comments":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/wmde/WikibaseDataModelSerialization/statuses/d5e85715d1932cd83f0b0932b6fa7d2b16076676"}}}}