jenkins-bot has submitted this change and it was merged.
Change subject: Replace usage of deprecated OutputPage::setSquidMaxage
......................................................................
Replace usage of deprecated OutputPage::setSquidMaxage
The new OutputPage::setCdnMaxage does exactly the same.
Change-Id: I587972094e5687672345057345019388f2748e2b
---
M repo/includes/specials/SpecialListProperties.php
M repo/includes/specials/SpecialWikibaseQueryPage.php
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Ricordisamoa: Looks good to me, but someone else must approve
JanZerebecki: Looks good to me, approved
jenkins-bot: Verified
diff --git a/repo/includes/specials/SpecialListProperties.php
b/repo/includes/specials/SpecialListProperties.php
index cd77797..5773c86 100644
--- a/repo/includes/specials/SpecialListProperties.php
+++ b/repo/includes/specials/SpecialListProperties.php
@@ -121,7 +121,7 @@
parent::execute( $subPage );
$output = $this->getOutput();
- $output->setSquidMaxage( static::CACHE_TTL_IN_SECONDS );
+ $output->setCdnMaxage( static::CACHE_TTL_IN_SECONDS );
$this->prepareArguments( $subPage );
$this->showForm();
diff --git a/repo/includes/specials/SpecialWikibaseQueryPage.php
b/repo/includes/specials/SpecialWikibaseQueryPage.php
index b8c19c4..333129a 100644
--- a/repo/includes/specials/SpecialWikibaseQueryPage.php
+++ b/repo/includes/specials/SpecialWikibaseQueryPage.php
@@ -84,7 +84,7 @@
parent::execute( $subPage );
$output = $this->getOutput();
- $output->setSquidMaxage( static::CACHE_TTL_IN_SECONDS );
+ $output->setCdnMaxage( static::CACHE_TTL_IN_SECONDS );
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/262935
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I587972094e5687672345057345019388f2748e2b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: JanZerebecki <[email protected]>
Gerrit-Reviewer: Ricordisamoa <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits