From 3cd2258fac61b365ccce2898b0fb4fd671c17311 Mon Sep 17 00:00:00 2001 From: rurban Date: Sun, 7 Jan 2007 18:42:39 +0000 Subject: [PATCH] Fix typo: BLOG_EMPTY_DEFAULT_PREFIX => BLOG_DEFAULT_EMPTY_PREFIX. Add USE_SEARCHHIGHLIGHT. Add EXTERNAL_HTML2PDF_PAGELIST logic. Update $AllActionPages. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@5440 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/IniConfig.php | 59 +++++++++++++++++++++++++++++++---------------- 1 file changed, 39 insertions(+), 20 deletions(-) diff --git a/lib/IniConfig.php b/lib/IniConfig.php index 5fd1f8230..5121879f5 100644 --- a/lib/IniConfig.php +++ b/lib/IniConfig.php @@ -1,5 +1,5 @@ pushErrorHandler(new WikiFunctionCb('_ignore_unknown_charset_warning')); } - // Used by SetupWiki to pull in required pages, if not translated, then in english. - // Real actionpages react on page=[] - // These here contain also other important requirements, linked from elsewhere. - // Also used by _WikiTranslation + // Used by SetupWiki to pull in required pages, if not translated, then in english. + // Also used by _WikiTranslation. Really important are only those which return pagelists + // or contain basic functionality. + /* + All pages containing plugins of the same name as the filename: + cd pgsrc + grep -l '\?plugin ' *| perl -ne'$/=0;chop; s/%([\da-fA-F]{2})/pack("C",hex($1))/ge; next LINE if m{^(Help/|Template|Pgsrc)}; print "$_\n"; {local $/;open F,"<$_"; $f=join("",);} push @a,$_ if $f=~/plugin $_/; END{print join(":",@a)};' + */ $AllActionPages = explode(':', - 'AllPages:BackLinks:CreatePage:DebugInfo:EditMetaData:FindPage:' - .'FullRecentChanges:FullTextSearch:FuzzyPages:InterWikiSearch:' - .'LeastPopular:LikePages:MostPopular:' - .'OrphanedPages:PageDump:PageHistory:PageInfo:RandomPage:RateIt:' - .'RecentChanges:RecentEdits:RecentComments:RelatedChanges:TitleSearch:' - .'TranslateText:UpLoad:UserPreferences:WantedPages:WhoIsOnline:' + 'AllPages:AllUsers:AppendText:AuthorHistory:BackLinks:CreatePage:EditMetaData:FindPage:FullTextSearch:' + .'FuzzyPages:InterWikiSearch:LikePages:LinkDatabase:LinkSearch:ListRelations:ModeratedPage:' + .'MostPopular:OrphanedPages:PageDump:PageHistory:PageInfo:PasswordReset:PluginManager:RandomPage:' + .'RateIt:RecentChanges:RecentComments:RelatedChanges:SearchHighlight:SemanticRelations:SemanticSearch:' + .'TitleSearch:TranslateText:UpLoad:UserPreferences:WantedPages:WatchPage:WhoIsOnline:WikiAdminSelect' + // plus some derivations + .':DebugInfo:LeastPopular:RecentEdits:AllPagesCreatedByMe:AllPagesLastEditedByMe:AllPagesOwnedByMe:' .'PhpWikiAdministration/Remove:PhpWikiAdministration/Chmod:' .'PhpWikiAdministration/Rename:PhpWikiAdministration/Replace:' - .'PhpWikiAdministration/SetAcl:PhpWikiAdministration/Chown' - .'SemanticRelations:SemanticSearch:SearchHighlight:LinkSearch:' - .'AppendText:AuthorHistory' - ); + .'PhpWikiAdministration/SetAcl:PhpWikiAdministration/Chown'); // If user has not defined PHPWIKI_DIR, and we need it if (!defined('PHPWIKI_DIR') and !file_exists("themes/default")) { $themes_dir = FindFile("themes"); @@ -917,6 +933,9 @@ function fixup_dynamic_configs($file) { } // $Log: not supported by cvs2svn $ +// Revision 1.109 2007/01/04 16:40:47 rurban +// Add more action pages +// // Revision 1.108 2007/01/03 21:22:22 rurban // Add DISABLE_UNITS. // -- 2.45.0