PlomWiki: Zur Start-Seite Suche Letzte Änderungen (Feed) Letzte Kommentare (Feed)
Impressum Datenschutz-Erklärung

Versions-Geschichte: "WikiQuellCodeLocalConfigPhp"

Ansicht Bearbeiten Anzeige-Titel setzen Versions-Geschichte Seiten-Passwort setzen AutoLink-Anzeige ein-/ausschalten
2011-03-22 03:29:24 (rückgängig machen): ? (Anonymous):
0a1,2
+ [/Als dieses Wiki statt Kommentaren noch Diskussionsseiten hatte, entstand zu dieser Seite eine [[Seitendiskussion]]: [[Seitendiskussion-WikiQuellCodeLocalConfigPhp]]/]
+ 
2011-03-22 02:35:12 (rückgängig machen): GlobalReplace: %3c to < (Admin):
4c4
- %3c?php if (!defined('PmWiki')) exit();
+ <?php if (!defined('PmWiki')) exit();
30c30
- $WikiTitle = 'plomlompom';                                                                          # To be prepended to every page's name in %3chead>%3ctitle>%3c/title>%3c/head>
+ $WikiTitle = 'plomlompom';                                                                          # To be prepended to every page's name in <head><title></title></head>
2010-07-30 02:13:37 (rückgängig machen): (plomlompom):
1c1
- Snapshot der Anpassungen in der config.php des plomlompom-MindWiki (siehe WikiQuellCode):
+ Snapshot der config.php des plomlompom-MindWiki (siehe WikiQuellCode):
5,6d4
- ##  $WikiTitle is the name that appears in the browser's title bar.
- $WikiTitle = 'plomlompom';
8,11c6
- ## If you want to have a custom skin, then set $Skin to the name
- ## of the directory (in pub/skins/) that contains your skin files.
- ## See PmWiki.Skins and Cookbook.Skins.
- $Skin = 'plomlompom';
+ include_once($FarmD.'/scripts/xlpage-utf-8.php');                                                   # Activate PmWiki's UTF-8 support. Not sure how well it works.
13,21c8
- ## You'll probably want to set an administrative password that you
- ## can use to get into password-protected pages.  Also, by default 
- ## the "attr" passwords for the PmWiki and Main groups are locked, so
- ## an admin password is a good way to unlock those.  See PmWiki.Passwords
- ## and PmWiki.PasswordsAdmin.
- # $DefaultPasswords['admin'] = crypt('secret');
- $DefaultPasswords['admin'] = ZENSIERT;
- $DefaultPasswords['edit'] = ZENSIERT;
- $DefaultPasswords['attr'] = ZENSIERT;
+ if ($action == 'rss') include_once($FarmD.'/scripts/feeds.php');                                    # Include feeds.php if current page is called by [URL]?action=rss.
23,24c10
- ## Unicode (UTF-8) allows the display of all languages and all alphabets.
- include_once("scripts/xlpage-utf-8.php");
+ XLPage('de','PmWikiDe.XLPage');                                                                     # Germanization file. Re-encode and set 'charset=' to UTF-8 by hand.
26,28c12,13
- ##  PmWiki comes with graphical user interface buttons for editing;
- ##  to enable these buttons, set $EnableGUIButtons to 1.  
- $EnableGUIButtons = 1;
+ $DefaultPasswords['admin']=GEHEIM;                                                                  # Set the default passwords for all admin and page editing actions.
+ $DefaultPasswords['edit'] =GEHEIM;                                                                  # Here, they're the same, so per default only the admin can edit.
30,35c15,26
- ##  The feeds.php script enables ?action=rss, ?action=atom, ?action=rdf,
- ##  and ?action=dc, for generation of syndication feeds in various formats.
- if ($action == 'rss')  include_once("scripts/feeds.php");  # RSS 2.0
- # if ($action == 'atom') include_once("scripts/feeds.php");  # Atom 1.0
- # if ($action == 'dc')   include_once("scripts/feeds.php");  # Dublin Core
- # if ($action == 'rdf')  include_once("scripts/feeds.php");  # RSS 1.0
+ $ISO88591MakePageNamePatterns = array(       '/Á/' => 'A',  '/Â/' => 'A',  '/Ã/' => 'A',            # $MakePageNamePatterns provides conversion rules for strings to
+ '/Ä/' => 'Ae', '/Å/' => 'Ao', '/Æ/' => 'Ae', '/Ç/' => 'C',  '/È/' => 'E',  '/É/' => 'E',            # pagenames used by PmWiki's MakePageName(). Its extension to the left
+ '/Ê/' => 'E',  '/Ë/' => 'E',  '/Ì/' => 'I',  '/Í/' => 'I',  '/Î/' => 'I',  '/Ï/' => 'I',            # translates common special characters of Western European languages
+ '/Ð/' => 'D',  '/Ñ/' => 'N',  '/Ú/' => 'U',  '/Ó/' => 'O',  '/Ô/' => 'O',  '/Õ/' => 'O',            # into ASCII characters. This wiki uses UTF-8 and not ISO-8859-1 page
+ '/Ö/' => 'Oe', '/Ø/' => 'Oe', '/Ù/' => 'U',  '/Ú/' => 'U',	'/Û/' => 'U',  '/Ü/' => 'Ue',       # encoding; still, the latter's character set provides a good
+ '/Ý/' => 'Y',  '/Þ/' => 'Th', '/ß/' => 'ss', '/à/' => 'a',	'/á/' => 'a',  '/â/' => 'a',        # selection (out of UTF-8's much larger set) of special characters to
+ '/ã/' => 'a',  '/ä/' => 'ae', '/å/' => 'ao', '/æ/' => 'ae',	'/ç/' => 'c',  '/è/' => 'e',        # expect on a website such as this. Table taken from:
+ '/é/' => 'e',  '/ê/' => 'e',  '/ë/' => 'e',  '/ì/' => 'i',	'/í/' => 'i',  '/î/' => 'i',        # http://pmwiki.org/wiki/Cookbook/ISO8859MakePageNamePatterns
+ '/ï/' => 'i',  '/ð/' => 'd',  '/ñ/' => 'n',  '/ò/' => 'o',	'/ó/' => 'o',  '/ô/' => 'o',        # Notice that $MakePageNamePatterns has already been populated by the
+ '/õ/' => 'o',  '/ö/' => 'oe', '/ø/' => 'oe', '/ù/' => 'u',	'/ú/' => 'u',  '/û/' => 'u',        # xlpage-utf-8.php included above; else, we would have to additionally
+ '/ü/' => 'ue', '/ý/' => 'y',  '/þ/' => 'th', '/ÿ/' => 'y');                                         # provide some standard conversion patterns added by MakePageName()
+ $MakePageNamePatterns = array_merge($ISO88591MakePageNamePatterns, $MakePageNamePatterns);          # itself only if it encounters an empty $MakePageNamePatterns.
37,41c28
- ##  In the 2.2.0-beta series, {$var} page variables are absolute by
- ##  default, but a future version will make them relative.  This setting
- ##  sets them out as relative to begin with.  (If you're starting a new
- ##  site, it's probably best to leave this setting alone.)
- $EnableRelativePageVars = 1;
+ $EnablePostAuthorRequired = 1;                                                                      # The authorship field must be filled out for every page update.
43,61c30
- ##  The following lines make additional editing buttons appear in the
- ##  edit page for subheadings, lists, tables, etc.
- $GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
-                     '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
- $GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
-                     '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
- $GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented text]',
-                     '$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
- $GUIButtons['outdent'] = array(510, '\\n-%3c', '\\n', '$[Hanging indent]',
-                     '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"');
- $GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
-                     '$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
- $GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
-                     '$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
- $GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
-                     '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"');
- $GUIButtons['table'] = array(600,
-                       '||border=1 width=80%25\\n||!Hdr ||!Hdr ||!Hdr ||\\n||     ||     ||     ||\\n||     ||     ||     ||\\n', '', '', 
-                     '$GUIButtonDirUrlFmt/table.gif"$[Table]"');
+ $WikiTitle = 'plomlompom';                                                                          # To be prepended to every page's name in %3chead>%3ctitle>%3c/title>%3c/head>
63,64c32
- # Germanization
- XLPage('de','PmWikiDe.XLPage');
+ $Skin = 'plomlompom';                                                                               # To be found in /pub/skins/plomlompom
66,68c34
- # To create backlinks from Diskussionsseiten to the page discussed, the first hyphen is translated into a dot
- # Notice that this only works if group names do not contain a hyphen!
- $FmtPV['$BaseName'] = 'preg_replace("/-/", ".", $name, 1)';
+ $AuthPromptFmt = array(&$PageStartFmt, 'page:{$Group}.AuthForm $SiteGroup.AuthForm', &$PageEndFmt); # Per-group AuthForm via http://www.pmwiki.org/wiki/Cookbook/CustomAuthForm
70,89c36,38
- # forces filling out of the authorship field
- $EnablePostAuthorRequired = 1;
- 
- # allow customized auth form pages per group
- $AuthPromptFmt = array(&$PageStartFmt, 'page:{$Group}.AuthForm $SiteGroup.AuthForm', &$PageEndFmt);
- 
- # for changing umlaut URLs:
- # additonal character conversion patterns for ISO 8859-1 character set
- SDV($ISO88591MakePageNamePatterns, array(
- 	'/Á/' => 'A',	'/Â/' => 'A',	'/Ã/' => 'A',	'/Ä/' => 'Ae',	'/Å/' => 'Ao',	'/Æ/' => 'Ae',	'/Ç/' => 'C',
- 	'/È/' => 'E',	'/É/' => 'E',	'/Ê/' => 'E',	'/Ë/' => 'E',	'/Ì/' => 'I',	'/Í/' => 'I',	'/Î/' => 'I',	'/Ï/' => 'I',
- 	'/Ð/' => 'D',	'/Ñ/' => 'N',	'/Ú/' => 'U',	'/Ó/' => 'O',	'/Ô/' => 'O',	'/Õ/' => 'O',	'/Ö/' => 'Oe',	'/Ø/' => 'Oe',
- 	'/Ù/' => 'U',	'/Ú/' => 'U',	'/Û/' => 'U',	'/Ü/' => 'Ue',	'/Ý/' => 'Y',	'/Þ/' => 'Th',	'/ß/' => 'ss',
- 	'/à/' => 'a',	'/á/' => 'a',	'/â/' => 'a',	'/ã/' => 'a',	'/ä/' => 'ae',	'/å/' => 'ao',	'/æ/' => 'ae',	'/ç/' => 'c',
- 	'/è/' => 'e',	'/é/' => 'e',	'/ê/' => 'e',	'/ë/' => 'e',	'/ì/' => 'i',	'/í/' => 'i',	'/î/' => 'i',	'/ï/' => 'i',
- 	'/ð/' => 'd',	'/ñ/' => 'n',	'/ò/' => 'o',	'/ó/' => 'o',	'/ô/' => 'o',	'/õ/' => 'o',	'/ö/' => 'oe',	'/ø/' => 'oe',
- 	'/ù/' => 'u',	'/ú/' => 'u',	'/û/' => 'u',	'/ü/' => 'ue',	'/ý/' => 'y',	'/þ/' => 'th',	'/ÿ/' => 'y'
- ));
- # join to standard patterns
- $MakePageNamePatterns = array_merge($ISO88591MakePageNamePatterns, $MakePageNamePatterns);
+ $FmtPV['$BaseName'] = 'str_replace("-", ".", $name)';                                               # Create return link from comment pages of form "Comments.Group-Page"
+                                                                                                     # by translating back to "Group.Page". Expects hyphen-less groupnames.
+                                                                                                     # Line taken from: http://www.pmwiki.org/wiki/Cookbook/CommentPageLink
2010-06-03 04:05:46 (rückgängig machen): (plomlompom):
91,99d90
- # Markup to allow for html code, taken from http://www.pmwiki.org/wiki/Cookbook/JavaScript-Editable
- Markup(
-        'html',
-        'fulltext',
-        '/\\(:html:\\)(.*?)\\(:htmlend:\\)/mesi',
-        "Keep(str_replace(array('&lt;', '&gt;', '&amp;'), array('%3c', '>', '&'),
-        PSS('$1')))"
- );
- 
2010-06-03 03:59:21 (rückgängig machen): (plomlompom):
91,92d90
- @]
- 
100a99,100
+ 
+ @]
2010-06-03 03:59:03 (rückgängig machen): (plomlompom):
91a92,100
+ 
+ # Markup to allow for html code, taken from http://www.pmwiki.org/wiki/Cookbook/JavaScript-Editable
+ Markup(
+        'html',
+        'fulltext',
+        '/\\(:html:\\)(.*?)\\(:htmlend:\\)/mesi',
+        "Keep(str_replace(array('&lt;', '&gt;', '&amp;'), array('%3c', '>', '&'),
+        PSS('$1')))"
+ );
2009-12-14 15:40:12 (rückgängig machen): (plomlompom):
0a1,91
+ Snapshot der Anpassungen in der config.php des plomlompom-MindWiki (siehe WikiQuellCode):
+ 
+ [@
+ %3c?php if (!defined('PmWiki')) exit();
+ ##  $WikiTitle is the name that appears in the browser's title bar.
+ $WikiTitle = 'plomlompom';
+ 
+ ## If you want to have a custom skin, then set $Skin to the name
+ ## of the directory (in pub/skins/) that contains your skin files.
+ ## See PmWiki.Skins and Cookbook.Skins.
+ $Skin = 'plomlompom';
+ 
+ ## You'll probably want to set an administrative password that you
+ ## can use to get into password-protected pages.  Also, by default 
+ ## the "attr" passwords for the PmWiki and Main groups are locked, so
+ ## an admin password is a good way to unlock those.  See PmWiki.Passwords
+ ## and PmWiki.PasswordsAdmin.
+ # $DefaultPasswords['admin'] = crypt('secret');
+ $DefaultPasswords['admin'] = ZENSIERT;
+ $DefaultPasswords['edit'] = ZENSIERT;
+ $DefaultPasswords['attr'] = ZENSIERT;
+ 
+ ## Unicode (UTF-8) allows the display of all languages and all alphabets.
+ include_once("scripts/xlpage-utf-8.php");
+ 
+ ##  PmWiki comes with graphical user interface buttons for editing;
+ ##  to enable these buttons, set $EnableGUIButtons to 1.  
+ $EnableGUIButtons = 1;
+ 
+ ##  The feeds.php script enables ?action=rss, ?action=atom, ?action=rdf,
+ ##  and ?action=dc, for generation of syndication feeds in various formats.
+ if ($action == 'rss')  include_once("scripts/feeds.php");  # RSS 2.0
+ # if ($action == 'atom') include_once("scripts/feeds.php");  # Atom 1.0
+ # if ($action == 'dc')   include_once("scripts/feeds.php");  # Dublin Core
+ # if ($action == 'rdf')  include_once("scripts/feeds.php");  # RSS 1.0
+ 
+ ##  In the 2.2.0-beta series, {$var} page variables are absolute by
+ ##  default, but a future version will make them relative.  This setting
+ ##  sets them out as relative to begin with.  (If you're starting a new
+ ##  site, it's probably best to leave this setting alone.)
+ $EnableRelativePageVars = 1;
+ 
+ ##  The following lines make additional editing buttons appear in the
+ ##  edit page for subheadings, lists, tables, etc.
+ $GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
+                     '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
+ $GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
+                     '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
+ $GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented text]',
+                     '$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
+ $GUIButtons['outdent'] = array(510, '\\n-%3c', '\\n', '$[Hanging indent]',
+                     '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"');
+ $GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
+                     '$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
+ $GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
+                     '$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
+ $GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
+                     '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"');
+ $GUIButtons['table'] = array(600,
+                       '||border=1 width=80%25\\n||!Hdr ||!Hdr ||!Hdr ||\\n||     ||     ||     ||\\n||     ||     ||     ||\\n', '', '', 
+                     '$GUIButtonDirUrlFmt/table.gif"$[Table]"');
+ 
+ # Germanization
+ XLPage('de','PmWikiDe.XLPage');
+ 
+ # To create backlinks from Diskussionsseiten to the page discussed, the first hyphen is translated into a dot
+ # Notice that this only works if group names do not contain a hyphen!
+ $FmtPV['$BaseName'] = 'preg_replace("/-/", ".", $name, 1)';
+ 
+ # forces filling out of the authorship field
+ $EnablePostAuthorRequired = 1;
+ 
+ # allow customized auth form pages per group
+ $AuthPromptFmt = array(&$PageStartFmt, 'page:{$Group}.AuthForm $SiteGroup.AuthForm', &$PageEndFmt);
+ 
+ # for changing umlaut URLs:
+ # additonal character conversion patterns for ISO 8859-1 character set
+ SDV($ISO88591MakePageNamePatterns, array(
+ 	'/Á/' => 'A',	'/Â/' => 'A',	'/Ã/' => 'A',	'/Ä/' => 'Ae',	'/Å/' => 'Ao',	'/Æ/' => 'Ae',	'/Ç/' => 'C',
+ 	'/È/' => 'E',	'/É/' => 'E',	'/Ê/' => 'E',	'/Ë/' => 'E',	'/Ì/' => 'I',	'/Í/' => 'I',	'/Î/' => 'I',	'/Ï/' => 'I',
+ 	'/Ð/' => 'D',	'/Ñ/' => 'N',	'/Ú/' => 'U',	'/Ó/' => 'O',	'/Ô/' => 'O',	'/Õ/' => 'O',	'/Ö/' => 'Oe',	'/Ø/' => 'Oe',
+ 	'/Ù/' => 'U',	'/Ú/' => 'U',	'/Û/' => 'U',	'/Ü/' => 'Ue',	'/Ý/' => 'Y',	'/Þ/' => 'Th',	'/ß/' => 'ss',
+ 	'/à/' => 'a',	'/á/' => 'a',	'/â/' => 'a',	'/ã/' => 'a',	'/ä/' => 'ae',	'/å/' => 'ao',	'/æ/' => 'ae',	'/ç/' => 'c',
+ 	'/è/' => 'e',	'/é/' => 'e',	'/ê/' => 'e',	'/ë/' => 'e',	'/ì/' => 'i',	'/í/' => 'i',	'/î/' => 'i',	'/ï/' => 'i',
+ 	'/ð/' => 'd',	'/ñ/' => 'n',	'/ò/' => 'o',	'/ó/' => 'o',	'/ô/' => 'o',	'/õ/' => 'o',	'/ö/' => 'oe',	'/ø/' => 'oe',
+ 	'/ù/' => 'u',	'/ú/' => 'u',	'/û/' => 'u',	'/ü/' => 'ue',	'/ý/' => 'y',	'/þ/' => 'th',	'/ÿ/' => 'y'
+ ));
+ # join to standard patterns
+ $MakePageNamePatterns = array_merge($ISO88591MakePageNamePatterns, $MakePageNamePatterns);
+ 
+ @]
PlomWiki-Engine lizensiert unter der AGPLv3. Quellcode verfügbar auf GitHub.