Merge "RecentChanges, RecentChangesLinked, Watchlist: message when no items"
[lhc/web/wiklou.git] / includes / specials / SpecialWatchlist.php
index 8340465..d61e1ee 100644 (file)
@@ -390,7 +390,9 @@ class SpecialWatchlist extends SpecialPage {
 
                # If there's nothing to show, stop here
                if ( $numRows == 0 ) {
-                       $output->addWikiMsg( 'watchnochange' );
+                       $output->wrapWikiMsg(
+                               "<div class='mw-changeslist-empty'>\n$1\n</div>", 'recentchanges-noresult'
+                       );
                        return;
                }