[Moin-user] Bug in NewPage macros?

shiva shavrin.ivan at gmail.com
Sun Mar 9 17:30:53 EDT 2008


 > Hello,
  >
  > I have a problem using <<NewPage>> macros:
  >
  > when I choose non-latin page name (such as "Шаблоны/Предмет") for a
  > template in the macros, I have "Template
  > %D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD%D1%8B/%D0%9F%D1%80%D0%B5%D0%B4%D0%BC%D0%B5%D1%82
  > not found" error.
  >
  > Here is an example:
  >
  > <<NewPage(Шаблоны/Предмет,Добавить предмет, at SELF)>>
  >
  > I use:
  >   - MoinMoin-1.6.0
  >   - Python-2.4.3

  Hello Dmitriy,

  it happens because of a bug in NewPage macro, which results in
  double-encoding of percent signs.  I've fixed it a while ago, see
  attachment.  Currently, it's more like a kluge, but, anyway, works great
  as a workaround.


  --
  yours, shiva
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewPage.py
Type: application/octet-stream
Size: 4096 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/moin-user/attachments/20080310/2c163e7c/attachment.obj>


More information about the Moin-user mailing list