An automatic tracking category for pages with errors in <math> (when parsed by texvc) would help finding these pages and fixing the errors.
Version: unspecified
Severity: enhancement
An automatic tracking category for pages with errors in <math> (when parsed by texvc) would help finding these pages and fixing the errors.
Version: unspecified
Severity: enhancement
This error is made worse by the difference between the syntax used in MathJax and texvc. In
http://en.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor/Feedback&oldid=569279227#Math_text_that_doesn.27t_parse_when_in_VE
a unicode character was used in a formula, the editor was probably using MathJax so the error did not show up. There seem to be a few such errors. A google search https://www.google.co.uk/search?q=%22Failed+to+parse%22+site:en.wikipedia.org+-Talk%3A
can be used to find some.
physik wrote:
(In reply to Richard Morris from comment #2)
This error is made worse by the difference between the syntax used in
MathJax and texvc. In
http://en.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor/
Feedback&oldid=569279227#Math_text_that_doesn.27t_parse_when_in_VE
a unicode character was used in a formula, the editor was probably using
MathJax so the error did not show up. There seem to be a few such errors. A
google search
https://www.google.co.uk/search?q=%22Failed+to+parse%22+site:en.wikipedia.
org+-Talk%3A
can be used to find some.
Bug 72240 will make it better again. I'll try to migrate this feature from MathSearch to the Math extension.
I think we would need comunity consensus for enabling the MathSearch extension in production... and a lot of cleanup work... sinc it's currently more desinged as demo/proof of concept.
It looks like this is fixed in T134872 by https://gerrit.wikimedia.org/r/292576 We can probably close this as a duplicate.
If possible, it might be a good idea to limit the namespaces to which this category applies. For an example, see the Citation Style 1 error messages and categories on en.wiki, e.g. "Category:Pages with archiveurl citation errors":
"Pages in the Book talk, Category talk, Draft, Draft talk, Education Program talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, TimedText talk, User, User talk, and Wikipedia talk namespaces are not included in the error tracking categories."
The error message still shows on these pages, but they are not categorized. There is little point in categorizing someone's User sandbox page; it clutters the category with false positives.
It is a little annoying. But I'm convinced it is worth the extra effort. In time the number of false positives will go down and each page is re-rendered. Some talk pages which discuss rendering errors will remain.
If its really a problem this bit of javascript in your vector.js will hide most of the talk pages.
jQuery( document ).ready( function( $ ) { if( document.title == "Category:Pages with math errors - Wikipedia, the free encyclopedia") { $(".mw-category-group a").each(function(ind,ele) { var title = ele.innerHTML; if(title.startsWith("User:") || title.startsWith("Talk:") || title.startsWith("User talk:") || title.startsWith("Wikipedia:") || title.startsWith("Wikipedia talk:") ) { root = ele.parentElement; $(root).css({"display":"none"}); console.log(ele.innerHTML); } }) } }
I would love to do it myself (for everyone, not just in my own vector.js). @IKhitron, do you have a link to instructions on how to take care of it on en.wiki? Thanks.
First of all, @Jonesey95, you can't do it only in vector or only in your account. We are talking about removing pages from category, so it can be done for your entire wiki and nothing else.
Second of all, there is no link for this case help, because it's too obvious.
{{#switch:{{NAMESPACENUMBER}]|1|2|3|118|2600=:|Pages with math errors}]
I see nobody answers. I am closing the task by myself. If there is a problem, reopen it.
Closed as resolved by https://gerrit.wikimedia.org/r/292576.