Description

WikiNames are sometimes displayed with spaces and sometimes without.

While I see a space in all the names in the RecentChanges, I don't see it in this text ForExample. This is always ForExample.

Example

WikiName displayed in this page as WikiName, in RecentChanges, as Wiki Name

Details

MoinMoin 1.2 and later

Workaround

Discussion

Its no bug. Wiki names uses the users preferences "Add spaces to displayed wiki names".

RecentChanges is a special case, because the table tends to be too wide, the names are displayed with spaces so they can wrap. This does look strange and inconsistent, but with the current design of RC we must use this. -- NirSoffer 2004-12-23 01:52:56

Then it is a bug in "Add spaces to displayed wiki names". This is enabled already. -- ReimarBauer 2004-12-23 09:39:05

Indeed, they are not using the user interface settings.

I think we should completely remove this setting and do no magic with WikiNames (except when necessary for breaking long lines, as long as html and css offers no better method).

It is just silly to think that some code can automatically decide where to put blanks.

We should change to render all those as a link with blanks:

-- ThomasWaldmann 2004-12-23 17:47:59

The only problem I see is caching, which I guess is responsible to this bug. Instead of rendering links as static html, we have to render them as formatter call that should check the user pref and split wiki names and add spaces.

About the other links, Wiki_Name is not a link - we don't have this syntax, and we don't need it. Wiki_Name is not needed, as you can write in the natural way Wiki Name.

-- NirSoffer 2004-12-23 17:59:18

This option is very good for hiding the fact that there is a wiki behind the scenes. Even if it does not work for languages without WikiNames, we should keep it.

We should consider to move this option from user preferences to wiki config in 1.4. -- NirSoffer 2005-01-05 11:02:48

I removed those split calls in 1.4. RC will still get some blanks for making it breakable. If you want to have blanks elsewhere, rename the page to have a blank in its name. -- ThomasWaldmann 2005-01-09 23:54:19

Just wanted to say I'd be disappointed if the ability to add spaces to displayed wiki names was removed. When using a Wiki where the majority of people are not contributers, displaying spaces in the names is a useful feature for new users. -- NathanOsullivan 2005-10-13 04:12:00

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/AddSpacesToWikiNames (last edited 2007-10-29 19:06:20 by localhost)