UserSubwebs are subwebs of the Main web, hence are affected by Main.WebPreferences. This is natural in terms of how subwebs work in general, but may be inconvenient for users because user subwebs are affected by changes made to Main.WebPreferences.
As such, there should be an option for user subwebs to ignore Main.WebPreferences.
Meanwhile, the following configuration parameters have been used to specify user subwebs' behavior.
-
$TWiki::cfg{EnableUserSubwebs}
(boolean)
-
$TWiki::cfg{UserPrefsTopicName}
(string)
For consistency and clarity, the following parameters are more desirable.
-
$TWiki::cfg{UserSubwebs}{Enabled}
-
$TWiki::cfg{UserSubwebs}{UserPrefsTopicName}
And whether or not user subwebs to ignore %USERSWEB%.WebPreferences shall be specified by
-
$TWiki::cfg{UserSubwebs}{IgnoreParentPrefs}
(boolean)
Above all,
$TWiki::cfg{UserSubwebs}{Enabled}
,
$TWiki::cfg{UserSubwebs}{UserPrefsTopicName}
, and
$TWiki::cfg{UserSubwebs}{IgnoreParentPrefs}
need to have their default value set in lib/TWiki.spec.
--
TWiki:Main/HideyoImazu
- 2013-04-12