Merge "You are reviewing an old revision should be a warningbox"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 26 Sep 2019 19:41:48 +0000 (19:41 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 26 Sep 2019 19:41:48 +0000 (19:41 +0000)
includes/page/Article.php

index 4b37181..b6e366e 100644 (file)
@@ -1668,7 +1668,7 @@ class Article implements Page {
                }
 
                // the outer div is need for styling the revision info and nav in MobileFrontend
-               $outputPage->addSubtitle( "<div class=\"mw-revision\">" . $revisionInfo .
+               $outputPage->addSubtitle( "<div class=\"mw-revision warningbox\">" . $revisionInfo .
                        "<div id=\"mw-revision-nav\">" . $cdel .
                        $context->msg( 'revision-nav' )->rawParams(
                                $prevdiff, $prevlink, $lnk, $curdiff, $nextlink, $nextdiff