Page MenuHomePhabricator

Math shows unexpected output on Main Page but not in Templates
Closed, ResolvedPublic

Description

Author: umang.gopani

Description:
'''<math>I = W . C^2</math>''' shows the correct equation in the Templates but
it gives some weired output when the Template is used on the Main Page

UNIQ243a73b86b312344-math-22ffe77b4a6e643300000001-QINU

This keeps on changing when i refresh the Page.


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz8172

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:32 PM
bzimport set Reference to bz8172.
bzimport added a subscriber: Unknown Object (MLST).

This could be due to use of another, broken, extension on that page. Since you
provide no further information, we cannot investigate.

Providing the URL to a page showing the problem would help.

umang.gopani wrote:

I have mediawiki-1.6.7
As I Have read in other articles
(http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ)
"On newer MediaWiki versions (at least 1.6.7), you cannot recursively call parse()"
I think my extension is recursively calling parse, cos I am using this math
equation 4 times while creating that page.
I cannot give the link to the page cos I have installed mediawiki on my personal
computer which doesnt have a public IP.
Please let me know what are the other details required.
Also I am using ParserFunctions as an extension in the mediawiki

umang.gopani wrote:

I found a Page which has a similar type of error
http://en.wikipedia.org/wiki/Approximation_property
Hope this helps investigate the issue

That's bug 2144 (<math> embedded in link text).

umang.gopani wrote:

I worked on the issue and found that the extension DynamicPageList.php when
trying to parse used to get stuck at function strip and then go in the loop.
Still i would say that was not any perfect solution. Also Bug 2144 shows a
similar error, So i will mark this bug a duplicate of Bug 2144.
Thanks for your help.

*** This bug has been marked as a duplicate of 2144 ***