From dbaec6e71fc03b5713cfcb0ce38770e85da2594f Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 19 May 2012 19:48:13 +0200 Subject: [PATCH] Wrap message querypage-no-updates into a class this allows easy styling of that message Change-Id: Ief78cb598613e705dace65e4b8e36dcb544c6f4b --- includes/QueryPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 1c42b1c84c..44e99535f2 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -508,7 +508,7 @@ abstract class QueryPage extends SpecialPage { # If updates on this page have been disabled, let the user know # that the data set won't be refreshed for now if ( is_array( $wgDisableQueryPageUpdate ) && in_array( $this->getName(), $wgDisableQueryPageUpdate ) ) { - $out->addWikiMsg( 'querypage-no-updates' ); + $out->wrapWikiMsg( "
\n$1\n
", 'querypage-no-updates' ); } } } -- 2.20.1