Topic on Extension talk:Lingo

Bug: The extension don't "see" all the terms

11
Summary by Seb35

By default, the terminology page is "Terminology" for an English-language wiki, "Terminología" for a Spanish-language wiki. To change this default page, the parameter $wgexLingoPage must be defined in LocalSettings.php and set to the desired page.

ChofisDan (talkcontribs)

I instaled Lingo and added two terms the first time to my Terminology page, and all went fine. But when i tried to add more terms, they don't work, it seems as if the extension just doesn't see them. I tried deleting the content of the page and even removing and reinstalling the extension and nothing happens. What can I do?

Seb35 (talkcontribs)

Perhaps there is a syntax mistake on the Terminology page? Could you verify? and if you don’t find any error, copy here a minimal Terminology page with the issue and/or give a link if it is a public wiki.

Seb35 (talkcontribs)

Also, I see Lingo does not support difference of case (see phabricator:T123961), so for instance if you enter the definition

Bug
A default in a software

The word « bug » will not be highlighted by Lingo since the definition has a capital "B".

ChofisDan (talkcontribs)

The terms I entered are always written in lowercase in the articles, that is, exactly as they are in the Terminology page. I followed the syntax as it was on the extension's page here on the MediaWiki. Here's my terminology page.

Seb35 (talkcontribs)

I was not able to reproduce the issue on a test wiki (MW 1.37.1 + your Lingo version 74e31cc indicated in Special:Version), but given you customized the Lingo terminology page, did you change accordingly the parameter $wgexLingoPage to MediaWiki:Lingo-Terminología (NB the "ex" after "wg", it’s unusual for a MW setting) in LocalSettings.php?

ChofisDan (talkcontribs)
Seb35 (talkcontribs)

This is perhaps the issue: by default the page for terminology is Terminología; if you want to use MediaWiki:Lingo-Terminología instead, it is possible but you have to set $wgexLingoPage = "MediaWiki:Lingo-Terminología"; in the file LocalSettings.php.

ChofisDan (talkcontribs)

You're right!! I moved the content of MediaWiki:Lingo-Terminología to Terminología, and tho it's kind of annoying having that page in the main namespace, it worked! Thank you so much!

Seb35 (talkcontribs)

I’m glad it works. I close the topic.

GobleStL (talkcontribs)

This same issue has happened to me.

I am running a local private mediawiki and SOME terms are not "working". i.e. no tool tip is displayed.

Product Version
MediaWiki 1.37.0
PHP 8.1.2 (apache2handler)
MariaDB 10.4.22-MariaDB
ICU 70.1
Lingo 3.1.2

Tried with Terminology page and specifying a "Glossary" page in settings.

Any ideas?

SG

Elcapitan68 (talkcontribs)