Page MenuHomePhabricator

Include link to module in script errors for easier debugging
Closed, ResolvedPublic

Description

Author: codecat42

Description:
Script errors currently show the module and line that an error occurred in, but plain text. It would be useful if this text could be wikilinked, so that it could be clicked on and be taken to the module (in edit mode) and the specific line that the error is being triggered on. That way, errors could be found and fixed much more easily.


Version: unspecified
Severity: enhancement

Details

Reference
bz48360

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:28 AM
bzimport added a project: Scribunto.
bzimport set Reference to bz48360.
bzimport added a subscriber: Unknown Object (MLST).

Every recognized module in the backtrace is already linked, and has been since April 2012.

codecat42 wrote:

Then it seems Wiktionary is a bit behind on things, because there are no links in the backtrace there.

Created attachment 12313
Screenshot showing a link to a module from the backtrace

It's not possible for it to be that out of date. And looking at https://en.wiktionary.org/wiki/Template:ru-verb, I see a link.

I've attached a screenshot for you, with the mouse cursor over the link.

Attached:

Screenshot.png (273×488 px, 20 KB)

codecat42 wrote:

I see... In that case, change this request to "make it more obvious that there is a link"?

It's the only text in red and if you hover over with the mouse it will be underlined, implying that it's a link to click.
If you have specific ideas how to make it more obvious, please file a new enhancement request.

Closing this bug report as fixed as the original request has been solved.

codecat42 wrote:

The best thing I can think of is to make the links distinctly coloured. It's already normal for all links elsewhere to have a distinct colour, and that led me to expect that any text with the same colour as normal text is not a link.