T30626 gave us a nice javascript validator. And it's throwing errors to the console and even knows the line number within the wiki script. All awesome, but.. It's another thing to actually get those line numbers.
I'm suggesting that on pages that are "isCssOrJsPage" or "isCssJsSubpage" (according to their respective methods in the Title-object), improved by showing line numbers at the beginning.
We already give them special treatment by wrapping the page in <pre> and not parsing the text. This would be a good next step, especially now that we have wgResourceLoaderValidateJS which provides line numbers.
Version: unspecified
Severity: enhancement