Skip to content

Preventing automatic link generation with ! fails with pypy interepreterΒ #92

@CendioMartin

Description

@CendioMartin

As per @ThomasWaldmann suggestion in #91, running with pypy instead of CPython is way forward until Moin2 is stable.

I stumbled upon a problem with negating automatic link generation. Prepending !CamelCase should produce
CamelCase
but does not. It's successful in not tuning it to a link, but it ouputs as
!CamelCase

It's easy enough to reproduce:
Download the latest release of pypy2:
curl -O https://downloads.python.org/pypy/pypy2.7-v7.3.9-linux64.tar.bz2

Clone moin repo
git clone https://github.com/moinwiki/moin-1.9

Start Desktop Edition of moinmoin
/path/to/pypy wikiserver.py

Point your browser to the wiki and create a page with a link and watch the output.
(I had to edit wikiserverconfig.py and insert DesktopEdition = True to be able to edit/create pages)

Press Ctrl+C to stop the wikiserver.py and start it with CPython:
python wikiserver.py

Refresh that same page and you should see it output as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions