Fossil

View Ticket
Login

View Ticket

Ticket Hash: 897c39d28408da2ef2d475e9e69bf0f3bc240098
Title: Wiki name restriction
Status: Closed Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Fixed
Last Modified: 2013-12-17 12:29:37
Version Found In: 1.24
Description:
On Sun, Oct 21, 2012 at 3:12 AM, K <k@lightpowered.org> wrote:

Hello,
I'm new to Fossil.
I'm beginning a project with Fossil, a command program. It'll be used on Unix-like systems. The name is 2 characters in length. During the set up of my repository I gave its project name and now see the following error on my index wiki page:
****
The wiki name "kk" is not well-formed. Rules for wiki page names:
Must not begin or end with a space. Must not contain any control characters, including tab or newline. Must not have two or more spaces in a row internally. Must be between 3 and 100 characters in length.
****
Is someone able to explain to me why there is a 3-character minimum to wiki names? This seems to me like a strange arbitrary constraint to impose.

The minimum-3-chararacter rule is subjective. When I wrote Fossil (6 years ago) it never occurred to me that anybody would want a wiki page name of less than 3 characters.

The patch to relax that rule should be trivial.

User Comments:
jan.nijtmans added on 2013-12-17 12:29:37:

Fixed in [b7ff13a0aa], will be in Fossil 1.28