Wiki 활용, Plugin

favicon

dokuwiki/lib/tpl/템플릿명/images 내에 아래 파일들을 수정한다
desktop : favicon.ico
mobile : apple-touch-icon.png

inc/template.php 1932 라인에 있음

addnewpage

 {{NEWPAGE}}

ckgedit

  • Turn supplementary image paste support on 해줘야 이미지 복붙됨
  • [ckgedit] dblclk Off (Clicking on a dokuwiki section while ckgedit is active will open that section for editing in the native dokuwiki editor. This feature is on by default and can be set to off with this option.)

discussion

  • [Discussion]
    • URL, Address 입력 off
    • User name 대신 Real name
    • [/user/dokuwiki/inc/lang/en/lang.php] fullname : Real name → Name

~~DISCUSSION~~

~~DISCUSSION|Off~~

move

tag

https://www.dokuwiki.org/plugin:tag

{{tag>tag1 tag2 tag3}}

templatepagename

indexmenu

inlinetoc

SyntaxHighlighter4

https://github.com/crazy-max/dokuwiki-plugin-syntaxhighlighter4

  • <sxh php; highlight: [11-15]; title: 제목> code </sxh>
  • <code> 에 overriding

imgPaste

Semantic

https://www.dokuwiki.org/plugin:semantic

[helper.php] line 129: getDescription :

return (@$this->meta['description']['abstract'] ? substr($this->meta['description']['abstract'],strlen($this->getTitle())+1) : $this->getTitle()); 

include

https://www.dokuwiki.org/plugin:include

 {{page>software_development:Performance of VBA}} 

hidden

 <hidden click here if you want to know more>Since you want to know more, here is an explanation with more details […]</hidden>
 

sectiontoggle

WRAP

  • 주석처리
     <WRAP hide>주석</WRAP> 

statistics

  • 설치 후 db.sql 을 mysql에서 실행해야 함 (설정에서 DB, id/pw 설정도 해줘야 함)

iframe

 {{url:IFRAMEURL width,height noborder noscroll|TEXT}} 

codemirror

기본 editor 에서 wiki syntax highlighting

color

 <color red> color </color> 
color

folded

  • [folded] 기본 unfold → off

 ++++title| any content ++++ 

title

  • inline
    • title
    •  ++title| formatted text ++ 

page redirect

 ~~REDIRECT>namespace:page~~ 

imagebox

https://www.dokuwiki.org/plugin:imagebox
just add [

 [{{imgsrc|caption}}] 

imagereference

https://www.dokuwiki.org/plugin:imagereference

<imgcaption label|John Doe>{{:wiki:dokuwiki-128.png}}</imgcaption>
The Dokuwiki image can be seen in <imgref label>.

MathJax

https://www.dokuwiki.org/plugin:mathjax

inline $ X \sim \mathcal{N}(\mu,\,\sigma^{2})\ $
line $$ f(x) = \frac{1}{\sqrt{2\pi}\sigma}   exp\left( {  -\frac{1}{2}   \left(    \frac{x - \mu}{\sigma}  \right)^{2}  }  \right)  $$

$ X \sim \mathcal{N}(\mu,\,\sigma^{2})\ $ https://www.overleaf.com/learn/latex/Brackets_and_Parentheses
$$ f(x) = \frac{1}{\sqrt{2\pi}\sigma} exp\left( { -\frac{1}{2} \left( \frac{x - \mu}{\sigma} \right)^{2} } \right) $$

cloud

https://www.dokuwiki.org/plugin:cloud

~~TAGCLOUD~~

워드클라우드는 한글 문제로 잘 작동하지 않음

설정 history

  • [MAIN] maxseclevelMaximum section edit level : 3→4
  • [MAIN] sneakyindex : true
  • [ACL] weblog:draft: all,user NONE
  • [lib>tpl>bootstrap3>main.php] <head> 에 GTM 코드 삽입
    • google adsense plugin 코드삽입
  • [xbr] main설정 renderer_xhtml 수정
  • [bootstrap3] > main.php 71Line :
     <article id="dokuwiki__content" onclick="jQuery('.navbar-collapse').collapse('hide');" 
  • [/user/dokuwiki/inc/lang/en/edit.txt] : plugin 페이지 링크 삽입
  • [Discussion] Thread 신규페이지 생성위치 Off