도쿠위키 문서 개수, 그림 수 표시하기 (Dokuwiki plugin Numberof)

페이지 수, 미디어(사진) 수 카운트하는 플러긴.

미디어위키의 경우 Magic Word라고 해서 각종 정보를 알 수 있는 시스템 예약어가 있다. 도쿠위키 (Dokuwiki)에서는 관리자는 해당 내용을 볼 수 있지만, 위키 페이지에서 표시하려면 별도 플러긴을 이용해야 한다. 기존의 것이 있으나, 간단하게 만들어 보았다.

페이지를 저장할 때 계산을 하기 때문에 실시간으로 변하지 않는다. ~~NOCACHE~~를 추가하면 될 것 같은데.. 안됨;;

파일이름 인코딩을 반드시 UTF-8로 설정해야 한글 이름공간에서 정상작동합니다.

사용법 (Usage)

{{NUMBEROFPAGES}}  pages in this wiki.

12366 pages in this wiki.

{{NUMBEROFMEDIAS}} files in this wiki.

17868 files in this wiki.

{{NUMBEROFPAGES>:game}}  pages in the game namespace of this wiki.

6334 pages in the game namespace of this wiki.

{{NUMBEROFMEDIAS>:game}} files in the game namespace of this wiki.

13035 files in the game namespace of this wiki.

{{NUMBEROFPAGES>:짬}}  pages in the 짬 namespace of this wiki.

61 pages in the 짬 namespace of this wiki.

{{NUMBEROFMEDIAS>:짬}} files in the 짬 namespace of this wiki.

64 files in the 짬 namespace of this wiki.

:모로윈드

:모로윈드:테스트

변경