DokuWikiの改造

カスタマイズ

InterWikiの日本語対応

wpja http://ja.wikipedia.org/wiki/ google.jp http://www.google.co.jp/search?q= </code>を記述(interwiki.confはバージョンアップで上書きされる)

フッタのファイル情報

inc/templete.php function tpl_pageinfo(){ という場所を検索 global $REV; の後ろに global $ID; を追加。

// $fn = utf8_decodeFN($fn); $fn = ''.$ID.'';

記事用リンクソースの表示

if ($REQUEST['mbdo'] == '') { $title = tpl_pagetitle($ID,true); $tid = $ID; if ($tid == 'index') {$tid = '';} print “記事用リンクソース:<input type="text" name="link_source" size="30" value='<a href="”; print DOKU_URL.$tid; print “" title="”; print $conf['title']; print “ - ”; print $title; print “">”; print $title; print “</a>' onfocus="this.select()" />”; }</code> - lib/tpl/テンプレート/main.phpに<code php><?php if (file_exists(dirname(FILE).'/linksource.php')) include_once(dirname(FILE).'/linksource.php'); ?></code>