Merge "jquery.makeCollapsible: Simplify code"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 2 May 2016 14:58:16 +0000 (14:58 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 2 May 2016 14:58:16 +0000 (14:58 +0000)
includes/EditPage.php
includes/parser/ParserCache.php
resources/src/mediawiki.legacy/shared.css
resources/src/mediawiki.skinning/content.parsoid.less

index 8f6b202..9112112 100644 (file)
@@ -2838,7 +2838,7 @@ class EditPage {
                                                '{{fullurl:Special:UserLogin/signup|returnto={{FULLPAGENAMEE}}}}' ]
                                );
                        } else {
-                               $wgOut->wrapWikiMsg( "<div id=\"mw-anon-preview-warning\">\n$1</div>",
+                               $wgOut->wrapWikiMsg( "<div id=\"mw-anon-preview-warning\" class=\"warningbox\">\n$1</div>",
                                        'anonpreviewwarning'
                                );
                        }
index 5876e0b..21486ff 100644 (file)
@@ -150,7 +150,7 @@ class ParserCache {
                                        "Parser options key expired, touched " . $article->getTouched()
                                        . ", epoch $wgCacheEpoch, cached $cacheTime\n" );
                                return false;
-                       } elseif ( $optionsKey->isDifferentRevision( $article->getLatest() ) ) {
+                       } elseif ( !$useOutdated && $optionsKey->isDifferentRevision( $article->getLatest() ) ) {
                                wfIncrStats( "pcache.miss.revid" );
                                $revId = $article->getLatest();
                                $cachedRevId = $optionsKey->getCacheRevisionId();
@@ -230,7 +230,7 @@ class ParserCache {
                                "ParserOutput key expired, touched $touched, "
                                . "epoch $wgCacheEpoch, cached $cacheTime\n" );
                        $value = false;
-               } elseif ( $value->isDifferentRevision( $article->getLatest() ) ) {
+               } elseif ( !$useOutdated && $value->isDifferentRevision( $article->getLatest() ) ) {
                        wfIncrStats( "pcache.miss.revid" );
                        $revId = $article->getLatest();
                        $cachedRevId = $value->getCacheRevisionId();
index 4c618d4..cfdf797 100644 (file)
@@ -112,7 +112,6 @@ abbr[title],
 .mw-plusminus-neg,
 .mw-plusminus-null {
        unicode-bidi: -moz-isolate;
-       unicode-bidi: -webkit-isolate;
        unicode-bidi: isolate;
 }
 
@@ -120,7 +119,6 @@ abbr[title],
 span.comment {
        font-style: italic;
        unicode-bidi: -moz-isolate;
-       unicode-bidi: -webkit-isolate;
        unicode-bidi: isolate;
 }
 
index 66b3fb2..99d465b 100644 (file)
@@ -35,7 +35,6 @@ span.reference {
        line-height: 1;
        vertical-align: super;
        unicode-bidi: -moz-isolate;
-       unicode-bidi: -webkit-isolate;
        unicode-bidi: isolate;
 }