r63012 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63011‎ | r63012 | r63013 >
Date:18:46, 26 February 2010
Author:catrope
Status:ok
Tags:
Comment:
Modified paths:
  • /trunk/tools/web-scripts/missing.php (modified) (history)

Diff [purge]

Index: trunk/tools/web-scripts/missing.php
@@ -1,116 +1,163 @@
22 <?php
33 header("HTTP/1.x 404 Not Found"); // don't cache me
44 header("Content-Type: text/html; charset=utf-8");
5 -?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 5+?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 6+<!-- Sysops: Please do not edit the main template directly; update /temp and synchronise. -->
 7+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 8+ <head>
 9+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 10+ <meta http-equiv="Content-Language" content="en" />
 11+ <meta http-equiv="Content-Style-Type" content="text/css" />
 12+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
 13+ <!--[if lt IE 7]>
 14+ <meta http-equiv="imagetoolbar" content="no" />
 15+ <![endif]-->
 16+ <title>Wiki does not exist</title>
 17+ <meta name="title" content="Wiki does not exist" />
 18+ <meta name="description" content="Wikimedia Foundation site error page when a wiki does not exist." />
 19+ <meta name="author" content="The Wikimedia Foundation" />
 20+ <meta name="copyright" content="Creative Commons Attribution-Share Alike 3.0"/>
 21+ <meta name="publisher" content="The Wikimedia Foundation" />
 22+ <meta name="language" content="English" />
 23+ <meta name="robots" content="index, follow" />
 24+ <meta name="MSSmartTagsPreventParsing" content="true" />
 25+ <link rel="shortcut icon" href="http://wikimediafoundation.org/favicon.ico" />
 26+ <link rel="apple-touch-icon" href="http://wikimediafoundation.org/favicon.ico" />
 27+ <link rel="copyright" href="http://creativecommons.org/licenses/by-sa/3.0/" />
 28+ <link rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/" />
 29+ <style type="text/css">
 30+body
 31+{
 32+ background-color: White;
 33+}
 34+
 35+a
 36+{
 37+ text-decoration: none;
 38+}
 39+
 40+a:hover
 41+{
 42+ text-decoration: underline; /* moot */
 43+}
 44+
 45+img
 46+{
 47+ border: 0;
 48+}
 49+
 50+table#content
 51+{
 52+ width: 75%;
 53+ margin-left: auto;
 54+ margin-right: auto;
 55+}
 56+
 57+table#content th,
 58+table#content td
 59+{
 60+ padding: 0.5em 1em;
 61+ text-align: center;
 62+ vertical-align: middle;
 63+}
 64+
 65+table#content th
 66+{
 67+ font-family: "Lucida Sans", Verdana, sans-serif;
 68+}
 69+
 70+table#content th h1
 71+{
 72+ font-size: 190%;
 73+ font-weight: bold;
 74+ margin: 0 0 .3em 0;
 75+}
 76+
 77+table#content th p
 78+{
 79+ font-size: 110%;
 80+ font-weight: normal;
 81+ margin: .3em 0;
 82+}
 83+ </style>
 84+ <!-- commonPrint.css? -->
 85+ <style type="text/css" media="print">
 86+/*<![CDATA[*/
 87+body
 88+{
 89+ background-color: transparent;
 90+}
 91+
 92+table#content
 93+{
 94+ width: 100%;
 95+}
 96+
 97+a
 98+{
 99+ color: Black !important;
 100+}
 101+/*]]>*/
 102+ </style>
 103+ </head>
 104+ <body id="www-wikimedia-org">
 105+ <table id="content" cellspacing="2" cellpadding="2">
 106+ <tr>
 107+ <th colspan="3" style="text-align: left; vertical-align: top; width: 75%;">
 108+ <h1>
 109+ Welcome to Wikimedia
 110+ </h1>
 111+ <p>
 112+ Unfortunately, this wiki does not exist yet, or it has been closed. You may be looking for one of our other projects below. If you would like to request that this wiki be created, see the <a href="http://meta.wikimedia.org/wiki/Requests_for_new_languages" title="Requests for new languages - Meta">requests for new languages</a> page on Meta-Wiki.
 113+ </p>
 114+ </th>
 115+ <td style="width: 25%;">
 116+ <a href="http://wikimediafoundation.org/" title="Wikimedia Foundation"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Wikimedia_logo_text_RGB.svg/135px-Wikimedia_logo_text_RGB.svg.png" alt="Wikimedia Foundation" title="Wikimedia Foundation" /></a>
 117+ </td>
 118+ </tr>
 119+ <tr>
 120+ <td>
 121+ <a href="http://www.wikipedia.org/" title="Wikipedia — The Free Encyclopedia"><img src="http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png" width="135" height="155" alt="Wikipedia" title="Wikipedia — The Free Encyclopedia" /></a>
 122+ </td>
 123+ <td>
 124+ <a href="http://www.wiktionary.org/" title="Wiktionary"><img src="http://wiktionary.org/images/wiktionary-en.png" width="135" height="135" alt="Wiktionary" title="Wiktionary" /></a>
 125+ </td>
 126+ <td>
 127+ <a href="http://www.wikiquote.org/" title="Wikiquote"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Wikiquote-logo-en.png/120px-Wikiquote-logo-en.png" width="120" height="120" alt="Wikiquote" title="Wikiquote" /></a>
 128+ </td>
 129+ <td>
 130+ <a href="http://www.wikibooks.org/" title="Wikibooks"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo-en-noslogan.svg/140px-Wikibooks-logo-en-noslogan.svg.png" width="140" height="140" alt="Wikibooks" title="Wikibooks" /></a>
 131+ </td>
 132+ </tr>
 133+ <tr>
 134+ <td>
 135+ <a href="http://www.wikisource.org/" title="Wikisource"><img src="http://upload.wikimedia.org/wikipedia/sources/b/bc/Wiki.png" alt="Wikisource" title="Wikisource" /></a>
 136+ </td>
 137+ <td>
 138+ <a href="http://www.wikinews.org/" title="Wikinews"><img src="http://upload.wikimedia.org/wikinews/en/b/bc/Wiki.png" width="135" height="104" alt="Wikinews" title="Wikinews" /></a>
 139+ </td>
 140+ <td>
 141+ <a href="http://www.wikiversity.org/" title="Wikiversity"><img src="http://upload.wikimedia.org/wikiversity/en/b/bc/Wiki.png" width="135" height="119" alt="Wikiversity" title="Wikiversity" /></a>
 142+ </td>
 143+ <td>
 144+ <a href="http://species.wikimedia.org/" title="Wikispecies, a free directory of life!"><img src="http://upload.wikimedia.org/wikipedia/species/b/bc/Wiki.png" width="125" height="177" alt="Wikispecies" title="Wikispecies, a free directory of life!" /></a>
 145+ </td>
 146+ </tr>
 147+ <tr>
 148+ <td>
 149+ <a href="http://mediawiki.org/" title="MediaWiki"><img src="http://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png" alt="MediaWiki" title="MediaWiki" /></a>
 150+ </td>
 151+ <td>
 152+ <a href="http://meta.wikimedia.org/" title="Wikimedia project coordination"><img src="http://upload.wikimedia.org/wikipedia/meta/b/bc/Wiki.png" alt="Meta-Wiki" title="Wikimedia project coordination" /></a>
 153+ </td>
 154+ <td>
 155+ <a href="http://commons.wikimedia.org/" title="Wikimedia Commons — Free media repository"><img src="http://upload.wikimedia.org/wikipedia/commons/7/79/Wiki-commons.png" width="135" height="155" alt="Wikimedia Commons" title="Wikimedia Commons — Free media repository" /></a>
 156+ </td>
 157+ <td>
 158+ <a href="http://incubator.wikimedia.org/" title="Wikimedia Incubator"><img src="http://upload.wikimedia.org/wikipedia/incubator/b/bc/Wiki.png" alt="Wikimedia Incubator" title="Wikimedia Incubator" /></a>
 159+ </td>
 160+ </tr>
 161+ </table>
 162+ </body>
 163+</html>
6164
7 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="meta" lang="meta" dir="ltr">
8 -<head>
9 -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10 -<link rel="shortcut icon" href="http://meta.wikipedia.org/favicon.ico" />
11 -
12 -<title>Wiki does not exist</title>
13 - <link rel="stylesheet" href="http://upload.wikimedia.org/skins/common/shared.css?195xx" type="text/css" media="screen" />
14 - <link rel="stylesheet" href="http://upload.wikimedia.org/skins/common/commonPrint.css?195xx" type="text/css" media="print" />
15 -
16 - <link rel="stylesheet" href="http://upload.wikimedia.org/skins/monobook/main.css?195xx" type="text/css" media="screen" />
17 - <link rel="stylesheet" href="http://upload.wikimedia.org/skins/chick/main.css?195xx" type="text/css" media="handheld" />
18 -
19 - <!--[if lt IE 5.5000]><link rel="stylesheet" href="http://upload.wikimedia.org/skins/monobook/IE50Fixes.css?195xx" type="text/css" media="screen" /><![endif]-->
20 - <!--[if IE 5.5000]><link rel="stylesheet" href="http://upload.wikimedia.org/skins/monobook/IE55Fixes.css?195xx" type="text/css" media="screen" /><![endif]-->
21 - <!--[if IE 6]><link rel="stylesheet" href="http://upload.wikimedia.org/skins/monobook/IE60Fixes.css?195xx" type="text/css" media="screen" /><![endif]-->
22 - <!--[if IE 7]><link rel="stylesheet" href="http://upload.wikimedia.org/skins/monobook/IE70Fixes.css?195xx" type="text/css" media="screen" /><![endif]-->
23 -</head>
24 -
25 -<body class="ns-0">
26 -<div style="position: absolute;x: 0; y: 0"><img src="http://meta.wikipedia.org/upload/f/f7/Ncwikimediafound.png" alt="" /><br />
27 -<!-- <img src="http://www.wikipedia.org/upload/wiki.png"><br />
28 -<img src="http://wiktionary.org/images/wiktionary-en.png"><br />
29 -<img src="http://quote.wikipedia.org/upload/1/19/Wikiquote.png"><br />
30 -<img src="http://wikibooks.org/upload/Wikibooks.png"><br />-->
31 -</div>
32 -<div id="globalWrapper">
33 -<div id="column-content">
34 -<div id="content">
35 -
36 -<a name="top" id="contentTop"></a>
37 -<h1 class="firstHeading">Wiki does not exist</h1>
38 -<div id="bodyContent">
39 -
40 -<h3 id="siteSub"><I>From Meta</I></h3>
41 -<div id="contentSub"></div>
42 -
43 -
44 -<!-- <esi:include src="userxy/message"/> cached per user, purged on new message-->
45 -
46 -<!-- the content area is cached with the remaining inexpensive skeleton, one version for all.
47 -The edit links and right-click section stuff can be attached from js -->
48 -<!-- start content -->
49 -
50 -<p>This wiki does not exist yet. Perhaps you are looking for one of our other projects:</p>
51 -
52 -<div style="margin-top: 1.5em; width: 100%; vertical-align: middle; text-align: center; font-weight: bold;">
53 -
54 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
55 -<div style="margin-top: 12px;">&#160;&#160;<a href="http://www.wiktionary.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Wiktionary-logo-en.png/35px-Wiktionary-logo-en.png" width="35" height="38" alt="" /></a>&#160;<a href="http://www.wiktionary.org/">Wiktionary</a></div>
56 -</div>
57 -
58 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
59 -<div style="margin-top: 19px;">&#160;&#160;<a href="http://www.wikinews.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Wikinews-logo.png/35px-Wikinews-logo.png" width="35" height="19" alt="" /></a>&#160;<a href="http://www.wikinews.org/">Wikinews</a></div>
60 -</div>
61 -
62 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
63 -<div style="margin-top: 10px;">&#160;&#160;<a href="http://www.wikiquote.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikiquote-logo.svg/35px-Wikiquote-logo.svg.png" width="35" height="41" alt="" /></a>&#160;<a href="http://www.wikiquote.org/">Wikiquote</a></div>
64 -</div>
65 -
66 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
67 -<div style="margin-top: 11px;">&#160;&#160;<a href="http://www.wikibooks.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/35px-Wikibooks-logo.svg.png" width="35" height="35" alt="" /></a>&#160;<a href="http://www.wikibooks.org/">Wikibooks</a></div>
68 -</div>
69 -
70 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
71 -<div style="margin-top: 13px;">&#160;&#160;<a href="http://species.wikimedia.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikispecies-logo.svg/35px-Wikispecies-logo.svg.png" width="35" height="41" alt="" /></a>&#160;<a href="http://species.wikimedia.org/">Wikispecies</a></div>
72 -</div>
73 -
74 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
75 -<div style="margin-top: 10px;">&#160;&#160;<a href="http://www.wikisource.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/35px-Wikisource-logo.svg.png" width="35" height="37" alt="" /></a>&#160;<a href="http://www.wikisource.org/">Wikisource</a></div>
76 -</div>
77 -
78 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
79 -<div style="margin-top: 22px;">&#160;&#160;<a href="http://www.wikiversity.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Wikiversity-logo.svg/35px-Wikiversity-logo.svg.png" width="35" height="28" alt="" /></a>&#160;<a href="http://www.wikiversity.org/">Wikiversity</a></div>
80 -
81 -</div>
82 -
83 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
84 -<div style="margin-top: 7px;">&#160;&#160;<a href="http://commons.wikimedia.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/35px-Commons-logo.svg.png" width="35" height="47" alt="" /></a>&#160;<a href="http://commons.wikimedia.org/">Commons</a></div>
85 -</div>
86 -
87 -<div style="float: left; width: 33%; min-width: 12em; height: 60px;">
88 -<div style="margin-top: 13px;">&#160;&#160;<a href="http://meta.wikimedia.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/81/Wikimedia-logo.svg/35px-Wikimedia-logo.svg.png" width="35" height="35" alt="" /></a>&#160;<a href="http://meta.wikimedia.org/">Meta-Wiki</a></div>
89 -</div>
90 -
91 -</div><br style="clear: both;" />
92 -
93 -<div style="margin: 1.5em 0 2em 0; text-align: center;">
94 -<a href="http://wikimediafoundation.org/"><img src="http://upload.wikimedia.org/wikipedia/commons/8/8b/Wikimedia-button-for-homepage.png" width="88" height="31" alt="Wikimedia" /></a>
95 -</div>
96 -
97 -</div>
98 -</td>
99 -</tr>
100 -</table>
101 -
102 -
103 -
104 -<!-- end content -->
105 -<div class="visualClear"></div>
106 -</div>
107 -</div>
108 -</div>
109 -<!-- end of main content block -->
110 -<!-- start of the left (by default at least) column -->
111 -<!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> static footer, same for all pages but contains a few messaged that are worth caching -->
112 -<div class="visualClear"></div>
113 -
114 -<div id="colophon"></div>
115 -</div>
116 -</body>
117 -</html>

Status & tagging log