DokuWiki

It's better when it's simple

ユーザ用ツール

サイト用ツール


ja:tips

文書の過去の版を表示しています。


使い方のヒントとコツ

:!: ページを再編中です。再編方法の詳細については英語版を参照してください。

このページは、DokuWiki を利用する上でのすべてのヒントとコツ (Tips & Tricks) を収集するための場所です。

利用のヒント

リンク 説明
TailorWikiRules DokuWiki インストール後のベストプラクティス
Syncing with Unison Unison を利用して 2 つの Wiki の同期する
timezone サーバのタイムゾーンを設定する
mailconfig メールを正常に動作させるためのヒント
uploadcodedir スクリプトのディレクトリを DokuWiki にアップロードする
commonlogin 認証データを同じサーバ上の Wiki 間で共有する
doc_to_wiki_syntax フォルダ内の MS Word 文書を DokuWiki 記法のテキストに変換する
Displaying blank rows in tables 表の中にある空行を表示する
good_style DokuWiki で良いページを作成するためのヒント
table_editing データを表にインポートする方法
upgrading_old_versions 古いバージョンの DokuWiki (2005-*) からのアップデート方法

Web ブラウザの問題

リンク 説明
scrollposition Firefox で DokuWiki がスクロール位置を記憶してくれない場合に
preventing-postdata-has-expired 「POSTDATA の期限切れ」メッセージが出ないようにする
dom.disable_image_src_set Firefox で編集画面のツールバーが表示されない場合に

構文の拡張

これらのヒントのほとんどは、新しいパーサに合わせて調整する必要があり、そのままでは動作しないでしょう。とはいえ、新しいプラグインシステムを利用して実装した方が良いかもしれません。新しいプラグインインタフェースを利用したプラグインの一覧はプラグインページにあります。

リンク 説明
LatexRender LaTeX のコード断片から画像を描画、MathML の代替として使用可能
magnet links DC++ の magnet リンクを外部リンクとして表示する
links-to-dokuwiki-commands Wiki ページから「DokuWiki の動作モード」(?do=) にリンクする
tex_howto DokuWiki に AMSLaTeX の数式構文のサポートを追加するパッチ (DokuWiki 2005-05-07 用)

レイアウトとスタイルの拡張

これらのヒントのいくつかは、テンプレート機構を利用して実装したほうが良いかもしれません。適宜書き換えることが推奨されます。

リンク 説明
CustomQuoting 引用のスタイルを変更する
format_user ユーザ名の表示にクライアント証明書の CN を使用する
Pretty Recent 最近更新されたページに日付の見出しを含める DokuWiki 2005-07-01 への修正
prewithwrap 行折り返しのある <pre> セクション
Disable Link Icons InterWiki や Wiki リンク以外のリンクアイコンを無効化する
Descriptions in RSS aggregator 各 RSS 記事の冒頭部分をリストに追加する
Code CSS 構文ハイライトのためのスタイルシート
geshi_style_builder GeSHi スタイルビルダー
XHTML Strict XHTML 1.0 Strict に切り替える方法
image_nolink 挿入した画像をデフォルトでリンク無しにする
Toc use position fixed ページをスクロールしても目次が動かないようにする (固定する)
numbered headings スタイルシートだけで見出しに番号を付ける
back to top 各見出しの前にページの先頭に戻るリンクを付ける
Local links with icons 内部リンクにリンクアイコンを付ける
image-in-the-upper-right-corner 右上にあるタイトル文字列を独自のロゴ画像に変更する
code-in-ordered-lists 番号付きリストにコードを含める
prettyrecentfix 「最近の変更」ページをより感じの良い方法で表示する方法
tableswithrowspans2 表での縦方向のセル連結をサポートする方法 1
Tables with Rowspan 表での縦方向のセル連結をサポートする方法 2
rowspansfix 表での縦方向のセル連結をサポートする方法 3
rowspansfix2 表での縦方向のセル連結をサポートする方法 4
Adjust iframe heights iframe の高さを内容に必要な高さにするための iframe プラグインへの追加 JavaScript
Using CSS to Style Headers 見出しをスタイルシートで装飾するための一般的なヒントと事例および構造情報
Display the changes for each entry in the recent list 「最近の変更」ページ中の各エントリについて、最新のバージョンと 1 つ前のバージョンの差分を表示する

新しい機能の追加

リンク 説明
Auto Subscribe a Mailinglist Auto Subscribe a user to a mailinglist after registration
Better Email Notifications Receive HTML-formatted email notifications for page changes
Clean Notification Scheme Clarify notification scheme: namespace subscribers on new page, page subscribers on update
IP-based ACLs Assign access rights based on IP or network of the connecting client.
BrowserLanguageDetection Change the UI language automatically
transliteration Transliterate Cyrillic texts to Latin
PDF Export PDF export using html2ps and pstopdf
Print View Button make use of ?do=export_html
tpl_button for print view Adds an tpl_button for print_view
User Link use an extra wiki-page for users
.htaccess authentication Use .htaccess authentication instead of the login form
.htaccess authentication 2 As above with support for UserManager
HTTP-Auth Passthru Adding http-auth-functionality to your existing ACL-setup
Chained Authentication Use a sequence of authentication backends (e.g. LDAP then plain )
StickyExportHtml Make do=export_html “sticky” for HTML-only browsing
Html only view Similar to previous. uses .htaccess rewrite for that
discussion Creates a link or button in your template that leads to a separate discussion-page (like e.g. Wikipedia does provide)
safely include php code Allow PHP code to be included in pages created by superuser only
Page Statistics Add page and media file logging to DokuWiki
Tiny Page Logging Add simple logging to DokuWiki
NLS Adding unofficial National Language Support (NLS) for DokuWiki
Summary Enforcement Require the user to enter a summary (or check minor edit)
ToolbarButton How to add your own button to the toolbar
homepages Autocreate user homepages when add/modify user accounts
wordcounter Add a word-/charcounter to the edit form
mediamanager and filesize Append the size of the mediamanager selected file to the wikilink
media_attached media upload is attached to each page
template_chooser A simple dropdown box in editmode allows you to paste content from a template into the current document
login_instead_of_forbidden Show the login form when accessing a restricted page
display_acls Display ACLs in page footer
action_menu Action menu like in MoinMoin Wiki
DELETE_THEM Delete Apache owner:group files
export_html Export multiple pages to HTML
multilingual_content Multilingual content
newssystem A News System
subscription Prevent Email Of Changes to Subscribed Author
phashLogin Allows “GET” login with a phash password. Useful with RSS readers for example.
Integrate TinyURL Automatically create a short URL for every page
LDAP and usemanager ldap.class.php modification so that the usermanager plugin can display the LDAP users
usermanager and chained auth Manage each authentication method used by the chained method through the usermanager
Back to edited section After editing, go back to the edited section Native since version 2009-02-14
Filter Recent Changes Allows you to filter the list of 'Recent Changes' by username (for version 2008-05-05)
Filter Recent Changes Allows you to filter the list of 'Recent Changes' by username (for version 2009-02-14)
Separate Admin Login Use a special admin login, which cannot read or edit pages
User Pages Give everyone AUTH_EDIT on a page within a special namespace, where that page is their name
ClickNShow Hide/Show Headers clicking on them
Minor Edit by default Set the “Minor Edit” check mark by default

他のソフトウェアとの統合

コンテンツマネジメントシステムとフォーラム

リンク 説明
Mambo CMS How to integrate DokuWiki with Mambo CMS (Spanish)
XOOPS CMS A complete integration of DokuWiki with XOOPS for XOOPS 2.2.x and 2.0.x only
Joomla Bridge Bridge (authorization module) for using Joomla users in DokuWiki (Also available for Joomla 1.5)
Joomla Integration Full User Integration of DokuWiki and Joomla with no iframes! new ;-)
Joomla->DokuWiki Auto-Login DokuWiki Auto-Login - Used with the Joomla Bridge auth_joomla module, login to Joomla automatically logs you into DokuWiki
Drupal Authentication backend will enable your DokuWiki to authenticate using the Drupal database.
Drupal Integrate a DokuWiki installation into a Drupal front-end.
BLOG:CMS BLOG:CMS integrates DokuWiki with Weblog, Forum and Gallery in one package
NucleusCMS NucleusCMS integrates DokuWiki
OpenIMS CMS Authentication backend will enable your DokuWiki to authenticate using the OpenIMS database.
PHP Fusion CMS The TWB DokuWiki Infusion integrates DokuWiki into the PHP Fusion CMS. View the demo: http://www.web-bureau.com/infusions/dokuwiki/.
TextMate Bundle Edit pages inside Textmate
Absolut Engine DokuWiki bridging module has been created to allow seamless integration of DokuWiki into Absolut Engine CMS.
Zeroboard XE Authentication backend for Zeroboard XE, one of the famous Korean forum/CMS code.(in Korean) Based on Mohammed Sameer's Drupal authentication backend source code
glFusion CMS Nicely integrates DokuWiki with glFusion CMS. Authentication backend enables DokuWiki to authenticate using the glFusion database. Also supports all glFusion security groups and integrates glFusion's auto tag feature.

フォーラムのみ

リンク 説明
phpBB How to integrate DokuWiki with phpBB's authentication
phpBB 3.0.X How to integrate DokuWiki with phpBB3s authentication
Use DokuWiki Syntax in phpBB Use DokuWiki Syntax in phpBB (in German)
Invision Power Board IPB 2.x How to integrate DokuWiki with IPB 2.x authentification
PostNuke A “bridge” to integrate the look and the user management of PostNuke and DokuWiki. Runs without modifications to DokuWiki files!
XennoBB mysql_authentication XennoBB MySQL Authentication
PunBB (mod) A mod to integrate DokuWiki to PunBB forum (you can see an example at http://www.punres.org/)
PunBB (mysql_auth) PunBB MySQL Authentification [fr]
SMF (Simple Machines Forum) Authentication backend using SMF database.
Vanilla Lets Vanilla take care of all the user management, including sessions

ブログ

リンク 説明
DokuWiki WordPress Plugin How to add DokuWiki syntax to the WordPress blogging software
dw2wp A WordPress plugin to import content from DokuWiki
dwBliki A WordPress plugin. Downloadlink to the latest stable version (May 2005)
DokuWiki Markup Plugin Another Plugin for WordPress
Wordpress (mysql_auth) WordPress MySQL Authentication Integration
Geeklog Integrate DokuWiki in Geeklog

バグトラッカー

リンク 説明
GForge A plugin for using DokuWiki in GForge
Mantis Integration How to integrate DokuWiki with Mantis Bugtracker
Flyspray Flyspray Authentication Integration
Eventum Integration How to integrate DokuWiki with Eventum Issue Tracker

その他

リンク 説明
Synchronise with Tomboy How to synchronize Tomboy with DokuWiki
Integrate DokuWiki to your website As read-only pages

Interacting スクリプトとツール

リンク 説明
DokuWiki Setup Easy/automatic installation/upgrade - also fixing safe-mode issues
Maintenance Cronjobs to keep your wiki clean
Wikemail a script to import email into DokuWiki
OpenOffice Macro converts an OpenOffice document to DokuWiki format
OpenOffice v2 Macro converts an OpenOffice document to DokuWiki format, adapted for OOo v2
OpenOfficeMacro both of the above macros do not convert embedded pictures - this one does
Calc2Dokuwiki Exports selected ranges of cells from OpenOffice.org Calc into tables formatted in DokuWiki code. Tool available as an extension (OOo 2.1.x) and a macro (OOo 1.x-2.x)
Word Macro converts an MS Word document to DokuWiki format
Word Macro adaptation converts an MS Word document to DokuWiki format - improved conversion (for English Word) plus adaptation for German Word
Word to DokuWiki Converter improves upon the two macros above as it is a Word template that allows one to click a button in MS Word to convert a Word document, including images, to DokuWiki format (see Portfolio section on website)
Excel Macro An Excel macro to convert the selected cells into DokuWiki table syntax.
Backup Script A small shellscript to backup your wiki data and media, including rotation.
BackupToS3 A small ruby script to backup your wiki to Amazon's data storage system S3.
UpgradeScript A small script to make DokuWiki updates simpler
HTMLtoWiki How to convert HTML to DokuWiki syntax
Weblog bookmarklet A JavaScript/PHP combination to post in DokuWiki like regular weblogs
imap2wiki A small PHP script to give users the opportunity to post by email
DokuVimKi VIM Plugin that allows editing of wiki pages over XML-RPC + Syntax highlighting for DokuWiki syntax
vimkeys Key Bindings for [G]Vim
fixperms.php make webserver created files writable by everyone
csv2dwt A script that converts Comma Separated Values (CSV) to DokuWiki's Table format (DWT)
csv2dokuwiki Converts CSV input (tab separated) into DokuWiki's table syntax (in Java)
xls2wiki A script that converts XLS copied data to DokuWiki's Table format (DWT) and vice versa
mail2page create pages and upload media by email
romanize romanize files in datadir
DokuWiki2HtmlHelp Converts a DokuWiki website into a Compiled HTML Help file (.chm) complete with table of contents and index
jEdit An edit mode for jEdit that does syntax highlighting for headlines, character formats, lists and links
tofromdoku A DokuWiki command line utility
recreate wiki change log How to recreate your wiki change log from individual page change logs
readINIfile How to solve problem with parse_ini_file disabled
fixmtime Fix modification times based on timestamps (to avoid the external edit syndrome)
clean_acl Clean up nonexisting users and pages in the ACL
Clean Media Directory A little Perl script to clean up orphaned files in the Media-Directory
Logging in to retrieve pages with cURL Quick howto on retrieving pages that require logging in with curl.
Extract external links A small PHP script to extract all external links (with surrounding context) from the wiki

他の Wiki からのインポート

インポート元の Wiki 説明
ChuWiki A Python script for ChuWiki conversion
ErfurtWiki A PHP script for ewiki (ErfurtWiki) conversion
JSPWiki A plugin to import JSPWiki pages
MediaWiki Converts MediaWiki to DokuWiki
MoinMoin Python and PHP scripts for MoinMoin conversion.
Perspective A python script, must be run from Windows
TikiWiki A PHP script for TikiWiki conversion.
TWiki A TWiki to DokuWiki conversion script
Wakka Wiki A Perl script for Wakka Wiki conversion
Zwiki A Perl script for Zwiki conversion

雑多な情報

リンク 説明
integrate_with_smf SMF Integration
disabled_functions Patch if your webhost doesn't support glob or readfile
blogging This page describes the steps necessary to get you started with blogging in DokuWiki
multilingual_content The idea is to change wikipage when current language of DokuWiki interface is switched.
blacklist_test This little script helps to check a text against the blacklist
farm How to make DokuWiki a wiki farm
symlink_farm How to make DokuWiki a wiki farm (old version with symlinks)
htdigestauth Setting up htdigest user identification
pdfexport Export DokuWiki Page to PDFs
spell_checker_713 Aspell Personal Wordlists and Release 2005-07-13 (seems old)
svg.php This is a plugin to DokuWiki to allow collaborative generation of SVG images. (Make it a plugin if possible/useful)
utf8update DokuWiki UTF8 conversion
simplegooglesearch A simple Google search
bookmarklets JavaScript based wiki page editing helpers
DwExport DokuWiki export to static HTML pages including images and CSS formatting. ⇒ http://sourceforge.net/projects/dwexport/ Only v0.2
ja/tips.1261590615.txt.gz · 最終更新: 2009-12-23 18:50 by kazmiya

特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki