{"action":"opened","number":3442,"pull_request":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/3442","id":215831271,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1ODMxMjcx","html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3442","diff_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3442.diff","patch_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3442.patch","issue_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3442","number":3442,"state":"open","locked":false,"title":"Tidy (TitleFactory)","user":{"login":"mwjames","id":1245473,"node_id":"MDQ6VXNlcjEyNDU0NzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1245473?v=4","gravatar_id":"","url":"https://api.github.com/users/mwjames","html_url":"https://github.com/mwjames","followers_url":"https://api.github.com/users/mwjames/followers","following_url":"https://api.github.com/users/mwjames/following{/other_user}","gists_url":"https://api.github.com/users/mwjames/gists{/gist_id}","starred_url":"https://api.github.com/users/mwjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwjames/subscriptions","organizations_url":"https://api.github.com/users/mwjames/orgs","repos_url":"https://api.github.com/users/mwjames/repos","events_url":"https://api.github.com/users/mwjames/events{/privacy}","received_events_url":"https://api.github.com/users/mwjames/received_events","type":"User","site_admin":false},"body":"This PR is made in reference to: #\r\n\r\nThis PR addresses or contains:\r\n\r\n- Access to to methods like `Title::newFromText` or `Title::newFromID` are static and under some circumstances create DB connections during a unit tests, inject `TitleFactory` to allow mocking the `Title` factoring.\r\n\r\nThis PR includes:\r\n- [x] Tests (unit/integration)\r\n- [x] CI build passed\r\n","created_at":"2018-09-16T16:12:19Z","updated_at":"2018-09-16T16:12:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":75572581,"node_id":"MDU6TGFiZWw3NTU3MjU4MQ==","url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels/code%20quality","name":"code quality","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/3442/commits","review_comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/3442/comments","review_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3442/comments","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/75f3e2ad979f1bd7062c8294daf479ec0b340e89","head":{"label":"SemanticMediaWiki:tidy-titlefactory","ref":"tidy-titlefactory","sha":"75f3e2ad979f1bd7062c8294daf479ec0b340e89","user":{"login":"SemanticMediaWiki","id":1623598,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjM1OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1623598?v=4","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"repo":{"id":14058345,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1ODM0NQ==","name":"SemanticMediaWiki","full_name":"SemanticMediaWiki/SemanticMediaWiki","private":false,"owner":{"login":"SemanticMediaWiki","id":1623598,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjM1OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1623598?v=4","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","description":"Semantic MediaWiki is a project for extending MediaWiki with \"semantic\" functions that enable machine-reading of wiki-content.","fork":false,"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki","forks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/forks","keys_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/teams","hooks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/hooks","issue_events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/events{/number}","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/events","assignees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/assignees{/user}","branches_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/branches{/branch}","tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/tags","blobs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/{sha}","languages_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/languages","stargazers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/stargazers","contributors_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contributors","subscribers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscribers","subscription_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscription","commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contents/{+path}","compare_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/merges","archive_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/downloads","issues_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues{/number}","pulls_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls{/number}","milestones_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/milestones{/number}","notifications_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels{/name}","releases_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/releases{/id}","deployments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/deployments","created_at":"2013-11-02T01:38:36Z","updated_at":"2018-09-16T12:55:39Z","pushed_at":"2018-09-16T13:39:41Z","git_url":"git://github.com/SemanticMediaWiki/SemanticMediaWiki.git","ssh_url":"git@github.com:SemanticMediaWiki/SemanticMediaWiki.git","clone_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki.git","svn_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","homepage":"https://www.semantic-mediawiki.org/","size":35686,"stargazers_count":193,"watchers_count":193,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":118,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":118,"open_issues":44,"watchers":193,"default_branch":"master"}},"base":{"label":"SemanticMediaWiki:master","ref":"master","sha":"eb728609969d0f814695455d3ed06abb57ff4d93","user":{"login":"SemanticMediaWiki","id":1623598,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjM1OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1623598?v=4","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"repo":{"id":14058345,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1ODM0NQ==","name":"SemanticMediaWiki","full_name":"SemanticMediaWiki/SemanticMediaWiki","private":false,"owner":{"login":"SemanticMediaWiki","id":1623598,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjM1OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1623598?v=4","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","description":"Semantic MediaWiki is a project for extending MediaWiki with \"semantic\" functions that enable machine-reading of wiki-content.","fork":false,"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki","forks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/forks","keys_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/teams","hooks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/hooks","issue_events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/events{/number}","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/events","assignees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/assignees{/user}","branches_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/branches{/branch}","tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/tags","blobs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/{sha}","languages_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/languages","stargazers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/stargazers","contributors_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contributors","subscribers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscribers","subscription_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscription","commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contents/{+path}","compare_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/merges","archive_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/downloads","issues_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues{/number}","pulls_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls{/number}","milestones_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/milestones{/number}","notifications_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels{/name}","releases_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/releases{/id}","deployments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/deployments","created_at":"2013-11-02T01:38:36Z","updated_at":"2018-09-16T12:55:39Z","pushed_at":"2018-09-16T13:39:41Z","git_url":"git://github.com/SemanticMediaWiki/SemanticMediaWiki.git","ssh_url":"git@github.com:SemanticMediaWiki/SemanticMediaWiki.git","clone_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki.git","svn_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","homepage":"https://www.semantic-mediawiki.org/","size":35686,"stargazers_count":193,"watchers_count":193,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":118,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":118,"open_issues":44,"watchers":193,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/3442"},"html":{"href":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/3442"},"issue":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3442"},"comments":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3442/comments"},"review_comments":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/3442/comments"},"review_comment":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/3442/commits"},"statuses":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/75f3e2ad979f1bd7062c8294daf479ec0b340e89"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":271,"deletions":184,"changed_files":20}}
{"actor":{"display_login":"mwjames"}}