Moodle

Camelcase in words with german umlaute

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.6.1, 1.7.7, 1.8.8, 1.9.4
  • Fix Version/s: None
  • Component/s: Wiki (1.x)
  • Labels:
    None
  • Affected Branches:
    MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

Description

In words with german Umlaute as third or later letter the wiki creates in camelcase mode new websites.

see file in attachement

Activity

Hide
Sami Mussbach added a comment -

This Issue is still unresolved in 1.9.2! Do you still work on it? I would appreciate a bugfix. Thank you

Show
Sami Mussbach added a comment - This Issue is still unresolved in 1.9.2! Do you still work on it? I would appreciate a bugfix. Thank you
Hide
Anthony Borrow added a comment -

I am re-assigning this back to moodle.com. Since Ludo did not respond it seems that he may be working on other things. If Ludo is still working on the wiki stuff then it can be re-assigned back to him. I just wanted it to get another look. Peace - Anthony

Show
Anthony Borrow added a comment - I am re-assigning this back to moodle.com. Since Ludo did not respond it seems that he may be working on other things. If Ludo is still working on the wiki stuff then it can be re-assigned back to him. I just wanted it to get another look. Peace - Anthony
Hide
Anthony Borrow added a comment -

I am assuming this is an issue in the releases since 1.6 so I am adding those so they show up. Peace - Anthony

Show
Anthony Borrow added a comment - I am assuming this is an issue in the releases since 1.6 so I am adding those so they show up. Peace - Anthony
Hide
Ralf Hilgenstock added a comment -

Hi Anthony,

I think it doesn't make sense to try to solve this problem in the old wiki system. But we should assigne it to Ludo again. There are two things we should check whith 2.0 wiki system:

  • Does the new wiki system handle special characters correct.
  • What happens if old wiki pages including special character (Umlaute) are updated to the new system. How are this incorrect pages handled? Did we have to prepare existing pages in old system. The problem may be that it looks like an empty prepared new page but that was never planned.
Show
Ralf Hilgenstock added a comment - Hi Anthony, I think it doesn't make sense to try to solve this problem in the old wiki system. But we should assigne it to Ludo again. There are two things we should check whith 2.0 wiki system:
  • Does the new wiki system handle special characters correct.
  • What happens if old wiki pages including special character (Umlaute) are updated to the new system. How are this incorrect pages handled? Did we have to prepare existing pages in old system. The problem may be that it looks like an empty prepared new page but that was never planned.
Hide
Ralf Krause added a comment -

Hi all,

the wiki problem with the German Umlaut ä now exists since 2006. I think that this problem must be searched in the change of coding from ISO-8859-1 (Moodle 1.5.x and lower) to UTF-8 (Moodle 1.6.x and higher)

Every word has this problem if it starts with an upper case and contains an ä on the third or any upper place. If anybody wants to work with the wiki in Moodle then he will get this problem. A lot of people told me that they must have an external wiki added to Moodle to use this external one in their school lessons.

When do we get the wiki 2.0? Are there any plans to push wiki 2.0 into Moodle 1.9.x?

Ralf

Show
Ralf Krause added a comment - Hi all, the wiki problem with the German Umlaut ä now exists since 2006. I think that this problem must be searched in the change of coding from ISO-8859-1 (Moodle 1.5.x and lower) to UTF-8 (Moodle 1.6.x and higher) Every word has this problem if it starts with an upper case and contains an ä on the third or any upper place. If anybody wants to work with the wiki in Moodle then he will get this problem. A lot of people told me that they must have an external wiki added to Moodle to use this external one in their school lessons. When do we get the wiki 2.0? Are there any plans to push wiki 2.0 into Moodle 1.9.x? Ralf
Hide
Ralf Krause added a comment -

Every word with an upper case first character and the German umlaut ä on the third or upper place is marked.

Show
Ralf Krause added a comment - Every word with an upper case first character and the German umlaut ä on the third or upper place is marked.
Hide
Ralf Krause added a comment -

Hi,

the problem should be in the file moodle/mod/wiki/ewiki/ewiki.php

In the lines 97 and 98 you can see the following statements

define("EWIKI_CHARS_L", "a-z_µ¤$\337-\377");
define("EWIKI_CHARS_U", "A-Z0-9\300-\336");

In the original eWiki files from http://sourceforge.net/projects/erfurtwiki/files/ I found a pair of different statements

define("EWIKI_CHARS_L", "a-z_µ¤ß-ÿ$"); # \337-\377
define("EWIKI_CHARS_U", "A-Z0-9À-Þ"); # \300-\336

I don't know want I should do for international characters but when I change the lines in Moodle source to the following then I get correct Links in German language. I wonder that I can't set the äöuß inti the string of lower characters.

define("EWIKI_CHARS_L", "a-z_$");
define("EWIKI_CHARS_U", "A-Z0-9ÄÖÜÃÁÀÂÉÈÊÍÌÎÕÓÒÔÚÙÛ");

Best regards, Ralf

Show
Ralf Krause added a comment - Hi, the problem should be in the file moodle/mod/wiki/ewiki/ewiki.php In the lines 97 and 98 you can see the following statements define("EWIKI_CHARS_L", "a-z_µ¤$\337-\377"); define("EWIKI_CHARS_U", "A-Z0-9\300-\336"); In the original eWiki files from http://sourceforge.net/projects/erfurtwiki/files/ I found a pair of different statements define("EWIKI_CHARS_L", "a-z_µ¤ß-ÿ$"); # \337-\377 define("EWIKI_CHARS_U", "A-Z0-9À-Þ"); # \300-\336 I don't know want I should do for international characters but when I change the lines in Moodle source to the following then I get correct Links in German language. I wonder that I can't set the äöuß inti the string of lower characters. define("EWIKI_CHARS_L", "a-z_$"); define("EWIKI_CHARS_U", "A-Z0-9ÄÖÜÃÁÀÂÉÈÊÍÌÎÕÓÒÔÚÙÛ"); Best regards, Ralf
Hide
Detlef Anschlag added a comment -

I want to emphasize that the little code work to fix this bug is worth the effect to get it solved. We still have to use 1.9x for a time. The irritation that this error produces to users, expecially younger students and newbie teachers, is able to defend using the wiki in german speaking regions. Regards Detlef Anschlag moodleSCHULE e.V.

Show
Detlef Anschlag added a comment - I want to emphasize that the little code work to fix this bug is worth the effect to get it solved. We still have to use 1.9x for a time. The irritation that this error produces to users, expecially younger students and newbie teachers, is able to defend using the wiki in german speaking regions. Regards Detlef Anschlag moodleSCHULE e.V.
Hide
Ralf Krause added a comment -

How can I test this problem in Wiki 2.0?

I found that Moodle 2.0 also comes with the old Wiki 1.0 and the old bugs. Please tell me how I can install the newer wiki so I can see the new features and control the old mistakes.

Ralf

Show
Ralf Krause added a comment - How can I test this problem in Wiki 2.0? I found that Moodle 2.0 also comes with the old Wiki 1.0 and the old bugs. Please tell me how I can install the newer wiki so I can see the new features and control the old mistakes. Ralf
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Dates

  • Created:
    Updated:
    Resolved: