Description

Describe the bug...

Steps to reproduce

  1. Setup a MoinMoin wiki with page_dict_regex = u'[a-z]Noter$'

  2. Realize that PageEditor has hardcoded the dict name to be UserHomepage/MyDict, regardless of your wanted extension

Example

Details

MoinMoin Version

1.3.4

OS and Version

Debian sarge

Workaround

Discussion

Using page_dict_regex might might be a problem, since you need to localize both "My" and "Dict" and it may look like "DictMy" in some languages, or not make sense at all. Also, if the admin did not add a custom dict regex, and use the default "Dict" suffix, the page might become (in Hebrew) אישי Dict or MyNoter (da?) which does not make any sense :) .

Also , what happen if a wiki has both English Dict regex and localized version? you can have both MyDict and MyLocalizedDict pages, then which page you should use for variable expansion? which page will come first? Does the first definition or last count?

Simple solution is localize MyDict. If the translation is good, it will match the page_dict_regex for that language. Only the translated page will be checked for a user.

Another solution - make the personal dict part of user preferences. You can't create a personal dict page and you don't need to, you have one already, just add words there.

We will have the same problem if we want to move the sidebar content into a user page, like MySidebar, or the user quicklinks into MyBookmarks etc.

Plan


CategoryMoinMoinBug

MoinMoin: FeatureRequests/MakeMyDictTranslateable (last edited 2007-10-29 19:10:39 by localhost)