Page MenuHomePhabricator

timeout in Parser.php with Tidy
Closed, ResolvedPublic

Description

Author: tietew-mediazilla

Description:
The URL gets following error message:

Fatal error: Maximum execution time of 30 seconds exceeded
in /usr/local/apache/common-local/php-new/includes/Parser.php on line 127

Parser seems to hang up.


Version: 1.3.x
Severity: critical
URL: http://ja.wikipedia.org/w/wiki.phtml?title=%E3%80%8E%E3%83%84%E3%83%B3%E3%83%99%E3%83%AB%E3%82%AF%E3%81%AE%E6%97%A5%E6%9C%AC%E7%B4%80%E8%A1%8C%E3%80%8F&oldid=114223

Details

Reference
bz183

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:47 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz183.

Seems to be triggered by $wgUseTidy; with it on I have the same problem with the page copied to my test
box. With it off it goes fine (though I've tracked down some separate slowness problems in search update
while investigating this).

Fixed. The bit that took insanely long doesn't seem to actually be functional but looked like a bit of test
code that was accidentally checked in, so I've simply removed it and now it's much faster.

Checked into head and 1.3 branches and installed live.

tietew-mediazilla wrote:

Verified. Thank you.