1<?php 2/** 3 * The config manager is parsing this fucking file because they want 4 * to be able to use 60*60*24 ???? :( 5 * 6 * See {@link \dokuwiki\plugin\config\core\ConfigParser::parse()} 7 * 8 * Which means that only value can be given as: 9 * * key 10 * * and value 11 * The test test_plugin_default in plugin.test.php is checking that 12 * 13 * What fuck up is fucked up. 14 * 15 * The solution: 16 * * The literal value is copied 17 * * A link to the constant is placed before 18 */ 19 20 21use ComboStrap\IconUtility; 22use ComboStrap\MetadataUtility; 23use ComboStrap\Prism; 24 25 26/** 27 * Related UI components 28 */ 29$conf['maxLinks'] = 10; 30$conf['extra_pattern'] = '{{backlinks>.}}'; 31 32/** 33 * Disqus 34 * See {@link syntax_plugin_combo_disqus::CONF_DEFAULT_ATTRIBUTES} 35 */ 36$conf['disqusDefaultAttributes'] = 'shortName=""'; 37 38/** 39 * ie {@link action_plugin_combo_urlmanager::GO_TO_BEST_END_PAGE_NAME} 40 */ 41$conf['ActionReaderFirst'] = 'GoToBestEndPageName'; 42 43/** 44 * ie {@link action_plugin_combo_urlmanager::GO_TO_BEST_PAGE_NAME} 45 */ 46$conf['ActionReaderSecond'] = 'GoToBestPageName'; 47/** 48 * ie {@link action_plugin_combo_urlmanager::GO_TO_SEARCH_ENGINE} 49 */ 50$conf['ActionReaderThird'] = 'GoToSearchEngine'; 51$conf['GoToEditMode'] = 1; 52$conf['ShowPageNameIsNotUnique'] = 1; 53$conf['ShowMessageClassic'] = 1; 54$conf['WeightFactorForSamePageName'] = 4; 55$conf['WeightFactorForStartPage'] = 3; 56$conf['WeightFactorForSameNamespace'] = 5; 57 58/** 59 * See {@link UrlManagerBestEndPage::CONF_MINIMAL_SCORE_FOR_REDIRECT_DEFAULT} 60 */ 61$conf['BestEndPageMinimalScoreForIdRedirect'] = 0; 62 63/** 64 * Does automatic canonical processing is on 65 */ 66$conf['MinimalNamesCountForAutomaticCanonical'] = 0; 67 68/** 69 * Icon Namespace 70 * See {@link IconUtility::CONF_ICONS_MEDIA_NAMESPACE} 71 * See {@link IconUtility::CONF_ICONS_MEDIA_NAMESPACE_DEFAULT} 72 */ 73$conf['icons_namespace'] = ":combostrap:icons"; 74 75/** 76 * Css Optimization 77 * See {@link action_plugin_combo_css::CONF_ENABLE_MINIMAL_FRONTEND_STYLESHEET} 78 * See {@link action_plugin_combo_css::CONF_DISABLE_DOKUWIKI_STYLESHEET} 79 */ 80$conf['enableMinimalFrontEndStylesheet'] = 0; 81$conf['disableDokuwikiStylesheet'] = 0; 82 83/** 84 * Metadata Viewer 85 * See {@link \ComboStrap\MetadataUtility::CONF_ENABLE_WHEN_EDITING 86 * See {@link \ComboStrap\MetadataUtility::CONF_METADATA_DEFAULT_ATTRIBUTES 87 * See {@link \ComboStrap\MetadataUtility::EXCLUDE_ATTRIBUTE 88 */ 89$conf['enableMetadataViewerWhenEditing'] = 1; 90$conf['metadataViewerDefaultAttributes'] = 'title="Metadata" exclude="tableofcontents"'; 91 92/** 93 * Badge 94 * See {@link syntax_plugin_combo_badge::CONF_DEFAULT_ATTRIBUTES_KEY 95 */ 96$conf['defaultBadgeAttributes'] = 'type="info" rounded="true"'; 97 98/** 99 * Ads 100 * See {@link \ComboStrap\AdsUtility::CONF_IN_ARTICLE_PLACEHOLDER 101 */ 102$conf['AdsInArticleShowPlaceholder'] = 0; 103 104/** 105 * Code 106 * See {@link syntax_plugin_combo_code::CONF_CODE_ENABLE} 107 * {@link Prism::CONF_PRISM_THEME} 108 */ 109$conf['codeEnable'] = 1; 110$conf['fileEnable'] = 1; 111$conf['prismTheme'] = "tomorrow"; 112$conf['bashPrompt'] = "#"; 113$conf['batchPrompt'] = 'C:\\'; 114$conf['powershellPrompt'] = 'PS C:\\'; 115 116/** 117 * SEO module 118 * See {@link \ComboStrap\LowQualityPage::CONF_LOW_QUALITY_PAGE_PROTECTION_ENABLE} 119 */ 120$conf['lowQualityPageProtectionEnable'] = 0; 121$conf['lowQualityPageProtectionMode'] = "acl"; 122 123/** 124 * Preformatted mode disable 125 * See {@link syntax_plugin_combo_preformatted::CONF_PREFORMATTED_ENABLE} 126 */ 127$conf['preformattedEnable'] = 0; 128 129/** 130 * {@link renderer_plugin_combo_analytics::CONF_MANDATORY_QUALITY_RULES} 131 */ 132$conf['mandatoryQualityRules'] = 'words_min,internal_backlinks_min,internal_links_min'; 133 134/** 135 * {@link action_plugin_combo_autofrontmatter::CONF_AUTOFRONTMATTER_ENABLE} 136 */ 137$conf['autoFrontMatterEnable'] = 1; 138