Submitted by : Alan Cowderoy at: 2004-03-24T05:39:50+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Discussion on the use of "IssueNo?" as a fixed prefix for Issue tracker pages refactored from the main ZwikiIssueTracker page.

Use of prefix "Issue" for page names --Alan Cowderoy, Fri, 19 Mar 2004 06:21:53 -0800 reply

I would like to be able to use some other prefix than "Issue" as the tracker page name prefix. This is for two reasons : Firstly i'm not using the tracker to "track" "issues" but to allow people to propose improvements in a quality control system, secondly this is in France and I would rather have a french prefix. The glossary seems to suggest that this is possible but I can't find any mention of how or where. I quote - "By default this is triggered by the page name - a zwiki page with a freeform name like '[IssueNoNNNN issue description]?' is treated as an issue page." (my emphasis) http://zwiki.org/ZwikiGlossary The only code affected as far as I can see is in tracker.py and issuetracker.dtml both of which have "IssueNo?" hard coded into them. (which tends to scotch the idea that it's user selectable) Couldn't this prefix be made a configuration option?

Use of prefix "Issue" for page names --Fri, 19 Mar 2004 11:07:49 -0800 reply

Do you need multiple types of "trackers" in 1 wiki,or would 1 "tracker" per wiki work,then use SubWikis? for different kinds?

Use of prefix "Issue" for page names --Alan Cowderoy, Mon, 22 Mar 2004 06:43:38 -0800 reply

No, I wasn't thinking of multiple trackers in one wiki. One tracker per wiki is fine for me. I would just like the tracker page name prefix to be configurable instead of hard coded. Apart from the question of being able to make the prefix reflect what we are actualy tracking, which may or may not be "Issues", surely there is a localisation problem here as well, page names are never going to be fully localised if they all have to start "IssueNo?".

Use of prefix "Issue" for page names --SimonMichael, Mon, 22 Mar 2004 08:19:12 -0800 reply

Hi Alan - "Issue" was supposed to be a generic label covering all uses. Yes it's hard-coded which is not ideal. It should be only in Tracker.py:isIssue but perhaps other places have crept in. Could you take a look at it and figure out how this should work taking manageability into account ? Should there be a issue_prefix folder property ? Are there other things that need the same treatment ?

Use of prefix "Issue" for page names --SimonMichael, Mon, 22 Mar 2004 08:20:13 -0800 reply

PS I would like to allow things like "page names with only numbers are issues", as well.

Use of prefix "Issue" for page names --Alan Cowderoy, Tue, 23 Mar 2004 05:41:15 -0800 reply

>"Issue" was supposed to be a generic label covering all uses<br> Yes I realised that and for most things it seems fine to me. Having it as a variable would just give more flexibility for very little cost (imho).<br> >It should be only in Tracker.py:isIssue<br> 7 instances in Tracker.py, 1 in Admin.py and a few in the dtml/pt<br> >Could you take a look at it<br> Yes. I'll try and generate a version that uses an issue_prefix folder property instead.<br> (The other possibility is to add a regular expression to Regexps.py. Using folder properties seems more Zope like to me though.) >page names with only numbers are issues<br> Yes, seems a good idea. Do we want to allow only one prefix or should we accept a list of prefixes?<br> >Are there other things that need the same treatment?<br> My immediate reaction is that Category, Severity and Status should go the same way<br>

update --simon, Mon, 24 May 2004 00:55:24 -0700 reply

In theory, this should work: you make an 'isIssue' python script that accepts a wiki page object and returns true if it's an issue. No longer.

Also need to modify the issue properties form dtml.

property change --simon, Mon, 24 May 2004 01:31:11 -0700 reply

Title: 'IssueNo0761? Use of prefix "Issue" for page names' => 'IssueNo0761? different prefix for issue page names'

RFC --Mon, 24 May 2004 03:21:05 -0700 reply

This is now possible by changing pageNameFromIssueNumberAndName and issueNumberAndName in Tracker.py.

Rather than internationalizing and/or allowing the 'IssueNo?' prefix to be tweaked, would just getting rid of it solve the problem ? Ie issue pages begin with a number, or possibly #number:

[#1000 test issue]?

[1001 test]?

property change --Mon, 24 May 2004 03:21:20 -0700 reply

Category: skins and content => tracker

see also --Thu, 14 Oct 2004 10:07:18 -0700 reply

I missed this page when I opened #924 short issue names and links.

property change --simon, Fri, 15 Oct 2004 15:48:57 -0700 reply

Status: open => closed

... --betabug, Wed, 21 Feb 2007 08:25:26 +0000 reply

Name: '#761 clerc' => '#761 different prefix for issue page names' Category: admin-configuring => user-issuetracking Severity: minor => wishlist Status: open => closed