{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/app/pulls/comments/25475621","id":25475621,"diff_hunk":"@@ -0,0 +1,309 @@\n+/* global require, define*/\n+/*\n+ * Handles the color-coded notification messages that generally appear\n+ * at the top of the screen or inside a modal.\n+ *\n+ * AMD module is defined at the bottom of the 'require' block\n+ *\n+ * Use like:\n+ * new BannerNotification('Content', 'error').show().hide();\n+ */\n+require([\n+\t'jquery',\n+\t'wikia.window',\n+\t'wikia.onScroll',\n+\t'BannerNotifications.templates.mustache',\n+\t'wikia.mustache'\n+], function ($, window, onScroll, templates, mustache) {\n+\t'use strict';\n+\n+\tvar defaultTimeout = 10000,\n+\t\ttypes = {\n+\t\t\t'notify': 'blue',\n+\t\t\t'confirm': 'green',\n+\t\t\t'error': 'red',\n+\t\t\t'warn': 'yellow'\n+\t\t},\n+\t\tclasses = Object.keys(types).join(' '),\n+\t\tcloseImageSource = window.stylepath + '/oasis/images/icon_close.png',\n+\t\t$pageContainer,\n+\t\theaderHeight,\n+\t\tmodal,\n+\t\tbackendNotification;\n+\n+\t/**\n+\t * Creates a new banner notifications instance (doesn't show it yet though!)\n+\t * @param {String} [content] Content of the notification\n+\t * @param {String} [type] One of notification classes / types\n+\t * @param {jQuery} [$parent] Element to pin the notification to\n+\t * @param {Number} [timeout] If set, notification will hide after given time\n+\t * @constructor\n+\t */\n+\tfunction BannerNotification(content, type, $parent, timeout) {\n+\t\tif (content instanceof jQuery && content.hasClass('banner-notification')) {\n+\t\t\t//create a notification object from already existing markup\n+\t\t\tthis.content = content.find('.msg').html();\n+\t\t\tthis.$element = content;\n+\t\t\tthis.$parent = content.parent();\n+\t\t\tthis.hidden = false;\n+\t\t} else {\n+\t\t\tthis.content = content;\n+\t\t\tthis.$element = null;\n+\t\t\tthis.$parent = $parent;\n+\t\t\tthis.hidden = true;\n+\t\t\tthis.type = type;\n+\t\t\tthis.timeout = timeout;\n+\t\t}\n+\t\tthis.onCloseHandler = Function.prototype;\n+\t}\n+\n+\t/**\n+\t * Creates DOM element and reveals the notification\n+\t * @returns {BannerNotification}\n+\t */\n+\tBannerNotification.prototype.show = function () {\n+\t\tif (!this.hidden) {\n+\t\t\treturn this;\n+\t\t}\n+\t\tif (!this.$element) {\n+\t\t\tthis.$element = createMarkup(this.content, this.type);\n+\t\t}\n+\t\tthis.setType(this.type);\n+\n+\t\tsetUpClose(this);\n+\n+\t\t// Modal notifications have no close button so set a timeout\n+\t\tif (isModalShown() && typeof this.timeout !== 'number') {\n+\t\t\tthis.timeout = defaultTimeout;\n+\t\t}\n+\n+\t\taddToDOM(this.$element, this.$parent);\n+\n+\t\tthis.hidden = false;\n+\n+\t\t// Close notification after specified amount of time\n+\t\tif (typeof this.timeout === 'number') {\n+\t\t\tsetTimeout(function () {\n+\t\t\t\tthis.hide();\n+\t\t\t}.bind(this), this.timeout);\n+\t\t}\n+\t\treturn this;\n+\t};\n+\n+\t/**\n+\t * Hides a notification and removes an instance of a DOM element\n+\t * @returns {BannerNotification}\n+\t */\n+\tBannerNotification.prototype.hide = function () {\n+\t\tif (!this.hidden) {\n+\t\t\tfadeOut(this.$element, removeFromDOM);\n+\t\t\tthis.$element = null;\n+\t\t\tthis.hidden = true;\n+\t\t}\n+\t\treturn this;\n+\t};\n+\n+\t/**\n+\t * Overrides the type of the notification\n+\t * @param {String} type\n+\t * @returns {BannerNotification}\n+\t */\n+\tBannerNotification.prototype.setType = function (type) {\n+\t\tif (type !== this.type && types.hasOwnProperty(type)) {\n+\t\t\tthis.type = type;\n+\t\t\tif (this.$element) {\n+\t\t\t\tthis.$element\n+\t\t\t\t\t.removeClass(classes)\n+\t\t\t\t\t.addClass(type);\n+\t\t\t}\n+\t\t}\n+\t\treturn this;\n+\t};\n+\n+\t/**\n+\t * Overrides the content of the notification\n+\t * @param {String} content\n+\t * @returns {BannerNotification}\n+\t */\n+\tBannerNotification.prototype.setContent = function (content) {\n+\t\tif (content && content !== this.content) {\n+\t\t\tthis.content = content;\n+\t\t\tif (this.$element) {\n+\t\t\t\tthis.$element\n+\t\t\t\t\t.find('.msg')\n+\t\t\t\t\t.html(content);\n+\t\t\t}\n+\t\t}\n+\t\treturn this;\n+\t};\n+\n+\t/**\n+\t * Generic method for indicating problem with AJAX connection\n+\t * @returns {BannerNotification}\n+\t */\n+\tBannerNotification.prototype.showConnectionError = function () {\n+\t\treturn this\n+\t\t\t.setType('error')\n+\t\t\t.setContent(\n+\t\t\t\twindow.mw.message('bannernotifications-general-ajax-failure')\n+\t\t\t\t\t.escaped()\n+\t\t\t)\n+\t\t\t.show();\n+\t};\n+\n+\t/**\n+\t * Allows to attach a handler to a notification close event\n+\t * @param {Function} callback\n+\t * @returns {BannerNotification}\n+\t */\n+\tBannerNotification.prototype.onClose = function (callback) {\n+\t\tif (typeof callback === 'function') {\n+\t\t\tthis.onCloseHandler = callback;\n+\t\t}\n+\t\treturn this;\n+\t};\n+\n+\t/**\n+\t * Called once to instantiate this feature\n+\t */\n+\tfunction init() {\n+\t\tif (window.skin === 'monobook') {\n+\t\t\t$pageContainer = $('#content');\n+\t\t} else {\n+\t\t\t$pageContainer = $('.WikiaPageContentWrapper');\n+\t\t\theaderHeight = $('#globalNavigation').height();\n+\t\t\tonScroll.bind(handleScrolling);\n+\t\t}\n+\t\tcreateBackendNotification();\n+\t}\n+\n+\t/**\n+\t * Creates an instance of a notification set on the backend side","path":"extensions/wikia/BannerNotifications/js/BannerNotifications.js","position":181,"original_position":181,"commit_id":"ac69d5bbc5de3e6aa87bf48b1271e0c56d624037","original_commit_id":"ac69d5bbc5de3e6aa87bf48b1271e0c56d624037","user":{"login":"lizlux","id":201367,"avatar_url":"https://avatars.githubusercontent.com/u/201367?v=3","gravatar_id":"","url":"https://api.github.com/users/lizlux","html_url":"https://github.com/lizlux","followers_url":"https://api.github.com/users/lizlux/followers","following_url":"https://api.github.com/users/lizlux/following{/other_user}","gists_url":"https://api.github.com/users/lizlux/gists{/gist_id}","starred_url":"https://api.github.com/users/lizlux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizlux/subscriptions","organizations_url":"https://api.github.com/users/lizlux/orgs","repos_url":"https://api.github.com/users/lizlux/repos","events_url":"https://api.github.com/users/lizlux/events{/privacy}","received_events_url":"https://api.github.com/users/lizlux/received_events","type":"User","site_admin":false},"body":"This message seems unclear to someone that doesn't know about notifications originating from the server. Maybe update the wording to something like: \r\n\r\n\"Create instance of BannerNotification based on HTML passed from the server on page load.\"\r\n\r\n","created_at":"2015-02-26T23:21:23Z","updated_at":"2015-02-26T23:21:23Z","html_url":"https://github.com/Wikia/app/pull/6334#discussion_r25475621","pull_request_url":"https://api.github.com/repos/Wikia/app/pulls/6334","_links":{"self":{"href":"https://api.github.com/repos/Wikia/app/pulls/comments/25475621"},"html":{"href":"https://github.com/Wikia/app/pull/6334#discussion_r25475621"},"pull_request":{"href":"https://api.github.com/repos/Wikia/app/pulls/6334"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/6334","id":29454990,"html_url":"https://github.com/Wikia/app/pull/6334","diff_url":"https://github.com/Wikia/app/pull/6334.diff","patch_url":"https://github.com/Wikia/app/pull/6334.patch","issue_url":"https://api.github.com/repos/Wikia/app/issues/6334","number":6334,"state":"open","locked":false,"title":"GlobalNotification -> BannerNotification(s)","user":{"login":"bkoval","id":2035428,"avatar_url":"https://avatars.githubusercontent.com/u/2035428?v=3","gravatar_id":"","url":"https://api.github.com/users/bkoval","html_url":"https://github.com/bkoval","followers_url":"https://api.github.com/users/bkoval/followers","following_url":"https://api.github.com/users/bkoval/following{/other_user}","gists_url":"https://api.github.com/users/bkoval/gists{/gist_id}","starred_url":"https://api.github.com/users/bkoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkoval/subscriptions","organizations_url":"https://api.github.com/users/bkoval/orgs","repos_url":"https://api.github.com/users/bkoval/repos","events_url":"https://api.github.com/users/bkoval/events{/privacy}","received_events_url":"https://api.github.com/users/bkoval/received_events","type":"User","site_admin":false},"body":"This is an attempt to refactor GlobalNotification. Summary:\r\n - Renaming it to BannerNotification\r\n - Moving all the related files to the single extension directory\r\n - Creating an AMD module for BN, but keeping the window global\r\n - Adding support for multiple instances of notifications\r\n - Adding generic method for ajax connection errors.\r\n - Notifications are now objects that can be instantiated with 'new' keyword\r\n - Setters and methods can be chained\r\n\r\nPHP Usage\r\n```php\r\nBannerNotificationController::addNotification(...);\r\n```\r\ninstead of \r\n```php\r\nNotificationController::addNotification(...);\r\n```\r\n\r\nJavaScript Usage\r\n```javascript\r\n//where possible\r\nrequire(['BannerNotification'], function(BannerNotification){\r\n\r\n    new BannerNotification('MyMessage\", 'error').show();\r\n\r\n    new BannerNotification().setContent('MyMessage').setType('error').show();\r\n\r\n    var notification = new BannerNotification('MyMessage').setType('notify');\r\n    notification.show();\r\n    notification.hide();\r\n});\r\n\r\n//Where not possible to use AMD, there's still support for:\r\nnew window.BannerNotification().setContent('Hello').setType('confirm').show();\r\n```\r\nAlso applied AMD version where it was possible and made WIkiaInYourLang and CookiePolicy use $element exposed by notification instance for binding events.\r\n\r\n@kvas-damian @lizlux Please, review and after i address the Code Review notes I will ask owners of all the extensions using notifications to review the code.\r\n\r\nI also added a wikia.onScroll module as a global place for binding to scroll event on window:\r\n\r\n```javascript\r\nrequire(['wikia.onScroll'], function(onScroll){\r\n    function doSomething(){}\r\n\r\n    onScroll.bind(doSomething);\r\n    //doSomething is getting triggered on scroll event now\r\n\r\n    onScroll.unbind(doSomething);\r\n    //doSomething has been unboud, it's not getting triggered anymore\r\n});\r\n```","created_at":"2015-02-17T16:20:04Z","updated_at":"2015-02-26T23:21:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f84c04593d0199f5225cf867458f868d22fdaa7","assignee":{"login":"RafLeszczynski","id":859645,"avatar_url":"https://avatars.githubusercontent.com/u/859645?v=3","gravatar_id":"","url":"https://api.github.com/users/RafLeszczynski","html_url":"https://github.com/RafLeszczynski","followers_url":"https://api.github.com/users/RafLeszczynski/followers","following_url":"https://api.github.com/users/RafLeszczynski/following{/other_user}","gists_url":"https://api.github.com/users/RafLeszczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/RafLeszczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafLeszczynski/subscriptions","organizations_url":"https://api.github.com/users/RafLeszczynski/orgs","repos_url":"https://api.github.com/users/RafLeszczynski/repos","events_url":"https://api.github.com/users/RafLeszczynski/events{/privacy}","received_events_url":"https://api.github.com/users/RafLeszczynski/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/app/pulls/6334/commits","review_comments_url":"https://api.github.com/repos/Wikia/app/pulls/6334/comments","review_comment_url":"https://api.github.com/repos/Wikia/app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/app/issues/6334/comments","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/ac69d5bbc5de3e6aa87bf48b1271e0c56d624037","head":{"label":"Wikia:SOC-330","ref":"SOC-330","sha":"ac69d5bbc5de3e6aa87bf48b1271e0c56d624037","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":5532313,"name":"app","full_name":"Wikia/app","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/app","description":"Wikia Application Code","fork":false,"url":"https://api.github.com/repos/Wikia/app","forks_url":"https://api.github.com/repos/Wikia/app/forks","keys_url":"https://api.github.com/repos/Wikia/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/app/teams","hooks_url":"https://api.github.com/repos/Wikia/app/hooks","issue_events_url":"https://api.github.com/repos/Wikia/app/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/app/events","assignees_url":"https://api.github.com/repos/Wikia/app/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/app/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/app/tags","blobs_url":"https://api.github.com/repos/Wikia/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/app/languages","stargazers_url":"https://api.github.com/repos/Wikia/app/stargazers","contributors_url":"https://api.github.com/repos/Wikia/app/contributors","subscribers_url":"https://api.github.com/repos/Wikia/app/subscribers","subscription_url":"https://api.github.com/repos/Wikia/app/subscription","commits_url":"https://api.github.com/repos/Wikia/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/app/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/app/merges","archive_url":"https://api.github.com/repos/Wikia/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/app/downloads","issues_url":"https://api.github.com/repos/Wikia/app/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/app/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/app/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/app/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/app/releases{/id}","created_at":"2012-08-23T20:55:58Z","updated_at":"2015-02-26T19:40:52Z","pushed_at":"2015-02-26T23:16:02Z","git_url":"git://github.com/Wikia/app.git","ssh_url":"git@github.com:Wikia/app.git","clone_url":"https://github.com/Wikia/app.git","svn_url":"https://github.com/Wikia/app","homepage":"http://dev.wikia.com","size":1370228,"stargazers_count":73,"watchers_count":73,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":59,"forks":52,"open_issues":59,"watchers":73,"default_branch":"dev"}},"base":{"label":"Wikia:social-6","ref":"social-6","sha":"f04401473f326df101595c36e8977f86435ff8bc","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":5532313,"name":"app","full_name":"Wikia/app","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/app","description":"Wikia Application Code","fork":false,"url":"https://api.github.com/repos/Wikia/app","forks_url":"https://api.github.com/repos/Wikia/app/forks","keys_url":"https://api.github.com/repos/Wikia/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/app/teams","hooks_url":"https://api.github.com/repos/Wikia/app/hooks","issue_events_url":"https://api.github.com/repos/Wikia/app/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/app/events","assignees_url":"https://api.github.com/repos/Wikia/app/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/app/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/app/tags","blobs_url":"https://api.github.com/repos/Wikia/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/app/languages","stargazers_url":"https://api.github.com/repos/Wikia/app/stargazers","contributors_url":"https://api.github.com/repos/Wikia/app/contributors","subscribers_url":"https://api.github.com/repos/Wikia/app/subscribers","subscription_url":"https://api.github.com/repos/Wikia/app/subscription","commits_url":"https://api.github.com/repos/Wikia/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/app/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/app/merges","archive_url":"https://api.github.com/repos/Wikia/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/app/downloads","issues_url":"https://api.github.com/repos/Wikia/app/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/app/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/app/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/app/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/app/releases{/id}","created_at":"2012-08-23T20:55:58Z","updated_at":"2015-02-26T19:40:52Z","pushed_at":"2015-02-26T23:16:02Z","git_url":"git://github.com/Wikia/app.git","ssh_url":"git@github.com:Wikia/app.git","clone_url":"https://github.com/Wikia/app.git","svn_url":"https://github.com/Wikia/app","homepage":"http://dev.wikia.com","size":1370228,"stargazers_count":73,"watchers_count":73,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":59,"forks":52,"open_issues":59,"watchers":73,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/app/pulls/6334"},"html":{"href":"https://github.com/Wikia/app/pull/6334"},"issue":{"href":"https://api.github.com/repos/Wikia/app/issues/6334"},"comments":{"href":"https://api.github.com/repos/Wikia/app/issues/6334/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/app/pulls/6334/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/app/pulls/6334/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/app/statuses/ac69d5bbc5de3e6aa87bf48b1271e0c56d624037"}}}}