#author("2020-10-09T06:04:35+09:00","","")
[[第四演出室]]

*AutoAliasName [#f665fc75]

「指定した単語」に対し、指定した「URI、ページ、またはInterWiki」に対するリンクを自動的に張る機能

 -[[hoo>リンク]]

質問箱/5383

暫定対策として (UTF-8の場合) lib/make_link.php:120 の preg_replace_callback() のオプションを '/x' から '/xu' にすると PHP7.3 でも動作するようになりました。バグですので次のバージョンで修正します。dev:BugT  rack/2512 -- umorigu 2020-08-18 (火) 02:48:24

 (lib/make_link.php:120)
  		$this->result = array();
  
 -		$string = preg_replace_callback('/' . $this->pattern . '/x',
 +		$string = preg_replace_callback('/' . $this->pattern . '/xu',
  			array(& $this, 'replace'), $string);

解決いたしました。本当にありがとうございました。 -- 質問主 2020-08-21 (金) 22:36:23

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS