From dfb38d92e3eead0f2b9970e1539cdad871952566 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Mon, 9 Feb 2015 12:04:05 +0000 Subject: [PATCH] Generate valid HTML code on error pages For img_auth.php see http://validator.w3.org/check?uri=https%3A%2F%2Fwww.mediawiki.org%2Fw%2Fimg_auth.php;No200=1 For profileinfo.php consistently use "/>" for self-closing elements. Change-Id: I7e6aad0e7a2a745836adc430e3b2f3be5f31b6bb --- img_auth.php | 5 +++++ profileinfo.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/img_auth.php b/img_auth.php index 51470b6e6b..f44cac0b97 100644 --- a/img_auth.php +++ b/img_auth.php @@ -201,7 +201,12 @@ function wfForbidden( $msg1, $msg2 ) { header( 'Cache-Control: no-cache' ); header( 'Content-Type: text/html; charset=utf-8' ); echo << + + +$msgHdr +

$msgHdr

$detailMsg

diff --git a/profileinfo.php b/profileinfo.php index 4e3fb5ad28..f172cfb6f2 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -36,7 +36,7 @@ header( 'Content-Type: text/html; charset=utf-8' ); - + Profiling data