{"action":"created","comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/comments/26003904","id":26003904,"diff_hunk":"@@ -59,20 +108,25 @@ function addURILinks( $text, $max, $methods = 'http|https|ftp' )\n     function modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement )\n     {\n         $ini = $tpl->ini();\n-        $max = $ini->variable( 'AutoLinkOperator', 'MaxCharacters' );\n+        self::$max = $ini->variable( 'AutoLinkOperator', 'MaxCharacters' );\n         if ( $namedParameters['max_chars'] !== null )\n         {\n-            $max = $namedParameters['max_chars'];\n+            self::$max = $namedParameters['max_chars'];\n         }\n \n         $methods = $ini->variable( 'AutoLinkOperator', 'Methods' );\n         $methodText = implode( '|', $methods );\n \n+        self::$isLinkWwwUrl = ( $ini->variable( 'AutoLinkOperator', 'LinkWwwUrlsWithoutProtocol' ) == 'enabled' );\n+        \n+        $hideProtocls = $ini->variable( 'AutoLinkOperator', 'HideProtocols' );","path":"kernel/common/ezautolinkoperator.php","position":102,"original_position":102,"commit_id":"5c7def3d982b9317cfcf1576e508855196bce28b","original_commit_id":"5c7def3d982b9317cfcf1576e508855196bce28b","user":{"login":"brookinsconsulting","id":617031,"avatar_url":"https://avatars.githubusercontent.com/u/617031?v=3","gravatar_id":"","url":"https://api.github.com/users/brookinsconsulting","html_url":"https://github.com/brookinsconsulting","followers_url":"https://api.github.com/users/brookinsconsulting/followers","following_url":"https://api.github.com/users/brookinsconsulting/following{/other_user}","gists_url":"https://api.github.com/users/brookinsconsulting/gists{/gist_id}","starred_url":"https://api.github.com/users/brookinsconsulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brookinsconsulting/subscriptions","organizations_url":"https://api.github.com/users/brookinsconsulting/orgs","repos_url":"https://api.github.com/users/brookinsconsulting/repos","events_url":"https://api.github.com/users/brookinsconsulting/events{/privacy}","received_events_url":"https://api.github.com/users/brookinsconsulting/received_events","type":"User","site_admin":false},"body":"This variable name should also be changed to `$stripProtocolsText` at the very least. We think this was merely a spelling typo. We request you change this variable name.","created_at":"2015-03-08T10:05:43Z","updated_at":"2015-03-08T10:05:43Z","html_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1147#discussion_r26003904","pull_request_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1147","_links":{"self":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/comments/26003904"},"html":{"href":"https://github.com/ezsystems/ezpublish-legacy/pull/1147#discussion_r26003904"},"pull_request":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1147"}}},"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1147","id":30464399,"html_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1147","diff_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1147.diff","patch_url":"https://github.com/ezsystems/ezpublish-legacy/pull/1147.patch","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1147","number":1147,"state":"open","locked":false,"title":"EZP-24114: Autolinkoperator add support to link www url wihout protocol.","user":{"login":"tompsonx","id":8808253,"avatar_url":"https://avatars.githubusercontent.com/u/8808253?v=3","gravatar_id":"","url":"https://api.github.com/users/tompsonx","html_url":"https://github.com/tompsonx","followers_url":"https://api.github.com/users/tompsonx/followers","following_url":"https://api.github.com/users/tompsonx/following{/other_user}","gists_url":"https://api.github.com/users/tompsonx/gists{/gist_id}","starred_url":"https://api.github.com/users/tompsonx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompsonx/subscriptions","organizations_url":"https://api.github.com/users/tompsonx/orgs","repos_url":"https://api.github.com/users/tompsonx/repos","events_url":"https://api.github.com/users/tompsonx/events{/privacy}","received_events_url":"https://api.github.com/users/tompsonx/received_events","type":"User","site_admin":false},"body":"Add support for text which is started from www. without protocol.\r\nFor example change text \"www.ez.no\" to link tags.","created_at":"2015-03-04T13:24:28Z","updated_at":"2015-03-08T10:05:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28c8766fe058f310824a96e1c50109c6d162dc99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1147/commits","review_comments_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1147/comments","review_comment_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1147/comments","statuses_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/statuses/5c7def3d982b9317cfcf1576e508855196bce28b","head":{"label":"tompsonx:patch-1","ref":"patch-1","sha":"5c7def3d982b9317cfcf1576e508855196bce28b","user":{"login":"tompsonx","id":8808253,"avatar_url":"https://avatars.githubusercontent.com/u/8808253?v=3","gravatar_id":"","url":"https://api.github.com/users/tompsonx","html_url":"https://github.com/tompsonx","followers_url":"https://api.github.com/users/tompsonx/followers","following_url":"https://api.github.com/users/tompsonx/following{/other_user}","gists_url":"https://api.github.com/users/tompsonx/gists{/gist_id}","starred_url":"https://api.github.com/users/tompsonx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompsonx/subscriptions","organizations_url":"https://api.github.com/users/tompsonx/orgs","repos_url":"https://api.github.com/users/tompsonx/repos","events_url":"https://api.github.com/users/tompsonx/events{/privacy}","received_events_url":"https://api.github.com/users/tompsonx/received_events","type":"User","site_admin":false},"repo":{"id":31657427,"name":"ezpublish-legacy","full_name":"tompsonx/ezpublish-legacy","owner":{"login":"tompsonx","id":8808253,"avatar_url":"https://avatars.githubusercontent.com/u/8808253?v=3","gravatar_id":"","url":"https://api.github.com/users/tompsonx","html_url":"https://github.com/tompsonx","followers_url":"https://api.github.com/users/tompsonx/followers","following_url":"https://api.github.com/users/tompsonx/following{/other_user}","gists_url":"https://api.github.com/users/tompsonx/gists{/gist_id}","starred_url":"https://api.github.com/users/tompsonx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompsonx/subscriptions","organizations_url":"https://api.github.com/users/tompsonx/orgs","repos_url":"https://api.github.com/users/tompsonx/repos","events_url":"https://api.github.com/users/tompsonx/events{/privacy}","received_events_url":"https://api.github.com/users/tompsonx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tompsonx/ezpublish-legacy","description":"eZ Publish","fork":true,"url":"https://api.github.com/repos/tompsonx/ezpublish-legacy","forks_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/forks","keys_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/teams","hooks_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/hooks","issue_events_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/issues/events{/number}","events_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/events","assignees_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/assignees{/user}","branches_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/branches{/branch}","tags_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/tags","blobs_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/git/refs{/sha}","trees_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/statuses/{sha}","languages_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/languages","stargazers_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/stargazers","contributors_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/contributors","subscribers_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/subscribers","subscription_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/subscription","commits_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/commits{/sha}","git_commits_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/git/commits{/sha}","comments_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/comments{/number}","issue_comment_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/issues/comments{/number}","contents_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/contents/{+path}","compare_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/merges","archive_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/downloads","issues_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/issues{/number}","pulls_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/pulls{/number}","milestones_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/milestones{/number}","notifications_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/labels{/name}","releases_url":"https://api.github.com/repos/tompsonx/ezpublish-legacy/releases{/id}","created_at":"2015-03-04T13:06:32Z","updated_at":"2015-03-04T13:06:50Z","pushed_at":"2015-03-07T17:33:16Z","git_url":"git://github.com/tompsonx/ezpublish-legacy.git","ssh_url":"git@github.com:tompsonx/ezpublish-legacy.git","clone_url":"https://github.com/tompsonx/ezpublish-legacy.git","svn_url":"https://github.com/tompsonx/ezpublish-legacy","homepage":"http://ez.no/Products/","size":211866,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ezsystems:master","ref":"master","sha":"f2b018add810504de84d09b7dda7e6fd9f11d63b","user":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":715911,"name":"ezpublish-legacy","full_name":"ezsystems/ezpublish-legacy","owner":{"login":"ezsystems","id":295311,"avatar_url":"https://avatars.githubusercontent.com/u/295311?v=3","gravatar_id":"","url":"https://api.github.com/users/ezsystems","html_url":"https://github.com/ezsystems","followers_url":"https://api.github.com/users/ezsystems/followers","following_url":"https://api.github.com/users/ezsystems/following{/other_user}","gists_url":"https://api.github.com/users/ezsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsystems/subscriptions","organizations_url":"https://api.github.com/users/ezsystems/orgs","repos_url":"https://api.github.com/users/ezsystems/repos","events_url":"https://api.github.com/users/ezsystems/events{/privacy}","received_events_url":"https://api.github.com/users/ezsystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezsystems/ezpublish-legacy","description":"eZ Publish","fork":false,"url":"https://api.github.com/repos/ezsystems/ezpublish-legacy","forks_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/forks","keys_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/teams","hooks_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/hooks","issue_events_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/events{/number}","events_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/events","assignees_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/assignees{/user}","branches_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/branches{/branch}","tags_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/tags","blobs_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/statuses/{sha}","languages_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/languages","stargazers_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/stargazers","contributors_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/contributors","subscribers_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/subscribers","subscription_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/subscription","commits_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/comments{/number}","contents_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/contents/{+path}","compare_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/merges","archive_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/downloads","issues_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues{/number}","pulls_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls{/number}","milestones_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/milestones{/number}","notifications_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/labels{/name}","releases_url":"https://api.github.com/repos/ezsystems/ezpublish-legacy/releases{/id}","created_at":"2010-06-11T15:47:13Z","updated_at":"2015-03-05T14:51:22Z","pushed_at":"2015-03-05T14:51:23Z","git_url":"git://github.com/ezsystems/ezpublish-legacy.git","ssh_url":"git@github.com:ezsystems/ezpublish-legacy.git","clone_url":"https://github.com/ezsystems/ezpublish-legacy.git","svn_url":"https://github.com/ezsystems/ezpublish-legacy","homepage":"http://ez.no/Products/","size":315021,"stargazers_count":261,"watchers_count":261,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":218,"mirror_url":null,"open_issues_count":152,"forks":218,"open_issues":152,"watchers":261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1147"},"html":{"href":"https://github.com/ezsystems/ezpublish-legacy/pull/1147"},"issue":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1147"},"comments":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/issues/1147/comments"},"review_comments":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1147/comments"},"review_comment":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/pulls/1147/commits"},"statuses":{"href":"https://api.github.com/repos/ezsystems/ezpublish-legacy/statuses/5c7def3d982b9317cfcf1576e508855196bce28b"}}}}