{"action":"created","issue":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1239","labels_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1239/labels{/name}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1239/comments","events_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1239/events","html_url":"https://github.com/splitbrain/dokuwiki/pull/1239","id":95234337,"number":1239,"title":"Add a 'returnonly' option to all xhtml link types","user":{"login":"andyboeh","id":3099753,"avatar_url":"https://avatars.githubusercontent.com/u/3099753?v=3","gravatar_id":"","url":"https://api.github.com/users/andyboeh","html_url":"https://github.com/andyboeh","followers_url":"https://api.github.com/users/andyboeh/followers","following_url":"https://api.github.com/users/andyboeh/following{/other_user}","gists_url":"https://api.github.com/users/andyboeh/gists{/gist_id}","starred_url":"https://api.github.com/users/andyboeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyboeh/subscriptions","organizations_url":"https://api.github.com/users/andyboeh/orgs","repos_url":"https://api.github.com/users/andyboeh/repos","events_url":"https://api.github.com/users/andyboeh/events{/privacy}","received_events_url":"https://api.github.com/users/andyboeh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/splitbrain/dokuwiki/labels/Category:%20Backend","name":"Category: Backend","color":"FFC274"},{"url":"https://api.github.com/repos/splitbrain/dokuwiki/labels/Category:%20Customization/Extensions","name":"Category: Customization/Extensions","color":"FFC274"},{"url":"https://api.github.com/repos/splitbrain/dokuwiki/labels/Feature","name":"Feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-15T16:23:13Z","updated_at":"2015-07-15T22:32:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/pulls/1239","html_url":"https://github.com/splitbrain/dokuwiki/pull/1239","diff_url":"https://github.com/splitbrain/dokuwiki/pull/1239.diff","patch_url":"https://github.com/splitbrain/dokuwiki/pull/1239.patch"},"body":"This PR adds a returnonly option to all xhtml link types, not just to internallink. In order to support different renderers in the data plugin, this is required."},"comment":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/comments/121767926","html_url":"https://github.com/splitbrain/dokuwiki/pull/1239#issuecomment-121767926","issue_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1239","id":121767926,"user":{"login":"selfthinker","id":108893,"avatar_url":"https://avatars.githubusercontent.com/u/108893?v=3","gravatar_id":"","url":"https://api.github.com/users/selfthinker","html_url":"https://github.com/selfthinker","followers_url":"https://api.github.com/users/selfthinker/followers","following_url":"https://api.github.com/users/selfthinker/following{/other_user}","gists_url":"https://api.github.com/users/selfthinker/gists{/gist_id}","starred_url":"https://api.github.com/users/selfthinker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfthinker/subscriptions","organizations_url":"https://api.github.com/users/selfthinker/orgs","repos_url":"https://api.github.com/users/selfthinker/repos","events_url":"https://api.github.com/users/selfthinker/events{/privacy}","received_events_url":"https://api.github.com/users/selfthinker/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T22:32:34Z","updated_at":"2015-07-15T22:32:34Z","body":"I'm generally very much in favour of this. But...\r\n\r\nI just wanted to write that these changes should be consistent with the core code but then discovered that we are not very consistent to begin with. I think this is what we mostly do => https://github.com/splitbrain/dokuwiki/blob/master/inc/template.php#L465-472 (i.e. variable is called `$return` and what should be returned or printed is first stored in a variable) <=  but I also found lots of other cases where we do it differently..."}}