Board Thread:Support Requests - Getting Technical/@comment-27061613-20190228041745/@comment-27061613-20190228140535

Okay, the "try this" works on my computer, but looking at the common.js, I don't know what would need to be changed since I don't know what the usesitejs thing is that you added to the Test_Page link.

Here's the Common.js link: [ShopHerosMediaWiki:Common.js]

Can you tell me what exactly I have to do? I haven't modified this file before. (Though I have read https://dev.fandom.com/wiki/UserTags so I do understand the custom UserTagsJS part of this file.)

Edit 8 minutes later: hmm, the error may be with one of the custom font loading this common.js uses. After the page loads, it may be switching to a font that shows nbsp as an empty character rather than as a space.

Edit: Found that if I view the test page using Developer Tools Inspect Element and remove the custom Audimat font being applied to the div, the problem on the test page is fixed and the text then resembles the font and correct spacing of the "try this" link. (yes, this approach only just now occured to me thanks to looking at common.js.)

Edit: The Audimat font is loaded from this file : [MediaWiki:Webfonts.css] but I don't know what would happen if I remove Audimat from the file, and the Audimat font source file I don't know how to modify how it renders nbsp. Doesn't look like I can fix it (it's a .bin file) so I may just have to remove the font and hope for the best. I don't know which pages the font was even for.

Edit: Okay, commenting out that font from Webfonts.css has resolved the problem, though The site will now just have to default to open sans font.