Tags:
create new tag
view all tags

Feature Proposals » beforeCreateWebHandler and afterCreateWebHandler in plugins

Summary

Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
AcceptedProposal HideyoImazu AcceptedBy7DayFeedbackPeriod 2020-10-09   TWikibug:Item7920 LimaRelease

Edit Form

TopicSummary:
CurrentState:
CommittedDeveloper:
ReasonForDecision:
DateOfCommitment:   Format: YYYY-MM-DD
ConcernRaisedBy:
BugTracking:
OutstandingIssues:
RelatedTopics:
InterestedParties:
ProposedFor:
TWikiContributors:
 

Motivation

I'm writing a plugin which needs to take action a) before and after web creation; and b) after web rename.

Description and Documentation

Given beforeSaveHandler, afterSaveHandler, afterRenameHandler, etc. are dispatched from TWiki::Store, beforeCreateWebHandler and afterCreateWebHandler are supposed to be dispatched from TWiki::Store too. More specifically from TWiki::Store::createWeb().

There is no need for afterRenameWebHandler because a web rename triggers afterRenameHandler.

Examples

Impact

Implementation

-- Contributors: Hideyo Imazu - 2020-10-09

Discussion

Sounds like a sensible enhancement to me.

-- Peter Thoeny - 2020-10-09

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2020-11-06 - HideyoImazu
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.