create new tag
, view all tags

Feature Proposal: Make TWiki::UI::Save::_save available outside of its module


When implementing savemulti for SectionalEditPlugin, I found that the TWiki::UI::Save package was very easy to reuse, where in the previous versions of TWiki large portions of code had to be duplicated.

However, this reuse hinges on the fact that I called TWiki::UI::Save::_save from outside of this package. There is a warning in the code related to that subroutine stating that

# Private - do not call outside this module!

In order to support reuse, I request that this subroutine is made public. Any plugin that needs to modify how text is edited and subsequently saved and uses the savemulti style will need access to TWiki::UI::Save::_save.


Really nothing is required other than freezing the API of this function.

Impact and Available Solutions


I will add documentation if feature is accepted.


See SectionalEditPlugin.


The interface to Store has been heavily reworked, and includes simple methods for saving topics. On the assumption that this is what's needed I'm setting this to "done".

-- CrawfordCurrie - 13 Feb 2005


Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-02-13 - CrawfordCurrie
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.