- Situation 1: Type in the word 'Bla' in the Jump field or in the browser address bar. I will get the "NOTE: This Wiki topic does not exist yet" page, with the warning "This topic name is not recommended because it will not be linked automatically". But I cannot create the topic!
- Situation 2: I write
[[Bla]] in a topic, and the question mark appears. When I click the question mark, the topic is created and I go to the new topic edit page.
- Situaton 3: I visit WebTopicCreator, and enter 'Bla', I get returned to the "NOTE: This Wiki topic does not exist yet" page, and cannot create the page.
- Situation 4: topic BlaBla exists, and I want to rename it to 'Bla'. Via More > Rename I can check the "Allow non WikiWord for the new topic name" checkbox. So I can create (rename) the topic.
This inconsistency is confusing and belittling. I suggest to allow the non-wikiword on all pages (but keep the warnings, and just introduce the checkbox everywhere).
Unfortunately, we only have the edit script parameter
and its value is exactly opposite to the checkbox value "allow non-wikiword".
Sounds reasonable trying to sync this. I guess what's making the difference above, is the amount of "intention" available / builded before trying to create page.
as topic name", "Enforce WikiWord
- Of course arguing for a adding a logically reverted parameter for the edit script wouldn't be that hard either.
Worse is that
merely has to exist, even with
to prevent going to edit. This is because the value of
is not evaluated on boolean value, only on existence.
But still if we fix this there are 2 scenarios:
form.onlywikiname.value = (form.nonwikiword.value = "on") ? "off" : "on";=
- Create a new form parameter
allowsnonwikiword to attach to the checkbox.
Obviously scenario 2 is easiest to implement across all topics that use a create
form (there are quite some).
As a first step, TWiki now evaluates the boolean value: SVN 9458 (TWiki 4) and 9459 (Develop).
As a second step, WebTopicCreator
I've added a 'create topic' form to WebTopicViewTemplate
to allow users to create non-wikiword topics. This means that on all topic creation/renaming pages users now have the option to create a non-wikiword topic.