From 5487b415f0d24e17ae21aafaafd7f033648231e6 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 15 May 2008 07:47:44 +0000 Subject: [PATCH] Use headings per section, improves navigation by screenreaders too. --- includes/ImagePage.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 57cbf5bbc0..51c84005a9 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -577,7 +577,7 @@ EOT $wgOut->addWikiMsg( 'nolinkstoimage' ); return; } - $wgOut->addWikiMsg( 'linkstoimage' ); + $wgOut->addHTML( Xml::element( 'h5', null, wfMsg( 'linkstoimage' ) ) . "\n" ); $wgOut->addHTML( "