Tags:
create new tag
, view all tags
In CreateWebNamesLongerThanTenCharacters GarethEdwards reports:

"The ManagingWebs form in CairoRelease will happily let me create webs of greater than 10 characters long, contrary to the description against the field. Is the text outdated or is the validation not doing it's job?

There's definitely something flaky about the validation, though: if I try to generate a web that's more than 10 characters long and is a WikiWord I get an "oops" message (with misleading text that outlines the old rules for webnaming before WebNameAsWikiName), but if the new name is either less than 10 characters or is not a WikiWord the validation allows the creation of the web."

This has to be tested on Dakar and fixed if naff.

-- CrawfordCurrie - 30 Mar 2005

If this is fixed, please do so in a way such that webs with names that are greater than 10 characters long are allowed.

-- ClaussStrauch - 30 Mar 2005

That is going to produce some interesting results in the WebLeftBar

-- AntonAylward - 31 Mar 2005

I was not aware of the less than 11 character restriction on web names. I have many webs (manually created, as I did not even realize that ManagingWebs exists) that have much longer names.

You are right, though, that if you show the webs in WebLeftBar than this will not be very practical. However, that seems not a good reason to restrict the number of characters in a web name (as users might choose not to put the web links in their WebLeftBar). It does sound like a good reason to give alternate names (aliases) if desired....

-- ThomasWeigert - 31 Mar 2005

all good points, thomas.

i tried using SpreadSheetPlugin to put spaces into the web names (as i'm assuming long web names are WikiWord names like HowToThinkLikeAComputerScientistUsingLua), but it doesn't display with spaces... i don't know why it doesn't work. frown

Index: WebLeftBarWebsList.txt
===================================================================
--- WebLeftBarWebsList.txt      (revision 3943)
+++ WebLeftBarWebsList.txt      (working copy)
@@ -5,5 +5,5 @@
 ---+ Webs
 -->
        * *Webs*
-%WEBLIST{"<span style=\"background-color: %$markerVAR{\"WEBBGCOLOR\" web=$qname}$marker%\">  </span> <b><a href=\"%SCRIPTURL%/view%SCRIPTSUFFIX%/$name/%HOMETOPIC%\">$name</a></b><br/>"}%
+%WEBLIST{"<span style=\"background-color: %$markerVAR{\"WEBBGCOLOR\" web=$qname}$marker%\">  </span> <b><a href=\"%SCRIPTURL%/view%SCRIPTSUFFIX%/$name/%HOMETOPIC%\">%CALC{"$PROPERSPACE($name)"}%</a></b><br/>"}%
 

-- WillNorris - 31 Mar 2005

In languages other than English, spacings in wikiwords will produce weird results (non-words).

People that have webnames longer than 10 characters AND want to show them in the left bar might want to make the left bar wider.

-- ArthurClemens - 31 Mar 2005

Can anyone explain the origins of the 10 character limitation?

It's moot anyway. Web name validity is defined by TWiki::isValidWebName.

I tidied up the documentation, and the code that uses it while I was there.

-- CrawfordCurrie - 31 Mar 2005

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2005-03-31 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.