Something that is not in the core PmWiki seems to be is interfering. It works here:

https://www.pmwiki.org/wiki/Test/%d0%a2%d0%b5%d1%81%d1%82%d0%9d%d0%b0%d0%9a%d0%b8%d1%80%d0%b8%d0%bb%d0%b8%d1%86%d0%b0

It also works redirecting from a Cyrillic name "Петко" to a Latin page name. On my own wiki I tested with Cyrillic group names, it works as well.

You may have some addon or a local customization that prevents this from working. You should include scripts/xlpage-utf-8.php very early in config.php, before external recipes.

Petko / Петко

--
If you upgrade :  http://www.pmwiki.org/Upgrades


On 19/03/2019 14:49, Mikhail Ustinov wrote:
Hi!

I have a site with cyrillic letters in names of pages.

Redirect (markup (:redirect:)) from such page doesn't work.

I receive something like "The page
D0A1D0BbD183D0B6D0B5D0B1D0BdD18bD0B5/D0A2D0B5D181D1821 not found".

But in quiet mode all works properly.

When I set $EnableRedirect=0, I see something like

Redirect to
https://<mydomain>/pmwiki/index.php/%d0%a1%d1%82%d1%80%d0%b0%d0%bd%d1%8b/%d0%9d%d0%b0%d0%b2%d0%b0%d1%80%d1%80%d0%b0?from=<cyrillic_letters>
<https://www.allmonarchs.net/pmwiki/index.php/%d0%a1%d1%82%d1%80%d0%b0%d0%bd%d1%8b/%d0%9d%d0%b0%d0%b2%d0%b0%d1%80%d1%80%d0%b0?from=%D0%A1%D1%82%D1%80%D0%B0%D0%BD%D1%8B.%D0%9F%D0%B0%D0%BC%D0%BF%D0%BB%D0%BE%D0%BD%D0%B0>

It seems that function RedirectMarkup or sometheng else does not
convert $pagename with cyrillic symbols to UTF8 or loose the "%"
symbol.

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to