[MediaWiki-commits] [Gerrit] Revert "Use a low TTL for parser output when special pages a... - change (mediawiki/core)
Aaron Schulz has submitted this change and it was merged. Change subject: Revert "Use a low TTL for parser output when special pages are included" .. Revert "Use a low TTL for parser output when special pages are included" Needs some follow up and does not have a huge impact. This reverts commit 48652dfc27d1bbaab41b3a4d8f7d6be23e2da6b6. Change-Id: I4408477a1bd212e514f7f19ce776bd142c4feb39 --- M includes/parser/Parser.php 1 file changed, 1 insertion(+), 2 deletions(-) Approvals: Aaron Schulz: Verified; Looks good to me, approved diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index b1c3efa..116b274 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3155,8 +3155,7 @@ $this->mOutput->addOutputPageMetadata( $context->getOutput() ); $found = true; $isHTML = true; - // Severely reduce cache time to keep content dynamic - $this->mOutput->updateCacheExpiry( 30 ); + $this->disableCache(); } } elseif ( MWNamespace::isNonincludable( $title->getNamespace() ) ) { $found = false; # access denied -- To view, visit https://gerrit.wikimedia.org/r/294421 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4408477a1bd212e514f7f19ce776bd142c4feb39 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: wmf/1.28.0-wmf.5 Gerrit-Owner: Aaron SchulzGerrit-Reviewer: Aaron Schulz Gerrit-Reviewer: Cscott Gerrit-Reviewer: Jackmcbarn ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Revert "Use a low TTL for parser output when special pages a... - change (mediawiki/core)
jenkins-bot has submitted this change and it was merged. Change subject: Revert "Use a low TTL for parser output when special pages are included" .. Revert "Use a low TTL for parser output when special pages are included" Needs some follow up and does not have a huge impact. This reverts commit 78de24a20c4662ea709e1f8af84bb5fae4aea2fa. Change-Id: Iabd3459466fd65c208696b2cdff2842bfc2300df --- M includes/parser/Parser.php 1 file changed, 1 insertion(+), 2 deletions(-) Approvals: Aaron Schulz: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index b563613..63a297b 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3151,8 +3151,7 @@ $this->mOutput->addOutputPageMetadata( $context->getOutput() ); $found = true; $isHTML = true; - // Severely reduce cache time to keep content dynamic - $this->mOutput->updateCacheExpiry( 30 ); + $this->disableCache(); } } elseif ( MWNamespace::isNonincludable( $title->getNamespace() ) ) { $found = false; # access denied -- To view, visit https://gerrit.wikimedia.org/r/294422 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iabd3459466fd65c208696b2cdff2842bfc2300df Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: wmf/1.28.0-wmf.6 Gerrit-Owner: Aaron SchulzGerrit-Reviewer: Aaron Schulz Gerrit-Reviewer: Cscott Gerrit-Reviewer: Jackmcbarn Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Revert "Use a low TTL for parser output when special pages a... - change (mediawiki/core)
Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/294421 Change subject: Revert "Use a low TTL for parser output when special pages are included" .. Revert "Use a low TTL for parser output when special pages are included" Needs some follow up and does not have a huge impact. This reverts commit 48652dfc27d1bbaab41b3a4d8f7d6be23e2da6b6. Change-Id: I4408477a1bd212e514f7f19ce776bd142c4feb39 --- M includes/parser/Parser.php 1 file changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/21/294421/1 diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index b1c3efa..116b274 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3155,8 +3155,7 @@ $this->mOutput->addOutputPageMetadata( $context->getOutput() ); $found = true; $isHTML = true; - // Severely reduce cache time to keep content dynamic - $this->mOutput->updateCacheExpiry( 30 ); + $this->disableCache(); } } elseif ( MWNamespace::isNonincludable( $title->getNamespace() ) ) { $found = false; # access denied -- To view, visit https://gerrit.wikimedia.org/r/294421 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4408477a1bd212e514f7f19ce776bd142c4feb39 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: wmf/1.28.0-wmf.5 Gerrit-Owner: Aaron Schulz___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Revert "Use a low TTL for parser output when special pages a... - change (mediawiki/core)
Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/294422 Change subject: Revert "Use a low TTL for parser output when special pages are included" .. Revert "Use a low TTL for parser output when special pages are included" Needs some follow up and does not have a huge impact. This reverts commit 78de24a20c4662ea709e1f8af84bb5fae4aea2fa. Change-Id: Iabd3459466fd65c208696b2cdff2842bfc2300df --- M includes/parser/Parser.php 1 file changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/22/294422/1 diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index b563613..63a297b 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3151,8 +3151,7 @@ $this->mOutput->addOutputPageMetadata( $context->getOutput() ); $found = true; $isHTML = true; - // Severely reduce cache time to keep content dynamic - $this->mOutput->updateCacheExpiry( 30 ); + $this->disableCache(); } } elseif ( MWNamespace::isNonincludable( $title->getNamespace() ) ) { $found = false; # access denied -- To view, visit https://gerrit.wikimedia.org/r/294422 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iabd3459466fd65c208696b2cdff2842bfc2300df Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: wmf/1.28.0-wmf.6 Gerrit-Owner: Aaron Schulz___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits