From bc8c959ad61aa50b1956d8a9223ad0ebec39a09d Mon Sep 17 00:00:00 2001 From: dairiki Date: Wed, 7 Mar 2001 16:45:20 +0000 Subject: [PATCH] Recognize international characters in WikiWords. We do this by using POSIX character classes (like [[:upper:]]) in the perl regexps. Getting this to work involves calling setlocale(). (See comments in lib/config.php for more details.) I suspect my current hacks will not work in all PHP environments. I'd appreciate success/failure reports. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@468 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- index.php | 4 ++-- lib/config.php | 24 +++++++++++++++++++++++- lib/transform.php | 4 ++-- 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index eff3e63c0..ab1160c5b 100644 --- a/index.php +++ b/index.php @@ -11,7 +11,7 @@ ///////////////////////////////////////////////////////////////////// define ('PHPWIKI_VERSION', '1.3.0pre'); require "lib/prepend.php"; -rcs_id('$Id: index.php,v 1.12 2001-02-17 18:05:47 wainstead Exp $'); +rcs_id('$Id: index.php,v 1.13 2001-03-07 16:45:19 dairiki Exp $'); ///////////////////////////////////////////////////////////////////// // @@ -176,7 +176,7 @@ $InlineImages = "png|jpg|gif"; // Perl regexp for WikiNames ("bumpy words") // (?register(WT_TOKENIZER, 'wtt_urls', if (function_exists('wtt_interwikilinks')) { $transform->register(WT_TOKENIZER, 'wtt_interwikilinks', - "!?(?register(WT_TOKENIZER, 'wtt_bumpylinks', "!?$WikiNameRegexp"); -- 2.45.2