Last modified: 2014-09-08 19:20:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72557, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70557 - 404 errors for CSS and HTML from Bits in zh-yue wikipedia
404 errors for CSS and HTML from Bits in zh-yue wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
: ops
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-08 12:55 UTC by yaukasin
Modified: 2014-09-08 19:20 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description yaukasin 2014-09-08 12:55:40 UTC
zh-yue wikipedia does not load the stylesheets properly. When I view the source HTML code, I discover that there are many garbage stylesheets which would return error 404.

Below is the code after the line <link rel="canonical" href="......"> in zh-yue wikipedia 

=============================================================
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=ext.gadget.internalLinkHelper-altcolor&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=ext.uls.nojs&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=ext.visualEditor.viewPageTarget.noscript&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=ext.wikihiero&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=mediawiki.legacy.commonPrint&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=mediawiki.legacy.shared&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=mediawiki.skinning.interface&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=mediawiki.ui.button&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=skins.vector.styles&amp;only=styles&amp;skin=vector&amp;*" />
<link rel="stylesheet" href="//bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&amp;lang=yue&amp;modules=wikibase.client.init&amp;only=styles&amp;skin=vector&amp;*" />
=============================================================


Below is the code after the line <link rel="canonical" href="......"> in en wikipedia for comparison 

=============================================================
<link rel="stylesheet" href="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=ext.gadget.DRN-wizard%2CReferenceTooltips%2Ccharinsert%2Cfeatured-articles-links%2CrefToolbar%2Cteahouse%7Cext.rtlcite%2Cwikihiero%7Cext.uls.nojs%7Cext.visualEditor.viewPageTarget.noscript%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.interface%7Cmediawiki.ui.button%7Cskins.vector.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector&amp;*" />
=============================================================
Comment 1 Andre Klapper 2014-09-08 14:35:06 UTC
Thanks for taking the time to report this!

I went to https://zh-yue.wikipedia.org/wiki/%E9%A0%AD%E7%89%88?debug=true and using the "Network" tab of Firefox' developer tools there are a few 404s for HTML/CSS stuff from bits, like

https://bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&lang=yue&modules=site&only=scripts&skin=vector&* which is a 404.

Replacing lang=yue by lang=zh-yue works.

According to Operations mailing list there were issues with Bits which started on Friday around 16:33 UTC due to a serialisation of requests for one specific uncacheable URL which was extremely slow to render and piled up requests, but that should have been sorted out / worked around. I'll ask on the list.
Comment 2 Giuseppe Lavagetto 2014-09-08 15:02:19 UTC
While on varnish the url

https://bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&lang=yue&modules=site&only=scripts&skin=vector&*

returns 404, the same url without the final parameter returns correctly 200:

https://bits.wikimedia.org/zh-yue.wikipedia.org/load.php?debug=true&lang=yue&modules=site&only=scripts&skin=vector


I confirmed that both urls, when properly translated, are answered with a 200 OK (and the same content) by the backend:

https://zh-yue.wikipedia.org/w/load.php?debug=true&lang=yue&modules=site&only=scripts&skin=vector
 * 200 OK 26761
https://zh-yue.wikipedia.org/w/load.php?debug=true&lang=yue&modules=site&only=scripts&skin=vector&*
 * 200 OK 26761

So this seems to be an issue at the varnish layer.

I'll update the ticket as I find out more.
Comment 3 Giuseppe Lavagetto 2014-09-08 16:48:06 UTC
A patch for the problem has been created:

https://gerrit.wikimedia.org/r/#/c/159080/
Comment 4 Giuseppe Lavagetto 2014-09-08 18:08:38 UTC
the patch has solved the problem, and now the page loads correctly.
Comment 5 Andre Klapper 2014-09-08 19:20:55 UTC
Thanks for the quick investigation and fixing, Giuseppe!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links