https://bugzilla.wikimedia.org/show_bug.cgi?id=42564
Web browser: ---
Bug #: 42564
Summary: EventLogging extension doesn't indicate which lines
contain invalid JSON
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: EventLogging
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
When you try to save invalid JSON into a page in the Schema namespace on
Meta-Wiki (e.g., <https://meta.wikimedia.org/wiki/Schema:Sandbox>), an error
message appears:
---
Invalid JSON. The content of this page must be valid JSON. Please check your
syntax.
---
This error message does not currently include on which line(s) there's an
alleged error, though. It'd be nice if it listed the lines containing errors or
highlighted the offending lines in red or both or something. Maybe activating
the CodeEditor extension on this namespace (bug 42561) would help mitigate the
issue of invalid JSON being submitted, but a more direct error message from
this extension would be nice.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l