Last modified: 2014-01-15 17:36:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57675, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55675 - Math: MathJax processes strong.error elements, but those are not exclusive to MathJax (also generated by Cite and Scribunto)
Math: MathJax processes strong.error elements, but those are not exclusive to...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: javascript
: 55888 60057 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-13 15:49 UTC by Ltrlg
Modified: 2014-01-15 17:36 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot of the problem (43.94 KB, image/png)
2013-10-14 17:22 UTC, Ltrlg
Details

Description Ltrlg 2013-10-13 15:49:32 UTC
The error message « Des balises <ref> existent, mais aucune balise <references/> n’a été trouvée. » is parsed by MathJax when I go to [[fr:Spécial:Redirect/revision/97444940]].

PS: in debug mode, I have 6 lines in console : "MWDeprecationWarning: Use of "sajax_init_object" property is deprecated. Sajax is deprecated, use jQuery.ajax or mediawiki.api instead."
Comment 1 Andre Klapper 2013-10-14 09:30:29 UTC
(In reply to comment #0)
> The error message « Des balises <ref> existent, mais aucune balise
> <references/> n’a été trouvée. » is parsed by MathJax when I go to
> [[fr:Spécial:Redirect/revision/97444940]].

Why do you think that this is "parsed by MathJax"?

The problem seems to happen because of this line:

dont la valeur s'élève à plusieurs ''milliards'' USD<ref>http://blogs.smithsonianmag.com/smartnews/2013/10/how-much-is-wikipedia-worth/</ref>

as the author did not add a line

<references />

at the end of his/her comment, hence there is no place where to list that ref. 
Hence MediaWiki puts a warning at the end of the page.
Adding the missing line should fix it, I assume.

I don't see a valid bug here but instead expected behavior, but maybe I miss something?
Comment 2 Ltrlg 2013-10-14 17:22:58 UTC
Created attachment 13483 [details]
Screenshot of the problem

This screenshot is what I see.
Comment 3 Peter Krautzberger 2013-10-15 01:41:42 UTC
I don't see the error myself but from the screenshot it looks like MathJax's `\ref` command is somehow activated, see http://docs.mathjax.org/en/latest/tex.html#automatic-equation-numbering. 

IIRC the Math extension restricts MathJax rendering to elements of a certain class so perhaps something is mixed up there. Alternatively, the Math extension could deactivate that command completely (I don't think it's used).
Comment 4 Ltrlg 2013-10-19 19:07:14 UTC
Have you enabled MathJax on frwiki?
Comment 5 Helder 2013-10-19 19:23:53 UTC
*** Bug 55888 has been marked as a duplicate of this bug. ***
Comment 6 Helder 2013-10-19 19:24:49 UTC
I've confirmed this on English Wikipedia. From duplicate bug 55888:

After I added a reference using VisuaEditor[1] I noticed there was no
<references /> tag in the page, and consequently there was the usual cite error
which says "Cite error: There are <ref> tags on this page, but the references
will not show without a {{reflist}} template (see the help page)."

The problem is: this message was displayed as if it were a formula, when I was
using MathJax.

The message is normal if I'm logged out (since the default is PNG images
instead of MathJax)


[1]
https://en.wikipedia.org/w/index.php?title=Direct_product_of_groups&diff=577738806&oldid=570948047
Comment 7 Andre Klapper 2014-01-15 16:54:46 UTC
*** Bug 60057 has been marked as a duplicate of this bug. ***
Comment 8 Gerrit Notification Bot 2014-01-15 17:07:52 UTC
Change 107601 had a related patch set uploaded by Anomie:
MathJax must not process every <strong class="error">

https://gerrit.wikimedia.org/r/107601
Comment 9 physikerwelt 2014-01-15 17:16:04 UTC
I don't understand why is submiting patches to code that is not up to date instead of reviewing the new version of the math extension
that way we'll never make progress
Comment 10 physikerwelt 2014-01-15 17:17:15 UTC
I don't understand why people are submiting patches to code that is not up to date
instead of reviewing the new version of the math extension.
In that way we'll never make progress!
Comment 11 Gerrit Notification Bot 2014-01-15 17:33:51 UTC
Change 107601 merged by Physikerwelt:
MathJax must not process every <strong class="error">

https://gerrit.wikimedia.org/r/107601

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links