PmWiki (deutsch)


Englisch:

HomePage

Bilder

Meine Familie

! Login

Editier Variablen

<< | Variablen? | >>

noch zu übersetzen

$EnablePostAuthorRequired
When set to '1', posting of pages requires the author to provide an author name (see AuthorTracking). Otherwise, authors can post without a name.
        # require authors to provide a name
        $EnablePostAuthorRequired = 1; 
$DeleteKeyPattern
The pattern used to determine if a page should be deleted. The default is to remove pages that contain only the single word "delete" (and optional spaces).
        # change delete word to "remove"
        $DeleteKeyPattern = "^\ß*remove\ß*$";
        # delete any page with no visible text, i.e., empty
        $DeleteKeyPattern = "^\ß*$";
$DefaultPageTextFmt
The text that should be displayed when editing or browsing non-existent pages.
        $DefaultPageTextFmt = 'Page $Name does not exist';
$EditFunctions
This array contains all the function names that are called when you edit a page (in the same order). It could be used to perform some additional or own functions just by adding another (own) function name. Standard setting is (see pmwiki.php):
        $EditFunctions = array('RestorePage','ReplaceOnSave','SaveAttributes',
  'PostPage','PostRecentChanges','PreviewPage'); 
$ROSPatterns
With this array you can give a pattern as key and a text which should replace it when saving an edited text. The following example replaces every occurence of [[test:sometext with [[special:--sometext when you save an edited page.
        # Replace text on Save (add pattern and replacement to array $ROSPatterns)
        $ROSPatterns["/\\[\\[test:([^\ß$UrlExcludeChars]*)/"] = "[[special:--\$1";
$IsPagePosted
$PageEditFmt
$PagePreviewFmt
$HandleEditFmt
$EnablePostAuthorRequired

With this variable set to "1" posting an edit of a page is only possible when an author is given. Default setting is "0".


Originalseite auf PmWikiDe.EditierVariablen - Backlinks
Zuletzt geändert:
PmWikiDe.EditierVariablen am 21.12.2004

Zuletzt geändert am 21.12.2004 00:23 von HansB view (q) · edit (w) · attr (e) · attach (a) · print (s) · history (d)
Seitenversionsnummer: 0 search (x) · changes (c) · attr (1) · header (2) · footer (3) · sidebar (4)
Powered by PmWiki