Board Thread:Support Requests - Getting Technical/@comment-26435226-20190526233701

Hello everyone.

Me and a couple of other regular editors on the Duolingo Wiki (https://duolingo.fandom.com) have been attempting to solve an issue with a couple of our pages to no avail, so I've decided to put this up here. One of our modules (Module:Skills) helps create navboxes and infoboxes on our wiki, and it's worked perfectly ever since it was put into place by the previous mods of the wiki.

Unfortunately, it's come across an issue: it can't select language names of longer than one word. Recently, one of our regular contributors has begun to add skill pages for the High Valyrian language (you know, from Game of Thrones?) which, you guessed it, is two words long.

Now, on the main page for High Valyrian, the navbox and infobox work perfectly fine. But the individual skills (accessible from the main language page's navbox) can't access the skill list and language information, trying to find a "High" language and failing. So the navbox simply sits empty with a "High" title and the infobox doesn't load at all.

To the best of our knowledge, it has something to do with the p.getLanguageName function in Module:Skills only selecting a certain length of the page title for the skill pages but the main language page being selected in its entirety with no trouble at all. The local pageTitle might be the culprit, but I can't read Lua enough to tell what needs fixing here.

I'm stumped, as I barely know what a string is (as I said, the previous admins were responsible for the coding and they've long since left), so I've come to plead that someone knows the (probably simple) fix that I need to do to figure this one out. Ideally, it could be something that easily allows more languages with two or more words to be invoked in the future without too much fooling around.  