• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6844: Create new web should always copy all topics from template web

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Enhancement Closed   patch 5.1.2

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Current behavior when you create a new web:
  • if based on a TemplateWeb (web name starting with underscore), all topics are copied
  • else if based on a regular web, only system topics starting with Web* are copied
This behavior is only documented in the code, not in the user docs.

I do not see a need to copy only the system topics. A more common use case is to duplicate and customize a whole web, say a project web.

This item tracks the change for the new behavior:

  • All topics are copied, regardless if new web is based on a TemplateWeb or a regular web.
-- TWiki:Main/PeterThoeny - 2012-02-09

This is now in SVN trunk and 5.1 branch.

-- TWiki:Main/PeterThoeny - 2012-02-09

Actually, I discovered that it was documented in ManagingWebs#WebTemplate. Therefore I updated & improved the docs.

-- TWiki:Main/PeterThoeny - 2012-02-09

ItemTemplate
Summary Create new web should always copy all topics from template web
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 5.1.1
SVN Range TWiki-5.1.0, Thu, 26 Jan 2012, build 22596
AppliesTo Engine
Component

Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:22609 TWikirev:22610 TWikirev:22611 TWikirev:22612
TargetRelease patch
ReleasedIn 5.1.2
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2012-10-07 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback