From: umherirrender Date: Sat, 19 May 2012 17:48:13 +0000 (+0200) Subject: Wrap message querypage-no-updates into a class X-Git-Tag: 1.31.0-rc.0~23565 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=dbaec6e71fc03b5713cfcb0ce38770e85da2594f;p=lhc%2Fweb%2Fwiklou.git Wrap message querypage-no-updates into a class this allows easy styling of that message Change-Id: Ief78cb598613e705dace65e4b8e36dcb544c6f4b --- 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' ); } } }