Page MenuHomePhabricator

Invalid JSON in ASL message translation
Open, Needs TriagePublicBUG REPORT

Description

After editing an unconnected page, a dialog appears:

Something went wrong
Unable to parse the messages page MediaWiki:Gadget-AutosuggestSitelink-messages/cs. There may have been a recent change that contains invalid JSON.

I cannot see, what is incorrect in the linked page – or whether FuzzyBot edits are causing problems with the tools functionalities.

Apart from that, the tool shouldn't stop working just because of bad translation/JSON configuration (there should be at least some fallback to en version).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@HakanIST Does the nowrap fix above solve for your MR 77 changes as well?

@HakanIST Does the nowrap fix above solve for your MR 77 changes as well?

Yes, the nowrap fix prevents the HTML injection. MR 77 also includes a few independent cleanups, happy to keep or close it, whichever you prefer.