From cbb2cf5f056dc2306076ff577f0a76281ccc7a03 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 31 Oct 2005 01:30:03 +0000 Subject: [PATCH] Don't forget to use the 'u' modifier on linktrail regexes that use character ranges! Without it they are interpreted as byte ranges and may match incorrect stuff. --- languages/LanguageUdm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/LanguageUdm.php b/languages/LanguageUdm.php index a208eefb39..8a22499fac 100644 --- a/languages/LanguageUdm.php +++ b/languages/LanguageUdm.php @@ -34,8 +34,8 @@ if($wgMetaNamespace === FALSE) /* private */ $wgAllMessagesUdm = array( -'linktrail' => '/^((?:[a-zа-яёӝӟӥӧӵ“»])+)(.*)$/sD', -'linkprefix' => '/^(.*?)(„|«)$/sD', +'linktrail' => '/^((?:[a-zа-яёӝӟӥӧӵ“»])+)(.*)$/sDu', +'linkprefix' => '/^(.*?)(„|«)$/sDu', 'article' => 'Статья', 'createaccount' => 'выль вики-авторлэн регистрациез', 'edit' => 'тупатыны', -- 2.20.1