Give grep a chance to find the usages
[lhc/web/wiklou.git] / includes / EditPage.php
index 59b7480..f244828 100644 (file)
@@ -967,6 +967,7 @@ class EditPage {
                                                $undoMsg = 'norev';
                                        }
 
+                                       // Give grep a chance to find the usages: undo-success, undo-failure, undo-norev
                                        $class = ( $undoMsg == 'success' ? '' : 'error ' ) . "mw-undo-{$undoMsg}";
                                        $this->editFormPageTop .= $wgOut->parse( "<div class=\"{$class}\">" .
                                                wfMessage( 'undo-' . $undoMsg )->plain() . '</div>', true, /* interface */true );