문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
기술문서:오픈소스:dokuwiki [2026/05/26 17:28] carlito76 |
기술문서:오픈소스:dokuwiki [2026/07/09 18:12] (현재) carlito76 |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| {{htmlmetatags> | {{htmlmetatags> | ||
| - | metatag-description=(랜덤채팅, 무료채팅, 이오이카, 안내서, 태그 생성기) | + | metatag-description=(도쿠위키, DokuWiki, 위키, Wiki, 플러그인, Plugin, 커스터마이징, |
| - | metatag-og: | + | metatag-og: |
| }} | }} | ||
| - | ====== | + | ====== |
| <note tip> | <note tip> | ||
| - | [[https://www.eoeca.com|이오이카]]를 여행하는 히치하이커를 위한 안내서\\ | + | 본 문서는 2020-07-29a " |
| - | - [[#안내서]]\\ | + | - [[# |
| - | - [[#태그 생성기]]\\ | + | - [[#플러그인]]\\ |
| + | - [[#커스터마이징]]\\ | ||
| + | - [[#관리]] | ||
| </ | </ | ||
| - | ===== 안내서 | + | ===== 사용법 |
| - | ==== 접속자 비율 ==== | + | * DokuWiki 설정: https:// |
| - | * 지극히 개인적인 분석입니다. | + | * DokuWiki 확장기능: |
| + | * 이름공간: | ||
| + | * 포맷팅 문법: https:// | ||
| - | ^ 구분 | + | ===== 플러그인 ===== |
| - | | 성비 | + | |
| - | | ::: | 여자 | 10% | | | + | * IndexMenu Plugin: https:// |
| - | | ::: | [[namu> | + | * Themes: https:// |
| - | | ::: | [[namu> | + | * Move Plugin: https:// |
| - | | ::: | 기타 | 5% | | | + | * color Plugin: https:// |
| - | | 로그인/비로그인 | + | * Ruby Plugin: https:// |
| - | | ::: | 비로그인 사용자 | 20% | | | + | * keyboard Plugin: https:// |
| - | | 정상/비정상 | + | * sortablejs Plugin: https:// |
| - | | | + | * <color gray>< |
| - | | ::: | 비정상인 | 70% | | | + | * Note Plugin: https:// |
| - | | 나이 | + | * <color gray>< |
| + | * SyntaxHighlighter4 Plugin | ||
| + | * Video Share Plugin: https:// | ||
| + | * iframe Plugin: https:// | ||
| + | * PlantUML Parser Plugin: https:// | ||
| + | * MindMap: https:// | ||
| + | * HtmlMetaTags Plugin: https:// | ||
| + | * Tag Plugin: https:// | ||
| + | * Discussion Plugin: https:// | ||
| + | * PageList Plugin: https:// | ||
| + | * DW2PDF Plugin: https:// | ||
| + | * IP Banning Plugin: https:// | ||
| + | * Login/ | ||
| - | ===== 태그 생성기 | + | ===== 커스터마이징 |
| - | * [[잡개발자: | + | ==== 페이지 삭제 ==== |
| - | * [[잡개발자: | + | * data/ |
| - | * [[잡개발자: | + | * data/ |
| - | * [[잡개발자: | + | |
| - | {{tag>" | + | ==== 기본 템플릿 ==== |
| + | === 이미지 교체 === | ||
| + | * lib/ | ||
| + | * lib/ | ||
| + | * lib/ | ||
| + | |||
| + | === logo 대체 텍스트 === | ||
| + | <sxh php; gutter: true; first-line: 20; highlight: [28]; title: lib/ | ||
| + | < | ||
| + | // get logo either out of the template images folder or data/media folder | ||
| + | $logoSize = array(); | ||
| + | $logo = tpl_getMediaFile(array(': | ||
| + | |||
| + | // display logo and wiki title in a link to the home page | ||
| + | tpl_link( | ||
| + | wl(), | ||
| + | '< | ||
| + | ' | ||
| + | ); | ||
| + | ?></ | ||
| + | </ | ||
| + | |||
| + | === footer 숨김 === | ||
| + | <sxh php; gutter: true; first-line: 11; highlight: [11, 31]; title: lib/ | ||
| + | < | ||
| + | <?php tpl_license('' | ||
| + | |||
| + | <div class=" | ||
| + | <?php | ||
| + | tpl_license(' | ||
| + | $target = ($conf[' | ||
| + | ?> | ||
| + | <a href=" | ||
| + | src="<? | ||
| + | <a href=" | ||
| + | src="<? | ||
| + | <a href="// | ||
| + | src="<? | ||
| + | <a href="// | ||
| + | src="<? | ||
| + | <a href=" | ||
| + | src="<? | ||
| + | alt=" | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | === 문서 정보 제거 === | ||
| + | <sxh php; gutter: true; first-line: 49; highlight: [63]; title: lib/ | ||
| + | <div id=" | ||
| + | <?php html_msgarea() ?> | ||
| + | |||
| + | <div class=" | ||
| + | |||
| + | <div class=" | ||
| + | <?php tpl_flush() ?> | ||
| + | <?php tpl_includeFile(' | ||
| + | <!-- wikipage start --> | ||
| + | <?php tpl_content() ?> | ||
| + | <!-- wikipage stop --> | ||
| + | <?php tpl_includeFile(' | ||
| + | </ | ||
| + | |||
| + | <div class=" | ||
| + | |||
| + | <?php tpl_flush() ?> | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | === 하단 여백 제거 === | ||
| + | <sxh css; gutter: true; first-line: 321; highlight: [322]; title: lib/ | ||
| + | .dokuwiki .wrapper | ||
| + | / | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | === 테이블 오버 효과 제거 === | ||
| + | <sxh css; gutter: true; first-line: 101; highlight: [102, 106]; title: lib/ | ||
| + | .dokuwiki table.inline tr:hover td { | ||
| + | / | ||
| + | } | ||
| + | |||
| + | .dokuwiki table.inline tr:hover th { | ||
| + | / | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | === 테이블 줄 바꿈 제거 === | ||
| + | <sxh css; gutter: true; first-line: 397; highlight: [397-399]; title: lib/ | ||
| + | .dokuwiki div.table[class*=" | ||
| + | white-space: | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | === 테이블 정중앙 정렬 === | ||
| + | <sxh css; gutter: true; first-line: 401; highlight: [401-403]; title: lib/ | ||
| + | .dokuwiki div.table[class*=" | ||
| + | vertical-align: | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== 문서 편집 설명 제거 ==== | ||
| + | <sxh; gutter: true; highlight: [1]; title: inc/ | ||
| + | </ | ||
| + | |||
| + | ==== 문서 편집 에디터 수정 ==== | ||
| + | <sxh javascript; gutter: true; first-line: 40; highlight: [48]; title: lib/ | ||
| + | initSizeCtl: | ||
| + | var $ctl = jQuery(ctlarea), | ||
| + | $textarea = jQuery(editor); | ||
| + | |||
| + | if($ctl.length === 0 || $textarea.length === 0) { | ||
| + | return; | ||
| + | } | ||
| + | |||
| + | $textarea.css(' | ||
| + | |||
| + | var wrp = DokuCookie.getValue(' | ||
| + | if(wrp){ | ||
| + | dw_editor.setWrap($textarea[0], | ||
| + | } // else use default value | ||
| + | |||
| + | jQuery.each([ | ||
| + | [' | ||
| + | [' | ||
| + | [' | ||
| + | ], function (_, img) { | ||
| + | jQuery(document.createElement(' | ||
| + | .attr(' | ||
| + | .attr(' | ||
| + | .on(' | ||
| + | .appendTo($ctl); | ||
| + | }); | ||
| + | }, | ||
| + | </ | ||
| + | |||
| + | ==== 자동 약어 힌트 비활성화 ==== | ||
| + | <sxh; gutter: true; first-line: 3; highlight: [3-62]; title: conf/ | ||
| + | #ACL Access Control List | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | #API Application Programming Interface | ||
| + | #ASAP As soon as possible | ||
| + | # | ||
| + | #BTW By the way | ||
| + | #CMS Content Management System | ||
| + | #CSS Cascading Style Sheets | ||
| + | #DNS Domain Name System | ||
| + | #EOF End of file | ||
| + | #EOL End of line | ||
| + | #EOM End of message | ||
| + | #EOT End of text | ||
| + | #FAQ Frequently Asked Questions | ||
| + | #FTP File Transfer Protocol | ||
| + | #FOSS Free & Open-Source Software | ||
| + | # | ||
| + | #FUD Fear, Uncertainty, | ||
| + | #FYI For your information | ||
| + | #GB | ||
| + | #GHz Gigahertz | ||
| + | #GPL GNU General Public License | ||
| + | #GUI Graphical User Interface | ||
| + | #HTML | ||
| + | # | ||
| + | #IE | ||
| + | #IIRC If I remember correctly | ||
| + | #IMHO In my humble opinion | ||
| + | #IMO In my opinion | ||
| + | #IOW In other words | ||
| + | #IRC Internet Relay Chat | ||
| + | #IRL In real life | ||
| + | #KISS Keep it simple stupid | ||
| + | #LAN Local Area Network | ||
| + | #LGPL GNU Lesser General Public License | ||
| + | #LOL Laughing out loud | ||
| + | # | ||
| + | #MB | ||
| + | #MHz Megahertz | ||
| + | #MSIE | ||
| + | #OMG Oh my God | ||
| + | #OS | ||
| + | #OSS Open Source Software | ||
| + | #OTOH On the other hand | ||
| + | #PITA Pain in the Ass | ||
| + | #RFC Request for Comments | ||
| + | # | ||
| + | #RTFM Read The Fine Manual | ||
| + | #spec | ||
| + | #TIA Thanks in advance | ||
| + | # | ||
| + | #TOC Table of Contents | ||
| + | #URI Uniform Resource Identifier | ||
| + | #URL Uniform Resource Locator | ||
| + | #W3C World Wide Web Consortium | ||
| + | #WTF? What the f*** | ||
| + | # | ||
| + | #YMMV Your mileage may vary | ||
| + | </ | ||
| + | |||
| + | ==== 자동 변환 문자열 비활성화 ==== | ||
| + | <sxh; gutter: true; first-line: 8; highlight: [8-21]; title: conf/ | ||
| + | #< | ||
| + | # | ||
| + | #< | ||
| + | #< | ||
| + | # | ||
| + | #< | ||
| + | #>> | ||
| + | #<< | ||
| + | #--- — | ||
| + | #-- – | ||
| + | #(c) © | ||
| + | #(tm) ™ | ||
| + | #(r) ® | ||
| + | #... … | ||
| + | </ | ||
| + | |||
| + | ==== Interwiki 설정 ==== | ||
| + | <sxh; gutter: true; first-line: 44; highlight: [44-49]; title: conf/ | ||
| + | # Custom links | ||
| + | instagram https:// | ||
| + | threads | ||
| + | youtube | ||
| + | namu https:// | ||
| + | ue https:// | ||
| + | </ | ||
| + | ((이미지 경로: / | ||
| + | |||
| + | ==== favicon 설정 ==== | ||
| + | * apple-touch-icon.png | ||
| + | * favicon-96x96.png | ||
| + | * favicon.ico | ||
| + | * favicon.svg | ||
| + | |||
| + | <sxh php; gutter: true; first-line: 1789; highlight: [1793-1815]; | ||
| + | function tpl_favicon($types = array(' | ||
| + | |||
| + | $return = ''; | ||
| + | |||
| + | /* | ||
| + | foreach($types as $type) { | ||
| + | switch($type) { | ||
| + | case ' | ||
| + | $look = array(': | ||
| + | $return .= '< | ||
| + | break; | ||
| + | case ' | ||
| + | $look = array(': | ||
| + | $return .= '< | ||
| + | break; | ||
| + | case ' | ||
| + | // ideal world solution, which doesn' | ||
| + | $look = array(': | ||
| + | $return .= '< | ||
| + | break; | ||
| + | } | ||
| + | } | ||
| + | */ | ||
| + | $return .= '< | ||
| + | $return .= '< | ||
| + | $return .= '< | ||
| + | $return .= '< | ||
| + | |||
| + | return $return; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== manifest 설정 ==== | ||
| + | * web-app-manifest-192x192.png | ||
| + | * web-app-manifest-512x512.png | ||
| + | |||
| + | <sxh; gutter: true; highlight: [1-22]; title: site.webmanifest;> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <sxh php; gutter: true; first-line: 250; highlight: [251]; title: inc/ | ||
| + | if (actionOK(' | ||
| + | $head[' | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== start 문서 index, | ||
| + | <sxh php; gutter: true; first-line: 305; highlight: [308]; title: inc/ | ||
| + | if(($ACT == ' | ||
| + | if($INFO[' | ||
| + | //delay indexing: | ||
| + | if((time() - $INFO[' | ||
| + | $head[' | ||
| + | } else { | ||
| + | $head[' | ||
| + | } | ||
| + | $canonicalUrl = wl($ID, '', | ||
| + | if ($ID == $conf[' | ||
| + | $canonicalUrl = DOKU_URL; | ||
| + | } | ||
| + | $head[' | ||
| + | } else { | ||
| + | $head[' | ||
| + | } | ||
| + | } elseif(defined(' | ||
| + | $head[' | ||
| + | } else { | ||
| + | $head[' | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== 사이트맵 한글 정렬 개선 ==== | ||
| + | <sxh php; gutter: true; first-line: 48; highlight: [52, 54]; title: inc/ | ||
| + | if (!empty($sort)) { | ||
| + | if ($sort == ' | ||
| + | @array_multisort(array_map(' | ||
| + | } else /* natural */ { | ||
| + | asort($files); | ||
| + | } | ||
| + | asort($dirs); | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== 검색어 하이라이트 개선 ==== | ||
| + | <sxh php; gutter: true; first-line: 276; highlight: [308]; title: inc/ | ||
| + | function html_show($txt=null){ | ||
| + | global $ID; | ||
| + | global $REV; | ||
| + | global $HIGH; | ||
| + | global $INFO; | ||
| + | global $DATE_AT; | ||
| + | //disable section editing for old revisions or in preview | ||
| + | if($txt || $REV){ | ||
| + | $secedit = false; | ||
| + | }else{ | ||
| + | $secedit = true; | ||
| + | } | ||
| + | |||
| + | if (!is_null($txt)){ | ||
| + | // | ||
| + | echo '< | ||
| + | echo p_locale_xhtml(' | ||
| + | echo '< | ||
| + | $html = html_secedit(p_render(' | ||
| + | if($INFO[' | ||
| + | echo $html; | ||
| + | echo '< | ||
| + | echo '</ | ||
| + | |||
| + | }else{ | ||
| + | if ($REV||$DATE_AT){ | ||
| + | $data = array(' | ||
| + | Event:: | ||
| + | } | ||
| + | $html = p_wiki_xhtml($ID, | ||
| + | $html = html_secedit($html, | ||
| + | if($INFO[' | ||
| + | //$html = html_hilight($html, | ||
| + | echo $html; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <sxh javascript; gutter: true; highlight: [1-78]; title: conf/ | ||
| + | jQuery(function() { | ||
| + | // 검색어 파라미터 | ||
| + | var phrases = []; | ||
| + | var search = window.location.search; | ||
| + | if (search) { | ||
| + | var params = search.substring(1).split('&' | ||
| + | for (var i = 0; i < params.length; | ||
| + | var pair = params[i].split(' | ||
| + | var key = decodeURIComponent(pair[0]); | ||
| + | if (key === ' | ||
| + | var value = decodeURIComponent(pair[1].replace(/ | ||
| + | phrases.push(value); | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | if (phrases.length === 0) return; | ||
| + | |||
| + | // 검색어 정규식 | ||
| + | var escaped = []; | ||
| + | for (var j = 0; j < phrases.length; | ||
| + | escaped.push(phrases[j].replace(/ | ||
| + | } | ||
| + | var regex = new RegExp(' | ||
| + | |||
| + | // 제외 리스트 | ||
| + | var exclude_list = [ | ||
| + | ' | ||
| + | , ' | ||
| + | , ' | ||
| + | ]; | ||
| + | var exclude_selector = exclude_list.join(', | ||
| + | |||
| + | // 허용 리스트 | ||
| + | var allow_list = [ | ||
| + | ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | , ' | ||
| + | ]; | ||
| + | |||
| + | // 하이라이트 함수 | ||
| + | function html_hilight($node) { | ||
| + | $node.contents().each(function() { | ||
| + | var node = this; | ||
| + | if (node.nodeType === 3) { | ||
| + | var txt = node.nodeValue; | ||
| + | if (regex.test(txt)) { | ||
| + | regex.lastIndex = 0; | ||
| + | jQuery(node).replaceWith(txt.replace(regex, | ||
| + | } | ||
| + | } else if (node.nodeType === 1) { | ||
| + | var $this = jQuery(node); | ||
| + | if (!$this.is(exclude_selector)) { | ||
| + | var | ||
| + | if (allow_list.indexOf(tag) !== -1) { | ||
| + | html_hilight($this); | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | }); | ||
| + | } | ||
| + | |||
| + | // 하이라이트 함수 실행 | ||
| + | var $target = jQuery(" | ||
| + | if ($target.length | ||
| + | html_hilight($target); | ||
| + | } | ||
| + | }); | ||
| + | </ | ||
| + | |||
| + | ==== SEO 개선 ==== | ||
| + | * logo.png | ||
| + | |||
| + | <sxh html; gutter: true; highlight: [1-44]; title: conf/ | ||
| + | <!-- Open Graph --> | ||
| + | <meta property="og: | ||
| + | <meta property=" | ||
| + | <meta property=" | ||
| + | <meta property=" | ||
| + | <!-- //Open Graph --> | ||
| + | |||
| + | <!-- JSON-LD --> | ||
| + | <script type=" | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | ] | ||
| + | } | ||
| + | </ | ||
| + | <!-- //JSON-LD --> | ||
| + | </ | ||
| + | |||
| + | <sxh; gutter: true; highlight: [1-4]; title: robots.txt;> | ||
| + | User-agent: * | ||
| + | Allow: / | ||
| + | |||
| + | Sitemap: https:// | ||
| + | </ | ||
| + | |||
| + | <sxh php; gutter: true; first-line: 229; highlight: [229-231]; title: inc/ | ||
| + | // 수정일 메타 데이터 | ||
| + | $head[' | ||
| + | $head[' | ||
| + | </ | ||
| + | |||
| + | <sxh php; gutter: true; first-line: 980; highlight: [983-987]; title: inc/ | ||
| + | default : // SHOW and anything else not included | ||
| + | $page_title = $name; | ||
| + | |||
| + | // 이름공간 정보 표기 | ||
| + | global $INFO; | ||
| + | if (!empty($INFO[' | ||
| + | $page_title .= ' | ' . str_replace(':', | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== 카카오애드핏 ==== | ||
| + | <sxh html; gutter: true; first-line: 46; highlight: [46-77]; title: conf/ | ||
| + | <!-- 카카오애드핏 --> | ||
| + | < | ||
| + | .ad-adfit-pc { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | .ad-adfit-mobile { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | @media screen and (min-width: 801px) { | ||
| + | .ad-adfit-pc { | ||
| + | display: block; | ||
| + | } | ||
| + | |||
| + | .ad-adfit-mobile { | ||
| + | display: none; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | @media screen and (max-width: 800px) { | ||
| + | .ad-adfit-pc { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | .ad-adfit-mobile { | ||
| + | display: block; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | <script type=" | ||
| + | <!-- // | ||
| + | </ | ||
| + | |||
| + | <sxh html; gutter: true; highlight: [1-8]; title: conf/ | ||
| + | <!-- 카카오애드핏 --> | ||
| + | <div class=" | ||
| + | <ins class=" | ||
| + | data-ad-unit = " | ||
| + | data-ad-width = " | ||
| + | data-ad-height = " | ||
| + | </ | ||
| + | <!-- // | ||
| + | </ | ||
| + | |||
| + | <sxh html; gutter: true; highlight: [1-14]; title: conf/ | ||
| + | <!-- 카카오애드핏 --> | ||
| + | <div class=" | ||
| + | <ins class=" | ||
| + | data-ad-unit = " | ||
| + | data-ad-width = " | ||
| + | data-ad-height = " | ||
| + | </ | ||
| + | <div class=" | ||
| + | <ins class=" | ||
| + | data-ad-unit = " | ||
| + | data-ad-width = " | ||
| + | data-ad-height = " | ||
| + | </ | ||
| + | <!-- // | ||
| + | </ | ||
| + | |||
| + | <sxh html; gutter: true; highlight: [1-8]; title: conf/ | ||
| + | <!-- 카카오애드핏 --> | ||
| + | <div class=" | ||
| + | <ins class=" | ||
| + | data-ad-unit = " | ||
| + | data-ad-width = " | ||
| + | data-ad-height = " | ||
| + | </ | ||
| + | <!-- // | ||
| + | </ | ||
| + | |||
| + | ==== 추적 코드 ==== | ||
| + | <sxh html; gutter: true; first-line: 79; highlight: [79-96]; title: conf/ | ||
| + | <!-- Google tag (gtag.js) --> | ||
| + | <script async src=" | ||
| + | < | ||
| + | window.dataLayer = window.dataLayer || []; | ||
| + | function gtag(){dataLayer.push(arguments); | ||
| + | gtag(' | ||
| + | |||
| + | gtag(' | ||
| + | </ | ||
| + | |||
| + | <!-- Clarity tracking code --> | ||
| + | <script type=" | ||
| + | (function(c, | ||
| + | c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; | ||
| + | t=l.createElement(r); | ||
| + | y=l.getElementsByTagName(r)[0]; | ||
| + | })(window, document, " | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== 플러그인 ==== | ||
| + | === IndexMenu Plugin === | ||
| + | < | ||
| + | {{indexmenu>:# | ||
| + | </ | ||
| + | ((/ | ||
| + | |||
| + | === Note Plugin === | ||
| + | <sxh css; gutter: true; highlight: [3]; title: lib/ | ||
| + | .plugin_note { | ||
| + | margin: 2em auto; | ||
| + | max-width: 90%; | ||
| + | min-height: 40px; | ||
| + | text-align: justify; | ||
| + | vertical-align: | ||
| + | border-collapse: | ||
| + | padding: 15px 20px 15px 80px; | ||
| + | background-position: | ||
| + | background-repeat: | ||
| + | -moz-border-radius: | ||
| + | -khtml-border-radius: | ||
| + | border-radius: | ||
| + | color: black; | ||
| + | overflow: hidden; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | === PlantUML Parser Plugin === | ||
| + | <sxh css; gutter: true; highlight: [1-3]; title: lib/ | ||
| + | [id^=" | ||
| + | overflow: auto; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <sxh php; gutter: true; first-line: 92; highlight: [99-100]; title: lib/ | ||
| + | if($data[' | ||
| + | $renderer-> | ||
| + | /* | ||
| + | $renderer-> | ||
| + | $renderer-> | ||
| + | $renderer-> | ||
| + | */ | ||
| + | $renderer-> | ||
| + | $renderer-> | ||
| + | $renderer-> | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | === Tag Plugin === | ||
| + | <sxh css; gutter: true; first-line: 7; highlight: [8, 10, 14-16, 19-26]; title: lib/ | ||
| + | .dokuwiki div.tags { | ||
| + | / | ||
| + | clear: both; | ||
| + | / | ||
| + | } | ||
| + | |||
| + | .dokuwiki div.tagstop { | ||
| + | / | ||
| + | margin-top: -1.3em; | ||
| + | margin-bottom: | ||
| + | } | ||
| + | |||
| + | .dokuwiki div.tags span a, | ||
| + | .dokuwiki div.tagstop span a { | ||
| + | color: #2962ff; | ||
| + | background-color: | ||
| + | padding: 4px 4px; | ||
| + | border-radius: | ||
| + | margin-left: | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | <sxh php; gutter: true; first-line: 162; highlight: [171]; title: lib/ | ||
| + | public function tagLinks($tags) { | ||
| + | if (empty($tags) || ($tags[0] == '' | ||
| + | return ''; | ||
| + | } | ||
| + | |||
| + | $links = array(); | ||
| + | foreach ($tags as $tag) { | ||
| + | $links[] = $this-> | ||
| + | } | ||
| + | return implode('' | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== 관리 ===== | ||
| + | ==== 템플릿 스타일 설정 ==== | ||
| + | <sxh; gutter: true; first-line: 18; highlight: [18, 22]; title: conf/ | ||
| + | __site_width__ = " | ||
| + | __sidebar_width__ = " | ||
| + | __tablet_width__ = " | ||
| + | __phone_width__ = " | ||
| + | __theme_color__ = "# | ||
| + | </ | ||
| + | (( 최소 해상도 1366px 기준 (스크롤바 제외 1330px) )) | ||
| + | |||
| + | ==== 환경 설정 > 보이기 ==== | ||
| + | === 이동 경로 추적 비활성화 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 타이포그래피 대체 비활성화 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 목차의 최대 단계 비활성화 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 문단의 최대 편집 단계 비활성화 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 문서 이름을 첫 문단 제목으로 사용 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 이름공간 읽기 권한 설정 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 문서 숨기기 설정 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | ==== 환경 설정 > 인증 ==== | ||
| + | === 접근 제어 목록 (ACL) 사용 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 슈퍼유저 설정 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 도쿠위키 동작 비활성화 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | ==== 환경 설정 > 스팸 방지 ==== | ||
| + | === 색인 전 지연 시간 (초) === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | ==== 환경 설정 > 링크 ==== | ||
| + | === 링크에 대한 타깃 창 === | ||
| + | <sxh php; gutter: false; highlight: [1-2]; title: conf/ | ||
| + | $conf[' | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | ==== 환경 설정 > 신디케이션 (RSS) ==== | ||
| + | === 사이트맵 생성 날짜 빈도 (일) === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | ==== 환경 설정 > 고급 ==== | ||
| + | === 업데이트와 보안 경고 비활성화 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 멋진 URL 사용 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | === 존재하지 않는 문서 404 상태 코드 반환 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | |||
| + | ==== 환경 설정 > Feature Flags ==== | ||
| + | === defer_js 비활성화 === | ||
| + | <sxh php; gutter: false; highlight: [1]; title: conf/ | ||
| + | $conf[' | ||
| + | </ | ||
| + | ((Indexmenu Plugin: If you use the ' | ||
| + | |||
| + | {{tag>" | ||