From 8aaf699bf9ef9ead4914d2f0fdcf9d099412fd06 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 21 Feb 2007 17:47:48 +0000 Subject: [PATCH] Remove
s added to some 'empty' list messages in r20019: * they're ugly since there's no text above them * they're invalid XHTML since they are not closed --- includes/QueryPage.php | 2 +- includes/SpecialIpblocklist.php | 2 +- includes/SpecialProtectedpages.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/QueryPage.php b/includes/QueryPage.php index bce4544f26..d386d1295b 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -338,7 +338,7 @@ class QueryPage { # if list is empty, show it if( $num == 0 ) { - $wgOut->addHTML( '

' . wfMsgHTML('specialpage-empty') . '

' ); + $wgOut->addHTML( '

' . wfMsgHTML('specialpage-empty') . '

' ); return; } diff --git a/includes/SpecialIpblocklist.php b/includes/SpecialIpblocklist.php index 8fc74fe416..e67d585318 100644 --- a/includes/SpecialIpblocklist.php +++ b/includes/SpecialIpblocklist.php @@ -206,7 +206,7 @@ class IPUnblockForm { ""; $s .= $pager->getNavigationBar(); } else { - $s = '

' . wfMsgHTML( 'ipblocklistempty' ) . '

'; + $s = '

' . wfMsgHTML( 'ipblocklistempty' ) . '

'; } $wgOut->addHTML( $s ); } diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index a50096f9d7..d4a5e0d7d5 100644 --- a/includes/SpecialProtectedpages.php +++ b/includes/SpecialProtectedpages.php @@ -31,7 +31,7 @@ class ProtectedPagesForm { ""; $s .= $pager->getNavigationBar(); } else { - $s = '

' . wfMsgHTML( 'protectedpagesempty' ) . '

'; + $s = '

' . wfMsgHTML( 'protectedpagesempty' ) . '

'; } $wgOut->addHTML( $s ); } -- 2.20.1