Last modified: 2014-10-27 12:55:01 UTC
In the Galician wikipedia when somebody tries to modify a big article, like https://gl.wikipedia.org/wiki/SIDA or https://gl.wikipedia.org/wiki/The_Beatles, always gives back a time-out error although the modification realises properly. We do not have neither idea of what could be the problem but it happens with all the articles that have a big size.
Thanks for taking the time to report this! Could you please paste the exact, complete error here?
Might be bug 57499.
Reproducible doing a null edit on https://gl.wikipedia.org/wiki/The_Beatles The error message is a plain white page, with centered text: 504 Gateway Time-out _______________________________________ nginx/1.1.19 The page takes about 115 seconds to display this error page. The HTML source of the page (when viewed, not the error page) displays the following: NewPP limit report Parsed by mw1108 CPU time usage: 29.902 seconds Real time usage: 30.281 seconds Preprocessor visited node count: 219514/1000000 Preprocessor generated node count: 107588/1500000 Post‐expand include size: 954440/2048000 bytes Template argument size: 263746/2048000 bytes Highest expansion depth: 14/40 Expensive parser function count: 0/500 Lua time usage: 0.004s Lua memory usage: 492 KB Note the 30 seconds time to parse the page.
At first glance, it would seem like a lot of the time is spent rendering Modelo:Obra_citada/núcleo. Optimizing that template may help to reduce the problem.
(In reply to comment #4) > At first glance, it would seem like a lot of the time is spent rendering > Modelo:Obra_citada/núcleo. Optimizing that template may help to reduce the > problem. Additionally, enwikipedia has spent a lot of effort optimizing their cite template ( [[template:Citation]] and [[Module:Citation/CS1]] ), perhaps that work could be copied over/adapted by gl.wikipedia.org
elisardopr: Is comment 5 an option (copy Citation improvement over)?
(In reply to comment #6) > elisardopr: Is comment 5 an option (copy Citation improvement over)? I'll try to adapt that changes to gl.wiki, I'll post the result.
(In reply to elisardopr from comment #7) > I'll try to adapt that changes to gl.wiki, I'll post the result. elisardopr: Any news?
No, I tried to adapt the changes but I didn't make it work, and in past months I was too busy to review the problem. This is an item in my to-do list...
(In reply to elisardopr from comment #7) > I'll try to adapt that changes to gl.wiki, I'll post the result. elisardopr: Status update welcome.
I'm taking this task. I'll post any progress.
First of all, I have reviewed "Modelo:Obra_citada/núcleo" template: except from the translated lines, the code is the exact same as the English Wikipedia version. After that, I have performed one simple test: I made a null edit in "The Beatles" article in both English and Galician Wikipedia at the same time. English Wikipedia won (about 35 seconds between the two; English article is sightly shorter), but it spent a lot of time to render the page, though. My personal conclusion after that: Locally, we can only optimize the involved templates to reduce this issue. Any other idea? ---- Time to load "The Beatles" article when saving the null edit: * English Wikipedia (144.455 bytes): about 46 seconds. * Galician Wikipedia (174.805 bytes): about 1 minute and 21 seconds.