| Current State: | Developer: | Reason: | Date: | Concerns By: | Bug Tracking: | Proposed For: |
|---|---|---|---|---|---|---|
| MergedToCore | HideyoImazu | AcceptedByReleaseMeeting | 2017年05月31日 | TWikibug:Item7816 | KampalaRelease |
excludetopic parameter to the createweb action of the manage script. The excludetopic parameter will work just like the same parameter of SEARCH{}.
Let's assume data topics are named AppPrefixAUTOINC0. In that case, AppPrefixTemplate and AppPrefixForm topics are likely there. If so, AppPrefeixTemplate and AppPrefixForm need to be made exception of the exclusion.
Besides, WebPreferences must exist for a web to be recognized by TWiki.
To avoid some topics to be excluded, the excludeexception parameter will be used, whose default value will be specified by %CREATE_WEB_EXCLUDE_EXCEPTION%.
The excludeexception parameter's value will be in the same format as excludetopic.
As such, TWiki.TWikiPreferences will have:
* Set CREATE_WEB_EXCLUDE_EXCEPTION = *Template, *Form, WebPreferencesThe following row will be added to the new web creation form on ManagingWebs.
| Exclude Topic: | Enter comma separated list of topics to exclude from the template web. For example, Data* excludes all topics whose name starts with Data. Specify exception (you don't need to change most of the time) toggleopen.gif Hide exception toggleclose.gif e.g. if *Form is specified as exception, DataForm is copied even if Data* is specified to be excluded. |
|
|---|---|---|
Data*
AppPrefix* entry to exclude all data topics from being copied over.
Two minor caveats: Care must be taken by the creator of the new web that the EXCLUDE entries don't per accident exclude topics like AppPrefixForm and AppPrefixTemplate which are needed to run the application, and by the programmer that "mandatory" topics (in particular WebPreferences) are not excluded.
-- Harald Jörg - 2017年06月02日
Thank you for pointing out about *Form, *Template, and WebPreferences. I modified the proposal accordingly.
-- Hideyo Imazu - 2017年06月05日
| ChangeProposalForm | |
|---|---|
| TopicClassification | FeatureRequest |
| TopicSummary | Excluding specified topics when creating a new web |
| CurrentState | MergedToCore |
| CommittedDeveloper | HideyoImazu |
| ReasonForDecision | AcceptedByReleaseMeeting |
| DateOfCommitment | 2017年05月31日 |
| ConcernRaisedBy | |
| BugTracking | TWikibug:Item7816 |
| OutstandingIssues | |
| RelatedTopics | |
| InterestedParties | |
| ProposedFor | KampalaRelease |
| TWikiContributors | |