{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/mercury/pulls/comments/44412371","id":44412371,"diff_hunk":"@@ -26,278 +11,245 @@ interface TrackContext {\n  * @property {number} n\n  */\n \n-interface TrackingParams {\n-\taction?: string;\n-\tlabel?: string;\n-\tvalue?: number;\n-\tcategory: string;\n-\ttrackingMethod?: string;\n-\tisNonInteractive?: boolean;\n-\tsourceUrl?: string;\n-\t[idx: string]: any;\n-}\n-\n /**\n  * @typedef {Object} TrackingParams\n+ * @property {string} category\n  * @property {string} [action]\n  * @property {string} [label]\n  * @property {number} [value]\n- * @property {string} [category]\n  * @property {string} [trackingMethod]\n  * @property {boolean} [isNonInteractive]\n  * @property {string} [sourceUrl]\n- * @property {*[]} [idx]\n- */\n-\n-interface TrackFunction {\n-\t(params: TrackingParams): void;\n-\tactions: any;\n-}\n-\n-/**\n- * @typedef {Function} TrackFunction\n  */\n \n-interface TrackerInstance {\n-\tnew(): TrackerInstance;\n-\ttrack: TrackFunction;\n-\ttrackPageView: (context?: TrackContext) => void;\n-\ttrackGoogleSearch: (queryParam: string) => void;\n-\tupdateTrackedUrl: (url: string) => void;\n-\tusesAdsContext: boolean;\n-}\n-\n /**\n  * @typedef {Object} TrackerInstance\n- * @property {TrackFunction} track\n+ * @property {Function} track\n  * @property {Function} trackPageView\n  * @property {Function} updateTrackedUrl\n  * @property {boolean} usesAdsContext\n  */\n \n-module Mercury.Utils {\n-\t// These actions were ported over from legacy Wikia app code:\n-\t// https://github.com/Wikia/app/blob/dev/resources/wikia/modules/tracker.stub.js\n-\t// The property keys were modified to fit style rules\n-\tvar actions: any = {\n-\t\t\t// Generic add\n-\t\t\tadd: 'add',\n-\t\t\t// Generic click, mostly javascript clicks\n-\t\t\t// NOTE: When tracking clicks, consider binding to 'onMouseDown' instead of 'onClick'\n-\t\t\t// to allow the browser time to send these events naturally. For more information on\n-\t\t\t// this issue, see the `track()` method in \"resources/modules/tracker.js\"\n-\t\t\tclick: 'click',\n-\t\t\t// Click on navigational button\n-\t\t\tclickLinkButton: 'click-link-button',\n-\t\t\t// Click on image link\n-\t\t\tclickLinkImage: 'click-link-image',\n-\t\t\t// Click on text link\n-\t\t\tclickLinkText: 'click-link-text',\n-\t\t\t// Generic close\n-\t\t\tclose: 'close',\n-\t\t\t// Clicking okay in a confirmation modal\n-\t\t\tconfirm: 'confirm',\n-\t\t\t// Generic disable\n-\t\t\tdisable: 'disable',\n-\t\t\t// Generic enable\n-\t\t\tenable: 'enable',\n-\t\t\t// Generic error (generally AJAX)\n-\t\t\terror: 'error',\n-\t\t\t// Generic hover\n-\t\t\thover: 'hover',\n-\t\t\t// impression of item on page/module\n-\t\t\timpression: 'impression',\n-\t\t\t// App installation\n-\t\t\tinstall: 'install',\n-\t\t\t// Generic keypress\n-\t\t\tkeypress: 'keypress',\n-\t\t\tpaginate: 'paginate',\n-\t\t\t// Video play\n-\t\t\tplayVideo: 'play-video',\n-\t\t\t// Removal\n-\t\t\tremove: 'remove',\n-\t\t\t// Generic open\n-\t\t\topen: 'open',\n-\t\t\t// Sharing view email, social network, etc\n-\t\t\tshare: 'share',\n-\t\t\t// Form submit, usually a post method\n-\t\t\tsubmit: 'submit',\n-\t\t\t// Successful ajax response\n-\t\t\tsuccess: 'success',\n-\t\t\t// General swipe event\n-\t\t\tswipe: 'swipe',\n-\t\t\t// Action to take a survey\n-\t\t\ttakeSurvey: 'take-survey',\n-\t\t\t// View\n-\t\t\tview: 'view'\n-\t\t},\n-\t\tcontext: TrackContext = {\n-\t\t\ta: null,\n-\t\t\tn: null\n-\t\t};\n+// These actions were ported over from legacy Wikia app code:\n+// https://github.com/Wikia/app/blob/dev/resources/wikia/modules/tracker.stub.js\n+// The property keys were modified to fit style rules\n+const trackers = {\n+\t\tComscore,\n+\t\tInternal,\n+\t\tKrux,\n+\t\tQuantserve,\n+\t\tUniversalAnalytics\n+\t},\n+\ttrackActions = {\n+\t\t// Generic add\n+\t\tadd: 'add',\n+\t\t// Generic click, mostly javascript clicks\n+\t\t// NOTE: When tracking clicks, consider binding to 'onMouseDown' instead of 'onClick'\n+\t\t// to allow the browser time to send these events naturally. For more information on\n+\t\t// this issue, see the `track()` method in \"resources/modules/tracker.js\"\n+\t\tclick: 'click',\n+\t\t// Click on navigational button\n+\t\tclickLinkButton: 'click-link-button',\n+\t\t// Click on image link\n+\t\tclickLinkImage: 'click-link-image',\n+\t\t// Click on text link\n+\t\tclickLinkText: 'click-link-text',\n+\t\t// Generic close\n+\t\tclose: 'close',\n+\t\t// Clicking okay in a confirmation modal\n+\t\tconfirm: 'confirm',\n+\t\t// Generic disable\n+\t\tdisable: 'disable',\n+\t\t// Generic enable\n+\t\tenable: 'enable',\n+\t\t// Generic error (generally AJAX)\n+\t\terror: 'error',\n+\t\t// Generic hover\n+\t\thover: 'hover',\n+\t\t// impression of item on page/module\n+\t\timpression: 'impression',\n+\t\t// App installation\n+\t\tinstall: 'install',\n+\t\t// Generic keypress\n+\t\tkeypress: 'keypress',\n+\t\tpaginate: 'paginate',\n+\t\t// Video play\n+\t\tplayVideo: 'play-video',\n+\t\t// Removal\n+\t\tremove: 'remove',\n+\t\t// Generic open\n+\t\topen: 'open',\n+\t\t// Sharing view email, social network, etc\n+\t\tshare: 'share',\n+\t\t// Form submit, usually a post method\n+\t\tsubmit: 'submit',\n+\t\t// Successful ajax response\n+\t\tsuccess: 'success',\n+\t\t// General swipe event\n+\t\tswipe: 'swipe',\n+\t\t// Action to take a survey\n+\t\ttakeSurvey: 'take-survey',\n+\t\t// View\n+\t\tview: 'view'\n+\t},\n+\tcontext = {\n+\t\ta: null,\n+\t\tn: null\n+\t};\n \n-\t/**\n-\t * @param {TrackingParams} params\n-\t * @returns {void}\n-\t */\n-\tfunction pruneParams (params: TrackingParams) {\n-\t\tdelete params.action;\n-\t\tdelete params.label;\n-\t\tdelete params.value;\n-\t\tdelete params.category;\n-\t\tdelete params.isNonInteractive;\n-\t}\n+/**\n+ * @param {TrackingParams} params\n+ * @returns {void}\n+ */\n+function pruneParams(params) {\n+\tdelete params.action;\n+\tdelete params.label;\n+\tdelete params.value;\n+\tdelete params.category;\n+\tdelete params.isNonInteractive;\n+}\n \n-\t/**\n-\t * @returns {boolean}\n-\t */\n-\tfunction isSpecialWiki () {\n-\t\ttry {\n-\t\t\treturn !!(M.prop('isGASpecialWiki') || Mercury.wiki.isGASpecialWiki);\n-\t\t} catch (e) {\n-\t\t\t// Property doesn't exist\n-\t\t\treturn false;\n-\t\t}\n+/**\n+ * @returns {boolean}\n+ */\n+function isSpecialWiki() {\n+\ttry {\n+\t\treturn Boolean(prop('isGASpecialWiki') || Mercury.wiki.isGASpecialWiki);\n+\t} catch (e) {\n+\t\t// Property doesn't exist\n+\t\treturn false;\n \t}\n+}\n \n-\t/**\n-\t * @param {TrackingParams} params\n-\t * @returns {void}\n-\t */\n-\texport function track (params: TrackingParams): void {\n-\t\tvar trackingMethod: string = params.trackingMethod || 'both',\n-\t\t\taction: string = params.action,\n-\t\t\tcategory: string = params.category ? 'mercury-' + params.category : null,\n-\t\t\tlabel: string = params.label || '',\n-\t\t\tvalue: number = params.value || 0,\n-\t\t\tisNonInteractive: boolean = params.isNonInteractive !== false,\n-\t\t\ttrackers = Mercury.Modules.Trackers,\n-\t\t\ttracker: Mercury.Modules.Trackers.Internal,\n-\t\t\tuaTracker: Mercury.Modules.Trackers.UniversalAnalytics;\n-\n-\t\tif (M.prop('queryParams.noexternals')) {\n-\t\t\treturn;\n-\t\t}\n-\n-\t\tparams = <TrackingParams>$.extend({\n-\t\t\tga_action: action,\n-\t\t\tga_category: category,\n-\t\t\tga_label: label,\n-\t\t\tga_value: value,\n-\t\t\tga_is_nonInteractive: isNonInteractive\n-\t\t}, params);\n+/**\n+ * @param {TrackingParams} params\n+ * @returns {void}\n+ */\n+export function track(params) {\n+\tconst trackingMethod = params.trackingMethod || 'both',\n+\t\taction = params.action,\n+\t\tcategory = params.category ? `mercury-${params.category}` : null,\n+\t\tlabel = params.label || '',\n+\t\tvalue = params.value || 0,\n+\t\tisNonInteractive = params.isNonInteractive !== false;\n+\n+\tlet tracker,\n+\t\tuaTracker;\n+\n+\tif (prop('queryParams.noexternals')) {\n+\t\treturn;\n+\t}\n \n-\t\t//We rely on ga_* params in both trackers\n-\t\tpruneParams(params);\n+\tparams = $.extend({\n+\t\tga_action: action,\n+\t\tga_category: category,\n+\t\tga_label: label,\n+\t\tga_value: value,\n+\t\tga_is_nonInteractive: isNonInteractive\n+\t}, params);\n \n-\t\tif (trackingMethod === 'both' || trackingMethod === 'ga') {\n-\t\t\tif (!category || !action) {\n-\t\t\t\tthrow new Error('missing required GA params');\n-\t\t\t}\n+\t// We rely on ga_* params in both trackers\n+\tpruneParams(params);\n \n-\t\t\tuaTracker = new trackers.UniversalAnalytics(isSpecialWiki());\n-\t\t\tuaTracker.track(category, actions[action], label, value, isNonInteractive);\n+\tif (trackingMethod === 'both' || trackingMethod === 'ga') {\n+\t\tif (!category || !action) {\n+\t\t\tthrow new Error('missing required GA params');\n \t\t}\n \n-\t\tif (trackingMethod === 'both' || trackingMethod === 'internal') {\n-\t\t\ttracker = new trackers.Internal();\n-\t\t\tparams = <InternalTrackingParams>$.extend(context, params);\n-\t\t\ttracker.track(<InternalTrackingParams>params);\n-\t\t}\n+\t\tuaTracker = new trackers.UniversalAnalytics(isSpecialWiki());\n+\t\tuaTracker.track(category, trackActions[action], label, value, isNonInteractive);\n \t}\n \n-\t/**\n-\t * function for aggregating all page tracking that Wikia uses.\n-\t * To make trackPageView work with your tracker,\n-\t * make it a class in Mercury.Modules.Trackers and export one function 'trackPageView'\n-\t *\n-\t * trackPageView is called in ArticleView.onArticleChange\n-\t *\n-\t * @param {*} adsContext\n-\t * @returns {void}\n-\t */\n-\texport function trackPageView (adsContext: any) {\n-\t\tvar trackers: any = Mercury.Modules.Trackers;\n-\n-\t\tif (M.prop('queryParams.noexternals')) {\n-\t\t\treturn;\n-\t\t}\n-\n-\t\tObject.keys(trackers).forEach((tracker: string): void => {\n-\t\t\tvar Tracker = trackers[tracker],\n-\t\t\t\tinstance: TrackerInstance;\n+\tif (trackingMethod === 'both' || trackingMethod === 'internal') {\n+\t\ttracker = new trackers.Internal();\n+\t\tparams = $.extend(context, params);\n+\t\ttracker.track(params);\n+\t}\n+}\n \n-\t\t\tif (typeof Tracker.prototype.trackPageView === 'function') {\n-\t\t\t\tinstance = new Tracker(isSpecialWiki());\n-\t\t\t\tconsole.info('Track pageView:', tracker);\n-\t\t\t\tinstance.trackPageView(instance.usesAdsContext ? adsContext : context);\n-\t\t\t}\n-\t\t});\n+/**\n+ * function for aggregating all page tracking that Wikia uses.\n+ * To make trackPageView work with your tracker,\n+ * make it a class in Mercury.Modules.Trackers and export one function 'trackPageView'\n+ *\n+ * trackPageView is called in ArticleView.onArticleChange\n+ *\n+ * @param {*} adsContext\n+ * @returns {void}\n+ */\n+export function trackPageView(adsContext) {\n+\tif (prop('queryParams.noexternals')) {\n+\t\treturn;\n \t}\n+\tObject.keys(trackers).forEach((tracker) => {\n+\t\tconst Tracker = trackers[tracker];\n \n-\t/**\n-\t * Track usage of Google Custom Search\n-\t *\n-\t * @param {string} queryParam\n-\t * @returns {void}\n-\t */\n-\texport function trackGoogleSearch (queryParam: string) {\n-\t\tvar trackers: any = Mercury.Modules.Trackers;\n+\t\tif (typeof Tracker.prototype.trackPageView === 'function') {\n+\t\t\tconst instance = new Tracker(isSpecialWiki());\n \n-\t\tif (M.prop('queryParams.noexternals')) {\n-\t\t\treturn;\n+\t\t\tconsole.info('Track pageView:', tracker);","path":"front/scripts/mercury/utils/track.js","position":399,"original_position":399,"commit_id":"9c8d941922c819275eafab2c0925cfeb2926356b","original_commit_id":"8110ef8f82815c2df47d04170693e5bdf2ab5a77","user":{"login":"rogatty","id":7030884,"avatar_url":"https://avatars.githubusercontent.com/u/7030884?v=3","gravatar_id":"","url":"https://api.github.com/users/rogatty","html_url":"https://github.com/rogatty","followers_url":"https://api.github.com/users/rogatty/followers","following_url":"https://api.github.com/users/rogatty/following{/other_user}","gists_url":"https://api.github.com/users/rogatty/gists{/gist_id}","starred_url":"https://api.github.com/users/rogatty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogatty/subscriptions","organizations_url":"https://api.github.com/users/rogatty/orgs","repos_url":"https://api.github.com/users/rogatty/repos","events_url":"https://api.github.com/users/rogatty/events{/privacy}","received_events_url":"https://api.github.com/users/rogatty/received_events","type":"User","site_admin":false},"body":"What else? We don't have `Ember.Logger` here.","created_at":"2015-11-10T14:36:29Z","updated_at":"2015-11-10T14:36:29Z","html_url":"https://github.com/Wikia/mercury/pull/1624#discussion_r44412371","pull_request_url":"https://api.github.com/repos/Wikia/mercury/pulls/1624","_links":{"self":{"href":"https://api.github.com/repos/Wikia/mercury/pulls/comments/44412371"},"html":{"href":"https://github.com/Wikia/mercury/pull/1624#discussion_r44412371"},"pull_request":{"href":"https://api.github.com/repos/Wikia/mercury/pulls/1624"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/mercury/pulls/1624","id":50146997,"html_url":"https://github.com/Wikia/mercury/pull/1624","diff_url":"https://github.com/Wikia/mercury/pull/1624.diff","patch_url":"https://github.com/Wikia/mercury/pull/1624.patch","issue_url":"https://api.github.com/repos/Wikia/mercury/issues/1624","number":1624,"state":"open","locked":false,"title":"XW-514 Convert Mercury modules to ES6","user":{"login":"rogatty","id":7030884,"avatar_url":"https://avatars.githubusercontent.com/u/7030884?v=3","gravatar_id":"","url":"https://api.github.com/users/rogatty","html_url":"https://github.com/rogatty","followers_url":"https://api.github.com/users/rogatty/followers","following_url":"https://api.github.com/users/rogatty/following{/other_user}","gists_url":"https://api.github.com/users/rogatty/gists{/gist_id}","starred_url":"https://api.github.com/users/rogatty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogatty/subscriptions","organizations_url":"https://api.github.com/users/rogatty/orgs","repos_url":"https://api.github.com/users/rogatty/repos","events_url":"https://api.github.com/users/rogatty/events{/privacy}","received_events_url":"https://api.github.com/users/rogatty/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-09T16:52:32Z","updated_at":"2015-11-10T14:36:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"437ccc2814ee78013373a55ae6447d36164292b4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/mercury/pulls/1624/commits","review_comments_url":"https://api.github.com/repos/Wikia/mercury/pulls/1624/comments","review_comment_url":"https://api.github.com/repos/Wikia/mercury/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/mercury/issues/1624/comments","statuses_url":"https://api.github.com/repos/Wikia/mercury/statuses/9c8d941922c819275eafab2c0925cfeb2926356b","head":{"label":"Wikia:XW-514-mercury-modules","ref":"XW-514-mercury-modules","sha":"9c8d941922c819275eafab2c0925cfeb2926356b","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":16710430,"name":"mercury","full_name":"Wikia/mercury","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/mercury","description":"Wikia Web application","fork":false,"url":"https://api.github.com/repos/Wikia/mercury","forks_url":"https://api.github.com/repos/Wikia/mercury/forks","keys_url":"https://api.github.com/repos/Wikia/mercury/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/mercury/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/mercury/teams","hooks_url":"https://api.github.com/repos/Wikia/mercury/hooks","issue_events_url":"https://api.github.com/repos/Wikia/mercury/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/mercury/events","assignees_url":"https://api.github.com/repos/Wikia/mercury/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/mercury/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/mercury/tags","blobs_url":"https://api.github.com/repos/Wikia/mercury/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/mercury/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/mercury/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/mercury/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/mercury/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/mercury/languages","stargazers_url":"https://api.github.com/repos/Wikia/mercury/stargazers","contributors_url":"https://api.github.com/repos/Wikia/mercury/contributors","subscribers_url":"https://api.github.com/repos/Wikia/mercury/subscribers","subscription_url":"https://api.github.com/repos/Wikia/mercury/subscription","commits_url":"https://api.github.com/repos/Wikia/mercury/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/mercury/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/mercury/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/mercury/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/mercury/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/mercury/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/mercury/merges","archive_url":"https://api.github.com/repos/Wikia/mercury/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/mercury/downloads","issues_url":"https://api.github.com/repos/Wikia/mercury/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/mercury/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/mercury/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/mercury/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/mercury/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/mercury/releases{/id}","created_at":"2014-02-10T21:44:25Z","updated_at":"2015-11-04T16:44:03Z","pushed_at":"2015-11-10T14:35:52Z","git_url":"git://github.com/Wikia/mercury.git","ssh_url":"git@github.com:Wikia/mercury.git","clone_url":"https://github.com/Wikia/mercury.git","svn_url":"https://github.com/Wikia/mercury","homepage":"","size":69850,"stargazers_count":12,"watchers_count":12,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":12,"default_branch":"dev"}},"base":{"label":"Wikia:es6-front","ref":"es6-front","sha":"67312ac64d060e2bbda0c7a665d88be2d447cc9b","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":16710430,"name":"mercury","full_name":"Wikia/mercury","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/mercury","description":"Wikia Web application","fork":false,"url":"https://api.github.com/repos/Wikia/mercury","forks_url":"https://api.github.com/repos/Wikia/mercury/forks","keys_url":"https://api.github.com/repos/Wikia/mercury/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/mercury/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/mercury/teams","hooks_url":"https://api.github.com/repos/Wikia/mercury/hooks","issue_events_url":"https://api.github.com/repos/Wikia/mercury/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/mercury/events","assignees_url":"https://api.github.com/repos/Wikia/mercury/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/mercury/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/mercury/tags","blobs_url":"https://api.github.com/repos/Wikia/mercury/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/mercury/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/mercury/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/mercury/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/mercury/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/mercury/languages","stargazers_url":"https://api.github.com/repos/Wikia/mercury/stargazers","contributors_url":"https://api.github.com/repos/Wikia/mercury/contributors","subscribers_url":"https://api.github.com/repos/Wikia/mercury/subscribers","subscription_url":"https://api.github.com/repos/Wikia/mercury/subscription","commits_url":"https://api.github.com/repos/Wikia/mercury/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/mercury/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/mercury/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/mercury/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/mercury/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/mercury/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/mercury/merges","archive_url":"https://api.github.com/repos/Wikia/mercury/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/mercury/downloads","issues_url":"https://api.github.com/repos/Wikia/mercury/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/mercury/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/mercury/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/mercury/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/mercury/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/mercury/releases{/id}","created_at":"2014-02-10T21:44:25Z","updated_at":"2015-11-04T16:44:03Z","pushed_at":"2015-11-10T14:35:52Z","git_url":"git://github.com/Wikia/mercury.git","ssh_url":"git@github.com:Wikia/mercury.git","clone_url":"https://github.com/Wikia/mercury.git","svn_url":"https://github.com/Wikia/mercury","homepage":"","size":69850,"stargazers_count":12,"watchers_count":12,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":12,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/mercury/pulls/1624"},"html":{"href":"https://github.com/Wikia/mercury/pull/1624"},"issue":{"href":"https://api.github.com/repos/Wikia/mercury/issues/1624"},"comments":{"href":"https://api.github.com/repos/Wikia/mercury/issues/1624/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/mercury/pulls/1624/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/mercury/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/mercury/pulls/1624/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/mercury/statuses/9c8d941922c819275eafab2c0925cfeb2926356b"}}}}