PmWiki /
PagelistVariablesPmWiki.PagelistVariables HistoryHide minor edits - Show changes to output March 18, 2011, at 04:02 PM
by - Revert spam
Changed lines 1-61 from:
to:
(:Summary:variables used with [[PmWiki/page lists]] and search results:) :$EnablePageListProtect:When set to 1 (which is the default), causes [@(:pagelist:)@] and [@(:searchresults:)@] to exclude listing any pages for which the browser does not currently have read authorization. Setting this to zero means that read-protected pages can appear in a listing, but can also speed up searches considerably (because page permissions do not need to be checked). :$SearchPatterns:An array of page name patterns to be required or excluded from search and [[PmWiki/PageLists|pagelist]] results. In order to be included in a search listing or page listing, a page's name must not match any pattern that is delimited by exclamation points (!) and must match all other patterns. See [[Cookbook:SearchPatterns]]. --> [@# Limit all searches to Main group $SearchPatterns['default'][] = '/^Main\\./'; # Exclude the Main group from search results $SearchPatterns['default'][] = '!^Main\\.!'; # Exclude RecentChanges pages from search results $SearchPatterns['default'][] = '!\\.(All)?RecentChanges$!'; # Prevent a page from listing itself in (:pagelist:) or (:searchresults:) $SearchPatterns['default'][] = FmtPageName('!^$FullName$!', $pagename); @] :$SearchBoxOpt: --> For example [@ $SearchBoxOpt ['target'] = '$DefaultGroup.Search'; @] :$EnablePageIndex:When set to 1, causes PmWiki to maintain a "link and word index" in $PageIndexFile which significantly speeds up categories, backlinks, and searches. :$PageIndexFile:The location of the "page index" file for [@(:pagelist:)@], defaults to @@$WorkDir/.pageindex@@. :$PageListCacheDir:The name of a writable directory where PmWiki can cache results of [@(:pagelist:)@] directives to speed up subsequent displays of the same list. Default is empty, which disables the pagelist cache. --> [@# Enable pagelist caching in work.d/ $PageListCacheDir = 'work.d/'; @] :$PageSearchForm:The page to be used to format search results for [@?action=search@] (unless the current page has a "searchresults" directive in it). This variable can be an array, in which case the first page found from the array is used. --> [@# Use Search page in current group if it exists, otherwise use Site.Search $PageSearchForm = array('$Group.Search', '[=$[$SiteGroup/Search]=]'); @] :$FPLTemplatePageFmt:The pages to be searched for a pagelist template specified by a [@fmt=#xyz@] parameter. Defaults to searching the current page, [[Site.LocalTemplates]] and [[Site.PageListTemplates]]. --> [@# PMWiki default setup global $FPLTemplatePageFmt; $FPLTemplatePageFmt = array( '{$FullName}', '{$SiteGroup}.LocalTemplates', '{$SiteGroup}.PageListTemplates');@] -> It can be customized to look in other pages. --> [@# Search a Group.Templates page as well as the Site templates global $FPLTemplatePageFmt; $FPLTemplatePageFmt = array( '{$Group}.Templates', '{$SiteGroup}.LocalTemplates', '{$SiteGroup}.PageListTemplates');@] -> Or declare defaults for the template array: --> [@# Search a Group.Templates page as well as the Site templates global $FPLTemplatePageFmt; SDV($FPLTemplatePageFmt, array('{$FullName}', '{$Group}.Templates', '{$SiteGroup}.LocalTemplates', '{$SiteGroup}.PageListTemplates') );@] :$EnableUndefinedTemplateVars: This variable controls how undefined [={$$Variable}=] is processed in [[IncludeOtherPages|includes]] and [[PageList templates]]. If set to 0 (default), undefined [={$$Variable}=]s are removed from the included section or template. If set to 1, undefined [={$$Variable}=]s are displayed as is, with {$$...}. ''Note that PmWiki versions 2.2.13 and earlier '''kept''' unset include/template variables.'' : : @@$EnableUndefinedTemplateVars = 0;@@ # Delete unset raw template variables : : @@$EnableUndefinedTemplateVars = 1;@@ # Keep and print unset raw template variables January 20, 2011, at 01:00 AM
by - TGioxEdtTmSgjRUMz
Changed line 1 from:
http://www. to:
http://www.centralparkposse.com/Prednisone.htm prednisone no prescription 69569 http://www.dasolindas.com/ambien.html ambien online 797 January 08, 2011, at 12:33 AM
by - ZLclouwbCAxG
Changed line 1 from:
http://www. to:
http://www.adventuregamingstl.org/viagra.aspx viagra 255555 http://www.pcc2000.com/propecia.php propecia >:(( http://www.dasolindas.com/valium.html valium aqc January 05, 2011, at 02:09 AM
by - UsGGlqeZyTgYFBcHScx
Changed line 1 from:
to:
http://www.librolacarta.com/levitra.html cheap levitra purchase vardenafil lxqj http://www.librolacarta.com/cialis.html where to buy cialis frnnvg http://www.adventuregamingstl.org/xanax.aspx xanax lssae http://www.dasolindas.com/valium.html cheapest valium online 654881 January 03, 2011, at 10:46 PM
by - zKVzYrmGZTijXhysFAH
Changed lines 1-61 from:
:$SearchPatterns:An array of page name patterns to be required or excluded from search and [[PmWiki --> [@# Limit all searches to Main group $SearchPatterns['default'][] = '/^Main\\./'; # Exclude the Main group from search results $SearchPatterns['default'][] = '!^Main\\.!'; # Exclude RecentChanges pages from search results $SearchPatterns['default'][] = '!\\.(All)?RecentChanges$!'; # Prevent a page from listing itself in (:pagelist:) or (:searchresults:) $SearchPatterns['default'][] = FmtPageName('!^$FullName$!', $pagename); @] :$SearchBoxOpt: --> For example [@ $SearchBoxOpt ['target'] = '$DefaultGroup.Search'; @] :$EnablePageIndex:When set to 1, causes PmWiki to maintain a "link and word index" in $PageIndexFile which significantly speeds up categories, backlinks, and searches. :$PageIndexFile:The location of the "page index" file for [@(:pagelist:)@], defaults to @@$WorkDir/.pageindex@@. :$PageListCacheDir:The name of a writable directory where PmWiki can cache results of [@(:pagelist:)@] directives to speed up subsequent displays of the same list. Default is empty, which disables the pagelist cache. --> [@# Enable pagelist caching in work.d/ $PageListCacheDir = 'work.d/'; @] :$PageSearchForm:The page to be used to format search results for [@?action=search@] (unless the current page has a "searchresults" directive in it). This variable can be an array, in which case the first page found from the array is used. --> [@# Use Search page in current group if it exists, otherwise use Site.Search $PageSearchForm = array('$Group.Search', '[=$[$SiteGroup/Search]=]'); @] :$FPLTemplatePageFmt:The pages to be searched for a pagelist template specified by a [@fmt=#xyz@] parameter. Defaults to searching the current page, [[Site.LocalTemplates]] and [[Site.PageListTemplates]]. --> [@# PMWiki default setup global $FPLTemplatePageFmt; $FPLTemplatePageFmt = array( '{$FullName}', '{$SiteGroup}.LocalTemplates', '{$SiteGroup}.PageListTemplates');@] -> It can be customized to look in other pages. --> [@# Search a Group.Templates page as well as the Site templates global $FPLTemplatePageFmt; $FPLTemplatePageFmt = array( '{$Group}.Templates', '{$SiteGroup}.LocalTemplates', '{$SiteGroup}.PageListTemplates');@] -> Or declare defaults for the template array: --> [@# Search a Group.Templates page as well as the Site templates global $FPLTemplatePageFmt; SDV($FPLTemplatePageFmt, array('{$FullName}', '{$Group}.Templates', '{$SiteGroup}.LocalTemplates', '{$SiteGroup}.PageListTemplates') );@] :$EnableUndefinedTemplateVars: This variable controls how undefined [={$$Variable}=] is processed in [[IncludeOtherPages|includes]] and [[PageList templates]]. If set to 0 (default), undefined [={$$Variable}=]s are removed from the included section or template. If set to 1, undefined [={$$Variable}=]s are displayed as is, with {$$...}. ''Note that PmWiki versions 2.2.13 and earlier '''kept''' unset include/template variables.'' : : @@$EnableUndefinedTemplateVars = 0;@@ # Delete unset raw template variables : : @@$EnableUndefinedTemplateVars = 1;@@ # Keep and print unset raw template variables to:
H5TbQ6 <a href="http://aoqvzengijfo.com/">aoqvzengijfo</a>, [url=http://zhzgmdfltuoc.com/]zhzgmdfltuoc[/url], [link=http://zphuzsifccdf.com/]zphuzsifccdf[/link], http://mbmdzkzmaxhm.com/ |