[Bug 23190] html tags in text $ latex statements $

2010-04-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23190

--- Comment #8 from Platonides platoni...@gmail.com 2010-04-17 15:32:09 UTC 
---
Right. Done in r65160.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23190] html tags in text $ latex statements $

2010-04-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23190

--- Comment #7 from mima...@gmail.com 2010-04-16 06:25:07 UTC ---
Awesome, thanks! I'm looking forward to that update on wikipedia.

Now, would it also be possible to mark tex text as class=tex, equivalently to
what is done for PNG rendering?

I suppose the PHP output line should then be:
return ('span class=tex$ ' . str_replace( \n,  , htmlspecialchars(
$this-tex ) ) . ' $/span');

Thanks again!

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23190] html tags in text $ latex statements $

2010-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23190

Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 CC||hart...@videolan.org

--- Comment #1 from Derk-Jan Hartman hart...@videolan.org 2010-04-14 14:32:26 
CEST ---
Can you be more specific about where the problem can be found ?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23190] html tags in text $ latex statements $

2010-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23190

Platonides platoni...@gmail.com changed:

   What|Removed |Added

 CC||platoni...@gmail.com

--- Comment #2 from Platonides platoni...@gmail.com 2010-04-14 12:47:45 UTC 
---
The only html i find there is like img class=tex alt=\log g(n) lt;
\sqrt{\operatorname{Li}^{-1}(n)}
src=http://upload.wikimedia.org/math/5/e/d/5edf1bc3778b2456213d7857b1f82f80.png;
/

The content of that alternate text is '\log g(n) 
\sqrt{\operatorname{Li}^{-1}(n)}', showing some characters as entities is
needed on html. You should unentity any text you extract directly. Any html/xml
parser will do it for you.

I have no problem copying and pasting that, btw.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23190] html tags in text $ latex statements $

2010-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23190

--- Comment #3 from mima...@gmail.com 2010-04-14 12:59:07 UTC ---
I was referring to the text-only render mode, i.e., if you go to preferences
and select option Leave it as TeX (for text browsers) in wikipedia.

You will see that the Riemann zeta function in the first section is written
like this in html:

dd$/dd
/dl
p\zeta(s) = \sum_{n=1}^\infty \frac{1}{n^s} = \frac{1}{1^s} + \frac{1}{2^s} +
\frac{1}{3^s} + \cdots. \! $

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23190] html tags in text $ latex statements $

2010-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23190

--- Comment #4 from Derk-Jan Hartman hart...@videolan.org 2010-04-14 15:09:34 
CEST ---
issue confirmed.

The math tag in question contains a newline at the start. In Math.php this is
output as:
return ('$ '.htmlspecialchars( $this-tex ).' $');

So the indentation, $  + newline + tex. + our weird code to parse indentation
and lists creates this output.
Related to bug 22818, which is the same for a different mode.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23190] html tags in text $ latex statements $

2010-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23190

Platonides platoni...@gmail.com changed:

   What|Removed |Added

 CC||de...@cs.dartmouth.edu

--- Comment #5 from Platonides platoni...@gmail.com 2010-04-14 21:23:05 UTC 
---
*** Bug 22818 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23190] html tags in text $ latex statements $

2010-04-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23190

Platonides platoni...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #6 from Platonides platoni...@gmail.com 2010-04-14 21:23:43 UTC 
---
Fixed in r65039.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l