pukiwiki1.5/pukiwiki.ini.php の履歴ソース(No.3)

#author("2023-10-11T01:20:46+09:00","default:nemusg.pad","nemusg.pad")
* Custom [#x5dea244]

#contents

** 自動リンクを解除する [#ie6710d5]

- GitHub などが自動的にリンクにされてしまう設定を解除する
- pukiwiki.ini.php を編集する

 $nowikiname = 1;


** 編集を制限したい [#f8a32156]

pukiwiki.ini.php を編集する

 // Edit auth (0:Disable, 1:Enable)
 $edit_auth = 1;
 
 $edit_auth_pages = array(
	// Regex		   Username
	//'/^(FrontPage|MenuBar|iplog)$/'	=> 'username',
	//'/文字/' => 'username', // 「文字」が含まれるページ名の制限
	//'/^FrontPage.*$/' => 'username', // 「FrontPage」で始まるページ名の制限
	//'/^[^\/]+$/'	=> 'username', //スラッシュが無いページは制限
	'/^.*$/'	=> 'username', //全てのページを制限
 );