{"action":"created","comment":{"url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/comments/79818895","id":79818895,"diff_hunk":"@@ -15,7 +15,7 @@ class PropertyId extends EntityId implements Int32EntityId {\n \t/**\n \t * @since 0.5\n \t */\n-\tconst PATTERN = '/^P[1-9]\\d{0,9}\\z/i';\n+\tconst PATTERN = '/^(:?|(\\w+:)+)P[1-9]\\d{0,9}\\z/i';","path":"src/Entity/PropertyId.php","position":null,"original_position":5,"commit_id":"1e5a85f21f73cfdc2ad2db66e42befeec841a4ae","original_commit_id":"f29387659bd97c596b4bc848e20749f0d20d1f4e","user":{"login":"jakobw","id":453024,"avatar_url":"https://avatars.githubusercontent.com/u/453024?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobw","html_url":"https://github.com/jakobw","followers_url":"https://api.github.com/users/jakobw/followers","following_url":"https://api.github.com/users/jakobw/following{/other_user}","gists_url":"https://api.github.com/users/jakobw/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobw/subscriptions","organizations_url":"https://api.github.com/users/jakobw/orgs","repos_url":"https://api.github.com/users/jakobw/repos","events_url":"https://api.github.com/users/jakobw/events{/privacy}","received_events_url":"https://api.github.com/users/jakobw/received_events","type":"User","site_admin":false},"body":"Yes, it gets normalized to `prefix1:prefix2:Q42` in the constructor.","created_at":"2016-09-21T12:15:14Z","updated_at":"2016-09-21T12:15:15Z","html_url":"https://github.com/wmde/WikibaseDataModel/pull/678#discussion_r79818895","pull_request_url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/678","_links":{"self":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/comments/79818895"},"html":{"href":"https://github.com/wmde/WikibaseDataModel/pull/678#discussion_r79818895"},"pull_request":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/678"}}},"pull_request":{"url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/678","id":85763339,"html_url":"https://github.com/wmde/WikibaseDataModel/pull/678","diff_url":"https://github.com/wmde/WikibaseDataModel/pull/678.diff","patch_url":"https://github.com/wmde/WikibaseDataModel/pull/678.patch","issue_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/678","number":678,"state":"open","locked":false,"title":"Support foreign EntityIds.","user":{"login":"jakobw","id":453024,"avatar_url":"https://avatars.githubusercontent.com/u/453024?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobw","html_url":"https://github.com/jakobw","followers_url":"https://api.github.com/users/jakobw/followers","following_url":"https://api.github.com/users/jakobw/following{/other_user}","gists_url":"https://api.github.com/users/jakobw/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobw/subscriptions","organizations_url":"https://api.github.com/users/jakobw/orgs","repos_url":"https://api.github.com/users/jakobw/repos","events_url":"https://api.github.com/users/jakobw/events{/privacy}","received_events_url":"https://api.github.com/users/jakobw/received_events","type":"User","site_admin":false},"body":"Task on Phabricator: https://phabricator.wikimedia.org/T145516","created_at":"2016-09-19T09:44:55Z","updated_at":"2016-09-21T12:15:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07ba80ad32b8bfca526bd3c79e9c3d239a9c0200","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/678/commits","review_comments_url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/678/comments","review_comment_url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/678/comments","statuses_url":"https://api.github.com/repos/wmde/WikibaseDataModel/statuses/1e5a85f21f73cfdc2ad2db66e42befeec841a4ae","head":{"label":"jakobw:foreign-entityids","ref":"foreign-entityids","sha":"1e5a85f21f73cfdc2ad2db66e42befeec841a4ae","user":{"login":"jakobw","id":453024,"avatar_url":"https://avatars.githubusercontent.com/u/453024?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobw","html_url":"https://github.com/jakobw","followers_url":"https://api.github.com/users/jakobw/followers","following_url":"https://api.github.com/users/jakobw/following{/other_user}","gists_url":"https://api.github.com/users/jakobw/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobw/subscriptions","organizations_url":"https://api.github.com/users/jakobw/orgs","repos_url":"https://api.github.com/users/jakobw/repos","events_url":"https://api.github.com/users/jakobw/events{/privacy}","received_events_url":"https://api.github.com/users/jakobw/received_events","type":"User","site_admin":false},"repo":{"id":68591191,"name":"WikibaseDataModel","full_name":"jakobw/WikibaseDataModel","owner":{"login":"jakobw","id":453024,"avatar_url":"https://avatars.githubusercontent.com/u/453024?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobw","html_url":"https://github.com/jakobw","followers_url":"https://api.github.com/users/jakobw/followers","following_url":"https://api.github.com/users/jakobw/following{/other_user}","gists_url":"https://api.github.com/users/jakobw/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobw/subscriptions","organizations_url":"https://api.github.com/users/jakobw/orgs","repos_url":"https://api.github.com/users/jakobw/repos","events_url":"https://api.github.com/users/jakobw/events{/privacy}","received_events_url":"https://api.github.com/users/jakobw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jakobw/WikibaseDataModel","description":"PHP implementation of the Wikibase Data Model","fork":true,"url":"https://api.github.com/repos/jakobw/WikibaseDataModel","forks_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/forks","keys_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/teams","hooks_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/hooks","issue_events_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/issues/events{/number}","events_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/events","assignees_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/assignees{/user}","branches_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/branches{/branch}","tags_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/tags","blobs_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/git/refs{/sha}","trees_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/statuses/{sha}","languages_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/languages","stargazers_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/stargazers","contributors_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/contributors","subscribers_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/subscribers","subscription_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/subscription","commits_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/commits{/sha}","git_commits_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/git/commits{/sha}","comments_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/comments{/number}","issue_comment_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/issues/comments{/number}","contents_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/contents/{+path}","compare_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/merges","archive_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/downloads","issues_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/issues{/number}","pulls_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/pulls{/number}","milestones_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/milestones{/number}","notifications_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/labels{/name}","releases_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/releases{/id}","deployments_url":"https://api.github.com/repos/jakobw/WikibaseDataModel/deployments","created_at":"2016-09-19T09:37:14Z","updated_at":"2016-09-19T09:37:15Z","pushed_at":"2016-09-21T11:26:56Z","git_url":"git://github.com/jakobw/WikibaseDataModel.git","ssh_url":"git@github.com:jakobw/WikibaseDataModel.git","clone_url":"https://github.com/jakobw/WikibaseDataModel.git","svn_url":"https://github.com/jakobw/WikibaseDataModel","homepage":"http://wikiba.se/","size":1933,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"wmde:master","ref":"master","sha":"703b80718e8a593ddac4c2409d2dd2cd9b92f731","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":15110788,"name":"WikibaseDataModel","full_name":"wmde/WikibaseDataModel","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/WikibaseDataModel","description":"PHP implementation of the Wikibase Data Model","fork":false,"url":"https://api.github.com/repos/wmde/WikibaseDataModel","forks_url":"https://api.github.com/repos/wmde/WikibaseDataModel/forks","keys_url":"https://api.github.com/repos/wmde/WikibaseDataModel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wmde/WikibaseDataModel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wmde/WikibaseDataModel/teams","hooks_url":"https://api.github.com/repos/wmde/WikibaseDataModel/hooks","issue_events_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/events{/number}","events_url":"https://api.github.com/repos/wmde/WikibaseDataModel/events","assignees_url":"https://api.github.com/repos/wmde/WikibaseDataModel/assignees{/user}","branches_url":"https://api.github.com/repos/wmde/WikibaseDataModel/branches{/branch}","tags_url":"https://api.github.com/repos/wmde/WikibaseDataModel/tags","blobs_url":"https://api.github.com/repos/wmde/WikibaseDataModel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wmde/WikibaseDataModel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wmde/WikibaseDataModel/git/refs{/sha}","trees_url":"https://api.github.com/repos/wmde/WikibaseDataModel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wmde/WikibaseDataModel/statuses/{sha}","languages_url":"https://api.github.com/repos/wmde/WikibaseDataModel/languages","stargazers_url":"https://api.github.com/repos/wmde/WikibaseDataModel/stargazers","contributors_url":"https://api.github.com/repos/wmde/WikibaseDataModel/contributors","subscribers_url":"https://api.github.com/repos/wmde/WikibaseDataModel/subscribers","subscription_url":"https://api.github.com/repos/wmde/WikibaseDataModel/subscription","commits_url":"https://api.github.com/repos/wmde/WikibaseDataModel/commits{/sha}","git_commits_url":"https://api.github.com/repos/wmde/WikibaseDataModel/git/commits{/sha}","comments_url":"https://api.github.com/repos/wmde/WikibaseDataModel/comments{/number}","issue_comment_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/comments{/number}","contents_url":"https://api.github.com/repos/wmde/WikibaseDataModel/contents/{+path}","compare_url":"https://api.github.com/repos/wmde/WikibaseDataModel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wmde/WikibaseDataModel/merges","archive_url":"https://api.github.com/repos/wmde/WikibaseDataModel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wmde/WikibaseDataModel/downloads","issues_url":"https://api.github.com/repos/wmde/WikibaseDataModel/issues{/number}","pulls_url":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls{/number}","milestones_url":"https://api.github.com/repos/wmde/WikibaseDataModel/milestones{/number}","notifications_url":"https://api.github.com/repos/wmde/WikibaseDataModel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wmde/WikibaseDataModel/labels{/name}","releases_url":"https://api.github.com/repos/wmde/WikibaseDataModel/releases{/id}","deployments_url":"https://api.github.com/repos/wmde/WikibaseDataModel/deployments","created_at":"2013-12-11T15:20:51Z","updated_at":"2016-09-14T12:00:27Z","pushed_at":"2016-09-21T12:05:25Z","git_url":"git://github.com/wmde/WikibaseDataModel.git","ssh_url":"git@github.com:wmde/WikibaseDataModel.git","clone_url":"https://github.com/wmde/WikibaseDataModel.git","svn_url":"https://github.com/wmde/WikibaseDataModel","homepage":"http://wikiba.se/","size":2270,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":30,"forks":7,"open_issues":30,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/678"},"html":{"href":"https://github.com/wmde/WikibaseDataModel/pull/678"},"issue":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/678"},"comments":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/issues/678/comments"},"review_comments":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/678/comments"},"review_comment":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/pulls/678/commits"},"statuses":{"href":"https://api.github.com/repos/wmde/WikibaseDataModel/statuses/1e5a85f21f73cfdc2ad2db66e42befeec841a4ae"}}}}
{"actor":{"display_login":"jakobw"}}