Partial words highlighted
Just tried to reproduce it, but could not.
What version of PHP, MW and of Lingo are you using?
Is your wiki public so I could have a look?
Hello and thank you for taking the time to asnwer!
My Wiki, unfortunately, is closed and you would need to register in order to read the articles, so I wouldn't want to bother you this much. Besides, it's not in English...
Anyway, here's a screenshot in which you can clearly see my problem: the word from the Terminology page is "rigor", however it appears highlighted as a part of Grigoriy.
As for the versions: MediaWiki 1.17.0, PHP 5.2.17 (cgi), MySQL 5.0.92-community-log
And this happens with Lingo 0.2?
Edit: Never mind, I know what the problem is. The algorithm does not properly align on word bounderies for cyrillic script. I'll try to fix it.
It is fixed, indeed. Thank you very much!
On another matter, is there any possibility to have links between some of the entries in the Terminology page? For example, if we have a main entry of a word, another - like the plural form, to extract the explanation from the main entry? This would be very handy, because in Bulgarian the definite article is actually formed by adding a suffix to the word, rather than a separate particle as it is in English.
Sure it's possible. Just download the latest SVN and then put someting like this into your Terminology page:
;Foo ;Bar ;Baz :Bogus word used in examples
All three words (Foo, Bar, Baz) will now have the same definition.
Thanks for this good idea! :)
You are amazing! Thank you so much for the quick reaction and for all your support!
Sorry for bothering you, but only now did I find out that the new syntaxes has a problem. Namely: after a set of several words that are supposed to share a definition, the next word's tooltip picks both its definition and the one of the group above.
Here is a screenshot with your example above put at the top of out Terminology page: http://tinypic.com/r/344pq37/5
Any idea what might be causing this and if there is a way around the problem?
Thanks in advance for your time!
In my org, we found that this syntax works best:
;baz:Definition 1 ;baz:Definition 2
This successfully shows both definitions on hover, and does not create the overlap you reported. Unfortunately, this causes the term to be listed twice on the glossary page, but it's the only way we were able to make more than one definition appear.