beforeSaveHandler($text, $topic, $web, $meta )
-
$text - text with embedded meta-data tags
-
$topic - the name of the topic in the current CGI query
-
$web - the name of the web in the current CGI query
-
$meta - the metadata of the topic being saved, represented by a TWiki::Meta object.
This handler is called each time a topic is saved.
NOTE: meta-data is embedded in
$text (using %META: tags). If you modify
the
$meta object, then it will override any changes to the meta-data
embedded in the text. Modify
either the META in the text
or the
$meta
object, never both. You are recommended to modify the
$meta object rather
than the text, as this approach is proof against changes in the embedded
text format.
Since: TWiki::Plugins::VERSION = '1.010'