PyukiWiki CVS Commit
pyuki****@lists*****
2012年 3月 18日 (日) 02:48:16 JST
Index: PyukiWiki-Devel-UTF8/plugin/newpage.inc.pl diff -u PyukiWiki-Devel-UTF8/plugin/newpage.inc.pl:1.320 PyukiWiki-Devel-UTF8/plugin/newpage.inc.pl:1.321 --- PyukiWiki-Devel-UTF8/plugin/newpage.inc.pl:1.320 Sun Mar 18 02:33:48 2012 +++ PyukiWiki-Devel-UTF8/plugin/newpage.inc.pl Sun Mar 18 02:48:16 2012 @@ -1,6 +1,6 @@ ###################################################################### # newpage.inc.pl - This is PyukiWiki, yet another Wiki clone. -# $Id: newpage.inc.pl,v 1.320 2012/03/17 17:33:48 papu Exp $ +# $Id: newpage.inc.pl,v 1.321 2012/03/17 17:48:16 papu Exp $ # # "PyukiWiki" ver 0.2.0-p3 $$ # Author: Nekyo http://nekyo.qp.land.to/ @@ -37,26 +37,30 @@ } else { $pathname = $pagename; } - if($::database{$pathname}=~/(^#blog|\n#blog)/) { - $flg=1; - $basepage=$pathname; - my $tmp=$database{$pathname}; - $tmp=~/\#blog\(([^\,\)]+)\,([^\,\)]+)/; - if($2 ne '') { - $basepage=&trim($2); - } - $tmp=~/\#blog\(([^\,\)]+)\,([^\,\)]+)\,([^\,\)]+)/; - if($3 ne '') { - $basepage=&trim($2); - $catepage=&trim($3); + if(0) { # ä¸æçã«æ©è½åæ¢ # comment + if($::database{$pathname}=~/(^#blog|\n#blog)/) { + $flg=1; + $basepage=$pathname; + my $tmp=$database{$pathname}; + $tmp=~/\#blog\(([^\,\)]+)\,([^\,\)]+)/; + if($2 ne '') { + $basepage=&trim($2); + } + $tmp=~/\#blog\(([^\,\)]+)\,([^\,\)]+)\,([^\,\)]+)/; + if($3 ne '') { + $basepage=&trim($2); + $catepage=&trim($3); + } } } } - if($flg eq 1 && 1 == &exist_plugin('blog')) { - if($catepage ne '') { - return &plugin_blog_edit_new($pathname, $catepage); - } else { - return &plugin_blog_edit_new($pathname); + if(0) { #ä¸æçã«æ©è½åæ¢ # comment + if($flg eq 1 && 1 == &exist_plugin('blog')) { + if($catepage ne '') { + return &plugin_blog_edit_new($pathname, $catepage); + } else { + return &plugin_blog_edit_new($pathname); + } } } }