Mwjames has uploaded a new change for review. https://gerrit.wikimedia.org/r/61774
Change subject: (Bug 47927) $concept->getCacheStatus() ...................................................................... (Bug 47927) $concept->getCacheStatus() Instead of === 'full' do !== 'full' Change-Id: I5a431e6cfa8d476ed0aab1550899473c5e51044a --- M maintenance/SMW_conceptCache.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticMediaWiki refs/changes/74/61774/1 diff --git a/maintenance/SMW_conceptCache.php b/maintenance/SMW_conceptCache.php index 75e8f50..26240cd 100644 --- a/maintenance/SMW_conceptCache.php +++ b/maintenance/SMW_conceptCache.php @@ -147,7 +147,7 @@ if ( $concept === null ) { $skip = 'page not cachable (no concept description, maybe a redirect)'; - } elseif ( ( $select_update ) && ( $concept->getCacheStatus() === 'full' ) ) { + } elseif ( ( $select_update ) && ( $concept->getCacheStatus() !== 'full' ) ) { $skip = 'page not cached yet'; } elseif ( ( $select_old ) && ( $concept->getCacheStatus() === 'full' ) && ( $concept->getCacheDate() > ( strtotime( 'now' ) - $select_old * 60 ) ) ) { $skip = 'cache is not old yet'; -- To view, visit https://gerrit.wikimedia.org/r/61774 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5a431e6cfa8d476ed0aab1550899473c5e51044a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SemanticMediaWiki Gerrit-Branch: master Gerrit-Owner: Mwjames <jamesin.hongkon...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits