Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show linenumbers next to errors #54

Open
TrueBrain opened this issue Nov 9, 2020 · 0 comments
Open

Show linenumbers next to errors #54

TrueBrain opened this issue Nov 9, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@TrueBrain
Copy link
Owner

Currently errors are shown in the order they are found. But it can be difficult to figure out where it comes from, in which template, etc.

Adding linenumbers (and Pages / Templates that generated the error) can really help here.

But this is far from trivial: a template can be included multiple times, so you should shown some list of include-tree where the problem happened. Additionally, wikitextparser doesn't know linenumbers, and the way wikitexthtml resolves templates at the moment doesn't make it possible to know which template generated the problem.

All in all, this is a hard problem to solve, but possibly worth the time.

@TrueBrain TrueBrain added the enhancement New feature or request label Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant