computer/linux/pukiwiki
の編集
http://siti.dip.jp/wiki/index.php?computer/linux/pukiwiki
[
トップ
] [
編集
|
差分
|
バックアップ
|
添付
|
リロード
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
-- 雛形とするページ --
bikefriday
books
BracketName
chemical
computer
computer/equation
computer/gromacs
computer/linux
computer/linux/apache2
computer/linux/cluster
computer/linux/emacs
computer/linux/FreeNAS
computer/linux/iptables
computer/linux/networking
computer/linux/ProFTPD
computer/linux/pukiwiki
computer/linux/RaspberryPi
computer/linux/service
computer/linux/torque
computer/programing
computer/programing/Eclipse
computer/programing/Python
computer/programing/python
computer/programing/Python/matplotlib
computer/programing/regular expression
computer/programing/vba
computer/programing/vmd
computer/windows
computer/windows/command prompt
computer/windows/ffmpeg
computer/windows/ImageJ
computer/windows/Inkscape
computer/windows/service
computer/windows/VBA
computer/windows/WebExpression
english
english/mail
english/P.R. response
english/あ
english/か
english/さ
FormattingRules
FrontPage
gnuplot
Help
InterWiki
InterWikiName
InterWikiSandBox
memo
memo/201902
memo/201903
memo/201904
memo/201905
memo/201907
memo/201911
memo/ai
memo/descri
memo/document
memo/life
memo/message
memo/procedure
memo/record
memo/work
memo/引っ越し
MenuBar
microserver
Notebook
PHP
PukiWiki
PukiWiki/1.4
PukiWiki/1.4/Manual
PukiWiki/1.4/Manual/Plugin
PukiWiki/1.4/Manual/Plugin/A-D
PukiWiki/1.4/Manual/Plugin/E-G
PukiWiki/1.4/Manual/Plugin/H-K
PukiWiki/1.4/Manual/Plugin/L-N
PukiWiki/1.4/Manual/Plugin/O-R
PukiWiki/1.4/Manual/Plugin/S-U
PukiWiki/1.4/Manual/Plugin/V-Z
RecentDeleted
SandBox
ST
testable
WikiEngines
WikiName
WikiWikiWeb
work
YukiWiki
#contents **[[sup.inc.php/sub.inc.php:http://acompass.net/centos6/?CentOS6%20%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E6%A7%8B%E7%AF%89/Wiki%E3%82%B5%E3%82%A4%E3%83%88%E6%A7%8B%E7%AF%89/PukiWiki%E6%94%B9%E9%80%A0%EF%BC%96]] [#f1dc62b1] These are superscript and subscript plugin which is in-line type. #highlighter(){{ &sup(argument); &sub(argument); }} Comma cannot be included in argument because comma means breakpoint of argument and comma is judged to be increase of argment. **math equation plugin [#y588b529] [[mathjax.inc.php:http://dev.abicky.net/pukiwiki/plugins/index.php?mathjax.inc.php]] **[[highlighter:http://www.revulo.com/PukiWiki/Plugin/Highlighter.html]] [#abd8dd78] **Listing support plugin [#o89b5e08] [[table_edit2.inc.php:http://taru.s223.xrea.com/index.php?PukiWiki%2Fmake%2Ftable_edit2.inc.php#qce0690a]] Althogh this plugin was developped for pukiwiki plus, we can use it in pukiwiki by little modification. +Change the pukiwiki.ini.php. #highlighter(PHP){{ define('PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK', 0); }} +Copy table_edit2.inc.php to plugin folder. +Copy plus folder to skin/image folder. Incidentally, table_edit2.mo and table_edit2.po are not used. +If this plugin is used in PHP5.6, following modification are needed. ''plugin/table_edit2.inc.php'' &color(#ff0000){(note!)}; Delete an and symbol for call by reference around line 112. #highlighter(PHP){{ -$head_button = $tei->open_close($opt['table_mod'], & $opt['edit']); +$head_button = $tei->open_close($opt['table_mod'], $opt['edit']); }} **Left justification of listing [#z587fd95] ''skin/pukiwiki.css.php'' #highlighter(PHP){{ pukiwiki.css.php .style_table { padding:0px; border:0px; - margin:auto; //comment out text-align:left; color:inherit; background-color:#ccd5dd; } -div.ie5 { text-align:center; } +div.ie5 { text-align:left; } }} pukiwikiでは、データを添付(アップロード)できる容量が制限されている。 下記の作業を行うことで、この制限を解除することができる。ここでは上限を50Mにするときの例を示す。 (1) pukiwiki側の設定 (i) (pukiwikiディレクトリ)/plugin/attach.inc.phpを書き換える。 書き換える場所は2箇所。 // max file size for upload on PHP(PHP default 2MB) ini_set(“upload_max_filesize”,”2M”); –> // max file size for upload on PHP(PHP default 2MB) ini_set(“upload_max_filesize”,”50M“); // Max file size for upload on script of PukiWikiX_FILESIZE define(‘PLUGIN_ATTACH_MAX_FILESIZE’, (1024 * 1024)); // default: 1MB –> // Max file size for upload on script of PukiWikiX_FILESIZE define(‘PLUGIN_ATTACH_MAX_FILESIZE’, (51200 * 1024)); // default: 50MB のように書き換える。 (ii) (pukiwikiディレクトリ)/plugin/dump.inc.php // 最大アップロードサイズ define(‘PLUGIN_DUMP_MAX_FILESIZE’, 1024); // Kbyte –> // 最大アップロードサイズ define(‘PLUGIN_DUMP_MAX_FILESIZE’, 51200); // Kbyte と書き換える。 これで、pukiwiki側の書き換えは終わり。 ただし、この変更だけだと、2Mまでのファイルしかアップロードすることができない。 2Mの制限を作っているのは、pukiwikiではなく、さーばーのphp本体。 なので、レンタルサーバーを使用してる場合は、レンタルサーバーの設定に依存する。 ※2Mというのはデフォルトのphpの設定 もし個人でサーバーを管理してる場合あれば、下記の作業を行うことで、さらに上限を上げることができる。 2. サーバーのPHPの設定 /etc/php.iniのファイルを変更する。 ※/etc/php.ini.defaultしかない場合は、php.ini.defaultをphp.iniとしてコピーした上で、php.iniを編集する。 改訂場所は下記の3箇所 memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) –> memory_limit = 80M ; Maximum amount of memory a script may consume (80MB) ※PHPが使用できる最大メモリサイズのようですので、添付ファイルサイズよりも大きく設定 ; Maximum allowed size for uploaded files. upload_max_filesize = 2M –> ; Maximum allowed size for uploaded files. upload_max_filesize = 50M ; Maximum size of POST data that PHP will accept. post_max_size = 8M –> ; Maximum size of POST data that PHP will accept. post_max_size = 80M (3) 設定ファイルを保存して、apacheを再起動(もしくはパソコン自体を再起動)する。 /etc/init.d/apache2 restart (Linuxの場合) apachectl restart (Macの場合) ---- PukiWiki/1.4/ちょっと便利に/テーブルの中央寄せor右寄せ http://pukiwiki.osdn.jp/dev/?PukiWiki/1.4/%E3%81%A1%E3%82%87%E3%81%A3%E3%81%A8%E4%BE%BF%E5%88%A9%E3%81%AB/%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E4%B8%AD%E5%A4%AE%E5%AF%84%E3%81%9Bor%E5%8F%B3%E5%AF%84%E3%81%9B
タイムスタンプを変更しない
#contents **[[sup.inc.php/sub.inc.php:http://acompass.net/centos6/?CentOS6%20%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E6%A7%8B%E7%AF%89/Wiki%E3%82%B5%E3%82%A4%E3%83%88%E6%A7%8B%E7%AF%89/PukiWiki%E6%94%B9%E9%80%A0%EF%BC%96]] [#f1dc62b1] These are superscript and subscript plugin which is in-line type. #highlighter(){{ &sup(argument); &sub(argument); }} Comma cannot be included in argument because comma means breakpoint of argument and comma is judged to be increase of argment. **math equation plugin [#y588b529] [[mathjax.inc.php:http://dev.abicky.net/pukiwiki/plugins/index.php?mathjax.inc.php]] **[[highlighter:http://www.revulo.com/PukiWiki/Plugin/Highlighter.html]] [#abd8dd78] **Listing support plugin [#o89b5e08] [[table_edit2.inc.php:http://taru.s223.xrea.com/index.php?PukiWiki%2Fmake%2Ftable_edit2.inc.php#qce0690a]] Althogh this plugin was developped for pukiwiki plus, we can use it in pukiwiki by little modification. +Change the pukiwiki.ini.php. #highlighter(PHP){{ define('PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK', 0); }} +Copy table_edit2.inc.php to plugin folder. +Copy plus folder to skin/image folder. Incidentally, table_edit2.mo and table_edit2.po are not used. +If this plugin is used in PHP5.6, following modification are needed. ''plugin/table_edit2.inc.php'' &color(#ff0000){(note!)}; Delete an and symbol for call by reference around line 112. #highlighter(PHP){{ -$head_button = $tei->open_close($opt['table_mod'], & $opt['edit']); +$head_button = $tei->open_close($opt['table_mod'], $opt['edit']); }} **Left justification of listing [#z587fd95] ''skin/pukiwiki.css.php'' #highlighter(PHP){{ pukiwiki.css.php .style_table { padding:0px; border:0px; - margin:auto; //comment out text-align:left; color:inherit; background-color:#ccd5dd; } -div.ie5 { text-align:center; } +div.ie5 { text-align:left; } }} pukiwikiでは、データを添付(アップロード)できる容量が制限されている。 下記の作業を行うことで、この制限を解除することができる。ここでは上限を50Mにするときの例を示す。 (1) pukiwiki側の設定 (i) (pukiwikiディレクトリ)/plugin/attach.inc.phpを書き換える。 書き換える場所は2箇所。 // max file size for upload on PHP(PHP default 2MB) ini_set(“upload_max_filesize”,”2M”); –> // max file size for upload on PHP(PHP default 2MB) ini_set(“upload_max_filesize”,”50M“); // Max file size for upload on script of PukiWikiX_FILESIZE define(‘PLUGIN_ATTACH_MAX_FILESIZE’, (1024 * 1024)); // default: 1MB –> // Max file size for upload on script of PukiWikiX_FILESIZE define(‘PLUGIN_ATTACH_MAX_FILESIZE’, (51200 * 1024)); // default: 50MB のように書き換える。 (ii) (pukiwikiディレクトリ)/plugin/dump.inc.php // 最大アップロードサイズ define(‘PLUGIN_DUMP_MAX_FILESIZE’, 1024); // Kbyte –> // 最大アップロードサイズ define(‘PLUGIN_DUMP_MAX_FILESIZE’, 51200); // Kbyte と書き換える。 これで、pukiwiki側の書き換えは終わり。 ただし、この変更だけだと、2Mまでのファイルしかアップロードすることができない。 2Mの制限を作っているのは、pukiwikiではなく、さーばーのphp本体。 なので、レンタルサーバーを使用してる場合は、レンタルサーバーの設定に依存する。 ※2Mというのはデフォルトのphpの設定 もし個人でサーバーを管理してる場合あれば、下記の作業を行うことで、さらに上限を上げることができる。 2. サーバーのPHPの設定 /etc/php.iniのファイルを変更する。 ※/etc/php.ini.defaultしかない場合は、php.ini.defaultをphp.iniとしてコピーした上で、php.iniを編集する。 改訂場所は下記の3箇所 memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) –> memory_limit = 80M ; Maximum amount of memory a script may consume (80MB) ※PHPが使用できる最大メモリサイズのようですので、添付ファイルサイズよりも大きく設定 ; Maximum allowed size for uploaded files. upload_max_filesize = 2M –> ; Maximum allowed size for uploaded files. upload_max_filesize = 50M ; Maximum size of POST data that PHP will accept. post_max_size = 8M –> ; Maximum size of POST data that PHP will accept. post_max_size = 80M (3) 設定ファイルを保存して、apacheを再起動(もしくはパソコン自体を再起動)する。 /etc/init.d/apache2 restart (Linuxの場合) apachectl restart (Macの場合) ---- PukiWiki/1.4/ちょっと便利に/テーブルの中央寄せor右寄せ http://pukiwiki.osdn.jp/dev/?PukiWiki/1.4/%E3%81%A1%E3%82%87%E3%81%A3%E3%81%A8%E4%BE%BF%E5%88%A9%E3%81%AB/%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E4%B8%AD%E5%A4%AE%E5%AF%84%E3%81%9Bor%E5%8F%B3%E5%AF%84%E3%81%9B
テキスト整形のルールを表示する