ページへ戻る
− Links
印刷
Ver 0.7.4 (ページ名読みをDBに格納)
の編集 ::
XOOPS マニア
xpwiki
:
xpWiki開発日記
/
2006-11-29
の編集
xpWiki開発日記/2006-11-29 の編集
詳細な入力項目を表示
ページタイトル
( 空白で自動設定 )
:
ページ頭文字読み:
ページ並び順
( 0-9 小数可 標準:1 )
:
ページ別名
(複数は[
改行
]で区切る)
:
ページ内容:
#navi(../) RIGHT:&tag(Reading,読み,DB化,基本設計); #boxdate * Ver 0.7.4 (ページ名読みをDBに格納) [#h5317195] ページ名の読みを、pginfo DB に格納するようにしました。 DBフィールドを追加したので&font(Red,b){モジュールアップデートを実行};してください。 オリジナルの PukiWiki は、1つのWikiページにすべてのページの読みを保存するようになっているのですが、これだと、ページ数が増えた時のパフォーマンス低下が避けられないことと、メンテナンス性に問題があるので、DBに格納するようにしました。 さらに、ページ名読み ⇒ ページ頭文字読み に変更しました。 例えば「メモ/色々/下書き」というページ名の場合「メ/イ/シ」となります。 一覧で日本語ページの読みを反映したい場合は、pukiwiki.ini.php での以下の設定項目を適切に設定してください。ただし「$root->pagereading_config_page」は、意味を持ちません。 #code(php){{ ///////////////////////////////////////////////// // Page-reading feature settings // (Automatically creating pronounce datas, for Kanji-included page names, // to show sorted page-list correctly) // Enable page-reading feature by calling ChaSen or KAKASHI command // (1:Enable, 0:Disable) $root->pagereading_enable = 0; // Specify converter as ChaSen('chasen') or KAKASI('kakasi') or None('none') $root->pagereading_kanji2kana_converter = 'none'; // Specify Kanji encoding to pass data between PukiWiki and the converter $root->pagereading_kanji2kana_encoding = 'EUC'; // Default for Unix //$root->pagereading_kanji2kana_encoding = 'SJIS'; // Default for Windows // Absolute path of the converter (ChaSen) $root->pagereading_chasen_path = '/usr/local/bin/chasen'; //$root->pagereading_chasen_path = 'c:\progra~1\chasen21\chasen.exe'; // Absolute path of the converter (KAKASI) $root->pagereading_kakasi_path = '/usr/local/bin/kakasi'; //$root->pagereading_kakasi_path = 'c:\kakasi\bin\kakasi.exe'; // Page name contains pronounce data (written by the converter) $root->pagereading_config_page = ':config/PageReading'; // Page name of default pronouncing dictionary, used when converter = 'none' $root->pagereading_config_dict = ':config/PageReading/dict'; }} * コメント [#f827b307] #comment #navi(../)
編集の要約:
Q & A 認証:
ページ更新時は次の質問にお答えください。(プレビュー時は必要ありません)
Q:
日本の首都は?(漢字で)
A:
お名前:
タイムスタンプを変更しない
テキスト整形のルールを表示する
[1]
添付ファイル
[2]
:
Links list
(This host) = https://xoops.hypweb.net
(This host)
/modules/xpwiki/?cmd=edit&help=true&page=xpWiki%B3%AB%C8%AF%C6%FC%B5%AD%2F2006-11-29
(This host)
/modules/xpwiki/?plugin=attach&pcmd=list&refer=xpWiki%B3%AB%C8%AF%C6%FC%B5%AD%2F2006-11-29