Moodle

Match whole words only don't work for non-ASCII characters

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.6.2
  • Fix Version/s: None
  • Component/s: Glossary
  • Labels:
  • Environment:
    Moodle 1.6.2+ from 15.09
    httpd-2.2.2
    php-4.4.2
    mysql-4.1.20
  • Affected Branches:
    MOODLE_16_STABLE

Description

I have concept with some keywords. I set Match whole words only. But autolink create in words part on keyword.
For example: I have concept "books" with keyword "book" and set Match whole words only. Autolink creates on "book" in word "booking"...
Russian example: concept "?????", keyword "??". Autolink creates on "??" in word "???????"...

Activity

Hide
Artem Andreev added a comment -
Show
Artem Andreev added a comment - Disscusion http://moodle.org/mod/forum/discuss.php?d=54230
Hide
Petr Škoda (skodak) added a comment -

This is a known problem, sorry

The solution is not easy due to virtually no support of Unicode in current PHP versions. I know it used to work in 1.5.x.
I am afraid the code for searching and highlighting will have to undergo a major rewrite.

Show
Petr Škoda (skodak) added a comment - This is a known problem, sorry The solution is not easy due to virtually no support of Unicode in current PHP versions. I know it used to work in 1.5.x. I am afraid the code for searching and highlighting will have to undergo a major rewrite.
Hide
Artem Andreev added a comment -

<strong>The solution is not easy due to virtually no support of Unicode in current PHP versions.</strong>

But when I search peoples - it works fine... Tim Hunt rewrote comparing student responses to the teacher's answers in short answer for 1.7 (see http://moodle.org/mod/forum/discuss.php?d=54223)...But i can't test it at this moment... But may be it help in this bug and MDL-6054...

Show
Artem Andreev added a comment - <strong>The solution is not easy due to virtually no support of Unicode in current PHP versions.</strong> But when I search peoples - it works fine... Tim Hunt rewrote comparing student responses to the teacher's answers in short answer for 1.7 (see http://moodle.org/mod/forum/discuss.php?d=54223)...But i can't test it at this moment... But may be it help in this bug and MDL-6054...
Hide
Petr Škoda (skodak) added a comment -

Thanks for the info, I will add this to my loooong TO DO list after 1.7 release.

Show
Petr Škoda (skodak) added a comment - Thanks for the info, I will add this to my loooong TO DO list after 1.7 release.
Hide
Artem Andreev added a comment -

My last comment in MDL-6054 solve this problem...

Show
Artem Andreev added a comment - My last comment in MDL-6054 solve this problem...
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.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: