Page MenuHomePhabricator

HTTP 500 while saving page with lots of templates in it
Open, LowPublic

Description

http://zh.wikipedia.org/wiki/User:Liangent/Tech/CannotSave cannot be saved.

this page was created before those templates' creation.

after those templates' creation, the page cannot be saved anymore and a blank page with code HTTP 500 is returned when try saving.


Version: 1.17.x
Severity: normal
URL: http://zh.wikipedia.org/wiki/User:Liangent/Tech/CannotSave

Details

Reference
bz18737

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:35 PM
bzimport set Reference to bz18737.
bzimport added a subscriber: Unknown Object (MLST).

yes, it is.

but why wasn't i able to save it?

(i think wikimedia have logs about such http 500 errors)

This is for 1.17:

https://secure.wikimedia.org/wikipedia/pl/w/index.php?title=Miasta_w_Polsce_(statystyki)&oldid=25556857

does not render (it times out with 502 Proxy Error) because of inclusion of 900+ https://secure.wikimedia.org/wikipedia/pl/wiki/Template:L that in turn include
https://secure.wikimedia.org/wikipedia/pl/wiki/Template:Nts.

When Template:Nts is simplified to do {{formatnum:xx}} only and no calculations, it works.

I am unable to upload the contents of this

https://secure.wikimedia.org/wikipedia/pl/w/index.php?title=Miasta_w_Polsce_(statystyki)&oldid=25578456

onto test.wikipedia.org, pywikipedia fails with

Sleeping for 8.7 seconds, 2011-03-05 01:32:51
Creating page [[test:Miasta w Polsce (statystyki)]] via API
HTTPError: 504 Gateway Time-out

WARNING: Could not open 'http://test.wikipedia.org/w/api.php'. Maybe the server is down. Retrying in 1 minutes... HTTPError: 504 Gateway Time-out WARNING: Could not open 'http://test.wikipedia.org/w/api.php'. Maybe the server is down. Retrying in 2 minutes... HTTPError: 504 Gateway Time-out WARNING: Could not open 'http://test.wikipedia.org/w/api.php'. Maybe the server is down. Retrying in 4 minutes...

(it does upload smaller pages - see https://secure.wikimedia.org/wikipedia/test/w/index.php?title=Template:L&curid=38240&action=history)

Would be great to retest this problem now that we're moving to Lua/Scribunto for templates.