{"action":"closed","issue":{"url":"https://api.github.com/repos/Oriwiki/php-namumark-mediawiki/issues/7","repository_url":"https://api.github.com/repos/Oriwiki/php-namumark-mediawiki","labels_url":"https://api.github.com/repos/Oriwiki/php-namumark-mediawiki/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Oriwiki/php-namumark-mediawiki/issues/7/comments","events_url":"https://api.github.com/repos/Oriwiki/php-namumark-mediawiki/issues/7/events","html_url":"https://github.com/Oriwiki/php-namumark-mediawiki/issues/7","id":164841020,"number":7,"title":"같은 각주 불러오기","user":{"login":"2DU","id":13796545,"avatar_url":"https://avatars.githubusercontent.com/u/13796545?v=3","gravatar_id":"","url":"https://api.github.com/users/2DU","html_url":"https://github.com/2DU","followers_url":"https://api.github.com/users/2DU/followers","following_url":"https://api.github.com/users/2DU/following{/other_user}","gists_url":"https://api.github.com/users/2DU/gists{/gist_id}","starred_url":"https://api.github.com/users/2DU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2DU/subscriptions","organizations_url":"https://api.github.com/users/2DU/orgs","repos_url":"https://api.github.com/users/2DU/repos","events_url":"https://api.github.com/users/2DU/events{/privacy}","received_events_url":"https://api.github.com/users/2DU/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-11T13:47:16Z","updated_at":"2016-07-11T22:37:32Z","closed_at":"2016-07-11T22:37:32Z","body":"```php\r\nif(self::startsWith($text, '*') && preg_match('/^\\*([^ ]*)([ ].+)?$/', $text, $note)) {\r\n\t\t\t\t\tif(isset($note[1]) and isset($note[2]))\r\n\t\t\t\t\t\treturn '<ref name=\"'.$note[1].'\">'.$note[2].'</ref>';\r\n\t\t\t\t\telse if(isset($note[2]))\r\n\t\t\t\t\t\treturn '<ref>'.$note[2].'</ref>';\r\n\t\t\t\t\telse if(isset($note[1]))\r\n\t\t\t\t\t\treturn '<ref name=\"'.$note[1].'\" />';\r\n\t\t\t\t}\r\n```\r\n이렇게 하면 비슷하게 구현되지 않을까요?\r\n\r\nhttps://namu.wiki/w/나무위키:연습장?rev=903\r\n\r\nㅡ 나무위키 지원 문법"}}
{"actor":{"display_login":"Oriwiki"}}