r6 - 04 May 2006 - 00:53:30 - SamHaslerYou are here: TWiki >  Codev Web > CodevDocumentationProject > SaveCgiScript
Tags:
, create new tag
Module name save SaveCgiScript
Location TWIKIROOT/bin/save
Summary When user saves changes, this writes changes to the data store
Primary Author PeterThoeny

CVS history http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/twiki/twiki/bin/save
CVS alpha http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/twiki/twiki/bin/save?rev=HEAD&content-type=text/vnd.viewcvs-markup
Contributing authors (see CVS History)
IsClass? NO
First TWikiRelease to be filled out

Purpose

This SlimCgiScript? commits changes at the end of the EditPreviewViewWorkflow

Used by

One of:

  • This script is part of the following CgiScriptWorkflow? : EditPreviewViewWorkflow
  • This cgi script is invoked by the user when they have finished previewing.

Diagram:

TWiki Modules used

This CGI script depends on the following TWiki modules for functionality:

External Modules used

This CGI script also depends on the following external modules:

PublicMethods?

This section lists the methods that can be used by the scripts and by other modules
  • none

PrivateMethods?

These do not need to be not documented yet

Please see CodevDocumentationProject and CodevDocumentationProjectDev for comments on the format of these pages.

-- MartinCleaver - 23 Jun 2002

For the plugins and skins that have bypassed this preview, is this script still called? What are save's preconditions? Are they being met?

-- MartinCleaver - 24 Jun 2002

params: (standard +) newtopic

%CODE{"perl"}%

sub save

    # wikiUserName

    # check permission for undocumented cmd=... parameter

    # get text and other parameters ( text, templatetopic, unlock, dontNotify )

    # check if proper use of save script ( text, empty text (empty text error should go away --wbniv) )

    # submitChangeForm: changeForm, return
    
    # decodeSpecialChars

    # repRev / topicparent, forms

    # saveTopic, error checking
%ENDCODE%


I'm looking for somewhere that documents the url parameters that the save script accepts. Should it be documented here of should there be a SaveDotPm topic?

-- SamHasler - 03 Sep 2004

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r6 < r5 < r4 < r3 < r2 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo