Difference between revisions of "Template talk:Jira"

From Second Life Wiki
Jump to navigation Jump to search
Line 43: Line 43:


Minus all the external/secure link icons of course, not sure how to get rid of those…<br/>-- '''[[User:Haravikk_Mistral|Haravikk]]''' <sup><small>([[User_talk:Haravikk_Mistral|talk]]|[[Special:Contributions/Haravikk_Mistral|contribs]])</small></sup> 03:40, 21 April 2011 (PDT)
Minus all the external/secure link icons of course, not sure how to get rid of those…<br/>-- '''[[User:Haravikk_Mistral|Haravikk]]''' <sup><small>([[User_talk:Haravikk_Mistral|talk]]|[[Special:Contributions/Haravikk_Mistral|contribs]])</small></sup> 03:40, 21 April 2011 (PDT)
== Replacing JiraIssue ==
Already hinted at this, but we shouldn't really both this template and [[Template:JiraIssue]] as they both do almost exactly the same thing. The main difference between the two templates is that any title entered is display in addition to the JIRA issue ID, while this template will only display the title. For compatibility I'd like to propose that if a title is entered then it should be displayed in addition to the JIRA issue ID. However, if the title is entered using the <code>alt</code> variable then it replace the issue ID, this way we should be able to get both behaviours allowing for explicit JIRA links, and inline links from part of a sentence.
For example:
<code><nowiki>{{Jira|VWR-7830|Automatically change group on group land}}</nowiki></code>
Would produce:
[https://jira.secondlife.com/browse/VWR-7830 VWR-7830 - Automatically change group on group land]
While the following:
<code><nowiki>To view my JIRA issue please {{Jira|VWR-7830|alt=Click Here}}!</nowiki></code>
Would produce:
To view my JIRA issue please [https://jira.secondlife.com/browse/VWR-7830 click here]!
This would ideally be in addition to consolidating this template with [[Template:Issue]], however the <code>alt</code> variable would like override all normal automatic formatting in favour of producing an author-defined link.<br/>-- '''[[User:Haravikk_Mistral|Haravikk]]''' <sup><small>([[User_talk:Haravikk_Mistral|talk]]|[[Special:Contributions/Haravikk_Mistral|contribs]])</small></sup> 04:32, 24 April 2011 (PDT)

Revision as of 03:32, 24 April 2011

tweaking to make it more usable

If the string parser functions were installed (it's listed in Jira), you could skip out the alt parameter and expand the abbreviation to the full name.

As it stands I could probably tweak this a bit :-D

SignpostMarv Martin 17:35, 18 January 2007 (PST)

https vs http

The current template uses https: to access to jira.secondlife.com. I think http: is better for this purpose, because (1) http is lightweight over https, and (2) an https: URL is rendered with "Locked" icon that may scare users.

-- Alissa Sabre 23:55, 26 October 2007 (PDT)

Do to the way JIRA keeps session information, we have to use https for it to work throughout JIRA. We could log onto JIRA, and then later use the wikipage to get directly to a jira issue and edit it without the need to relogin. It is a bit of a pain because of the potential lag, but it heals the relogin issue. Normally, users would have raw jira accounts, and the http method would work fine, but the SL users have a special user account that doesn't work currently as a raw jira user account. This template is used heavily for the triage agendas, so we can expect the need to edit without constant a re-login prompt.

How about an optional variable to this template?

Link decoration

I would like to add <span class="plainlinks"> to this template in order to make the links look nicer. It would also solve "looks scary for new users" problem, Alissa Sabre referred to in the previous comment.

Objections?
(P.S.: Just partly related, but is there a way to have a link beeing not underlined?)
Greetz, Zai signature.png Lynch (talk|contribs) 13:26, 11 September 2008 (PDT)

I have no problem with plainlinks being added, I don't think the underline decoration can be removed. -- Strife (talk|contribs) 09:52, 12 September 2008 (PDT)
OK, done =) Zai signature.png Lynch (talk|contribs) 23:35, 12 September 2008 (PDT)

Updating the format of this template

As I mentioned on Template:JiraIssue I'm thinking it might be nice if this template could be expanded to be more consistent with Template:Issue to support type, resolution etc, creating plainer links only if those bits of information aren't provided, so we can include as rich or as simple a jira-link as we like.
For example:

{{Jira|VWR-7830|Automatically switch active group on group land|type=nf|resolution=open}}

Would look like:

height=16 height=16 VWR-7830 [AC] - Automatically switch active group on group land

Minus all the external/secure link icons of course, not sure how to get rid of those…
-- Haravikk (talk|contribs) 03:40, 21 April 2011 (PDT)

Replacing JiraIssue

Already hinted at this, but we shouldn't really both this template and Template:JiraIssue as they both do almost exactly the same thing. The main difference between the two templates is that any title entered is display in addition to the JIRA issue ID, while this template will only display the title. For compatibility I'd like to propose that if a title is entered then it should be displayed in addition to the JIRA issue ID. However, if the title is entered using the alt variable then it replace the issue ID, this way we should be able to get both behaviours allowing for explicit JIRA links, and inline links from part of a sentence.

For example:

{{Jira|VWR-7830|Automatically change group on group land}}

Would produce:

VWR-7830 - Automatically change group on group land

While the following:

To view my JIRA issue please {{Jira|VWR-7830|alt=Click Here}}!

Would produce:

To view my JIRA issue please click here!


This would ideally be in addition to consolidating this template with Template:Issue, however the alt variable would like override all normal automatic formatting in favour of producing an author-defined link.
-- Haravikk (talk|contribs) 04:32, 24 April 2011 (PDT)