This is a prerequisite to potentially improving and redesigning the various error pages we have. (T76560)
To limit the scope a little bit, this task only covers layers between MediaWiki core and the edge of our cluster. While most of this will affect non-wiki sites as well. This is meant to cut out error pages that only effect non-wiki sites (e.g. not integration.wikimedia.org, Gerrit, Phabricator, labs, etc.)
- Find out all error scenarios between MediaWiki core and the edge of our cluster (Varnish front/back, Nginx/Apache, HHVM 404, PHP fatal, etc.).
- Make them look consistent.
- Have them be (as much possible) centrally maintained, e.g. produced by a puppet template.
Current status
Type | Description | Source | New image | Old image |
---|---|---|---|---|
Unconfigured domain (Apache) | Unknown domains pointing to wiki app servers. Example: http://unknown.beta.wmflabs.org | mediawiki-config:/errorpages/default.html | ||
Varnish Error | Server error on any domain caught by Varnish. | puppet:/templates/varnish/errorpage.inc.vcl.erb | ||
Unconfigured domain (Varnish) | Unknown domains not pointing to apaches. This is the same as "Default Error", uses message "404 Domain not served". See also T112316. Example: https://misc-web-lb.wikimedia.org/ | puppet:/templates/varnish/errorpage.inc.vcl.erb | ... | |
Domain index | The root page of domains not meant to be user-facing. Example: https://upload.wikimedia.org | (upload: | (removed, redirects to Wikimedia Commons) T130709 | |
Domain index | Example: https://bits.wikimedia.org | mediawiki-config:/docroot/bits/index.html | (removed) | |
Apache 404 (Default) | 404 on domains managed in mediawiki-config/docroot. Example: https://secure.wikimedia.org/not-exist https://bits.wikimedia.org/404.html | mediawiki-config:/errorpages/404.html puppet:/templates/apache/apache2.conf | ||
Apache 404 (wiki domain) | 404 on domains managed in mediawiki-config/docroot that directly serve MediaWiki (e.g. not related domains that are also served from mediawiki servers, such as www.wikipedia.org). See also T110376. Example: https://en.wikipedia.org/Example | mediawiki-config:/errorpages/404.php | ||
HHVM 404 | 404 on servers that use HHVM (only wiki domains afaik) that match a url pattern that Nginx defers to HHM. Example: https://en.m.wikipedia.org/foo.php | (unknown) | .. | |
Swift 404 | Accessing original file on upload.wikimedia.org - see T37053 Example: https://upload.wikimedia.org/foo, https://upload.wikimedia.org/wikipedia/commons/1/22/Example | Swift | .. | |
Thumbnail 404 | Accessing thumbnail on upload.wikimedia.org - see T169683 Example: https://upload.wikimedia.org/wikipedia/commons/thumb/1/22/Example.svg/200px-Example.svg.png | .. | ||
PHP Fatal | Fatal from PHP or HHVM | mediawiki-config:/errorpages/hhvm-fatal-error.php | ||
Apache 503 (wiki domain) | 503 on domains managed in mediawiki-config/docroot. Example: https://en.wikipedia.org/503.html | mediawiki-config:/errorpages/503.html puppet:/templates/apache/apache2.conf | ||
See also: