r12 - 28 May 2007 - 01:08:05 - ArthurClemensYou are here: TWiki >  Codev Web > ChangeProposal > FeatureRequest > AddGlobalSettingToAllowNonWikiWords
Tags:
linking 1 Add my vote for this tag, , create new tag

Feature Proposal: Add global setting to allow non-WikiWords

Motivation

  • TWiki allows to work with topic names that are non-wiki words - they are just not linked automatically
  • A global setting even allows to disable autolinking (NOAUTOLINK)
  • I want to teach my users to use bracket notation only
  • Yet every instance of topic creation/renaming has a warning and a checkbox to explicitely allow non-wikiwords

Description and Documentation

Of course I could create a subskin to remove all warnings. But it would be cumbersome, for me only, and it would still leave TWiki with this duality.

  • I propose to create a global setting, HIDE_NON_WIKI_WORD_WARNINGS = "on" to remove warnings and checkboxes.
  • Templates like WebTopicCreator and renamebase.tmpl get a conditional check %IF{"$ HIDE_NON_WIKI_WORD_WARNINGS!='on'" then="show warning"}%

Implementation

-- Contributors: ArthurClemens

Discussion

Release meeting agreed with the proposal but felt that only 2 days to give people a chance to read it was a bit too little. So if noone has anything to say against it the next days we have a positive decision.

-- KennethLavrsen - 07 May 2007

FreetownReleaseMeeting2007x05x07 discussed proposal but it was only 2 days old and people need a few extra days to read it. Will most likely be accepted.

-- KennethLavrsen - 07 May 2007

I think this is a nobrainer. I welcome better support for non-WikiWord linking, with this MediaWiki users feel more at home. There are actually a number of bugs that need to be fixed to make TWiki work with autolinking turned off, see Bugs:Item3681.

-- PeterThoeny - 08 May 2007

Arthur, please don't add another global setting, unless you intend it to be overridden at the web and/or topic level. TWiki preferences are performance-eaters. It's much better if you can use configure.

Note that you can check the value of configure constants using %IF.

-- CrawfordCurrie - 08 May 2007

This would be used globally, so can be set in configure. Should I put this in TWiki.spec?

-- ArthurClemens - 08 May 2007

Crawford: "Note that you can check the value of configure constants using %IF." As far as I know there's still an hardwired subset of configuration items which are available as TWiki variables, and only this subset can be queried by skins. Having such a setting in configure requires one (still trivial) added line in TWiki.pm.

-- HaraldJoerg - 08 May 2007

For consistency with the existing NOAUTOLINK it would be better to add the HIDE_NON_WIKI_WORD_WARNINGS to TWiki.TWikiPreferences.

I have TWiki sites where just the Publish web has NOAUTOLINK WebPreferences setting set. I'd like to do the same for HIDE_NON_WIKI_WORD_WARNINGS.

-- PeterThoeny - 08 May 2007

Someone chose to put this ready for release meeting. In principle it was accepted by 14 day rule but Peter's proposal for the name is a concern (remember to put your name in the ConcernRaiseBy? if you want to stop the clock) but hopefully a release meeting decision can clear things.

-- KennethLavrsen - 21 May 2007

Agreement to add HIDE_NON_WIKI_WORD_WARNINGS to TWiki.TWikiPreferences. All agreed at FreetownReleaseMeeting2007x05x21

Implemented: Bugs:Item4150.

-- ArthurClemens - 28 May 2007

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r12 < r11 < r10 < r9 < r8 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo