r39293 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39292‎ | r39293 | r39294 >
Date:16:10, 13 August 2008
Author:ialex
Status:old
Tags:
Comment:
* Use XHTML 1.0 Transitional doctype
* Fix XHTML errors
Modified paths:
  • /trunk/tools/upload-scripts/404.php (modified) (history)

Diff [purge]

Index: trunk/tools/upload-scripts/404.php
@@ -15,24 +15,27 @@
1616 header( 'HTTP/1.1 404 Not Found' );
1717
1818 $standard_404=<<<ENDTEXT
19 -<html>
 19+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 20+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
2021 <head>
21 -<title>
22 -Wikimedia page not found: $encUrl
23 -</title>
24 -<link rel="shortcut icon" href="https://www.mediawiki.org/favicon.ico" />
 22+ <title>Wikimedia page not found: $encUrl</title>
 23+ <link rel="shortcut icon" href="https://www.mediawiki.org/favicon.ico" />
 24+</head>
2525 <body>
26 -<h1><a href="http://en.wikipedia.org/wiki/404_error">404 error</a>: File not found</h1>
27 -The <a href="http://en.wikipedia.org/wiki/Uniform_resource_locator">URL</a>
28 -you requested was not found. Maybe you would like to look at:
29 -<P>
30 -<UL><LI><a href="https://www.mediawiki.org/">The main page</A>
31 - <li><a href="http://download.wikimedia.org">The list of Wikimedia downloads</A>
32 -</UL>
33 -<P>
34 -<hr noshade/>
35 -<p><i>A project of the <a href="http://wikimediafoundation.org/">Wikimedia
36 -foundation</a></i>.</p>
 26+<h1><a href="http://en.wikipedia.org/wiki/HTTP_404">404 error</a>: File not found</h1>
 27+<p>
 28+ The <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator">URL</a>
 29+ you requested was not found. Maybe you would like to look at:
 30+</p>
 31+<ul>
 32+ <li><a href="https://www.mediawiki.org/">The main page</a></li>
 33+ <li><a href="http://download.wikimedia.org">The list of Wikimedia downloads</a></li>
 34+</ul>
 35+<hr noshade="noshade" />
 36+<p>
 37+<i>A project of the <a href="http://wikimediafoundation.org/">Wikimedia
 38+foundation</a></i>.
 39+</p>
3740 </body>
3841 </html>
3942 ENDTEXT;

Status & tagging log