Merge "(bug 23844) Add var dataCacheTime to mw.config"
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 19 May 2012 22:05:20 +0000 (22:05 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 19 May 2012 22:05:20 +0000 (22:05 +0000)
includes/QueryPage.php

index e537ff5..4440aac 100644 (file)
@@ -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( "<div class=\"mw-querypage-no-updates\">\n$1\n</div>", 'querypage-no-updates' );
                                }
                        }
                }