[Moin-user] Problem with TrustedEditorGroup
R.Bauer
rb.proj at gmail.com
Mon Nov 10 03:54:03 EST 2008
Steven W. Orr schrieb:
> On Sunday, Nov 9th 2008 at 03:10 -0000, quoth Thomas Waldmann:
>
> =>> =>> textchas_disabled_group = u"TrustedEditorGroup"
> =>> The content of my current TrustedEditorGroup is simply
> =>>
> =>> #acl MrAdmin:read,write,delete,revert
> =>>
> =>> * Name1Admin
> =>> * Name2Admin
> =>>
> =>
> =>That should work (no textchas) if you're logged in as Name1/2Admin.
> =>
> =>Maybe stop wiki engine, delete the cache (data/cache/...), start wiki engine.
> =>
> =>> =>Yes. Please read docs/CHANGES about required page_*_regex changes.
> =>> =>
> =>> =>If you just want regexes working for English, you can also just remove
> =>> =>them all from your wikiconfig and use the builtin defaults.
> =>>
> =>> Sorry if I'm being dense here, but I don't get it.
> =>>
> =>> I commented out the lines in my wikiconfig.py that assign to
> =>> page_category_regex = ur'(?P<all>Category(?P<key>(?!Template)\S+))'
> =>> page_dict_regex = ur'(?P<all>(?P<key>\S+)Dict)'
> =>> page_group_regex = ur'(?P<all>(?P<key>\S+)Group)'
> =>> page_template_regex = ur'(?P<all>(?P<key>\S+)Template)'
> =>> and I end up with an attempt to try to edit a page still asking me for a
> =>> textcha answer.
> =>
> =>OK, it looks like your regexes already were 1.7 compatible (assuming you
> =>are editing the config that is used for your wikis).
>
> That did it. I stopped apache, deleted the content of data/cache and then
> restarted apache.
>
> As a general question, when do I need to do this?
Whenever you change the regex for the group definition. I do it always
after migration to a newer version.
cheers
Reimar
More information about the Moin-user
mailing list