Aude has uploaded a new change for review. https://gerrit.wikimedia.org/r/239143
Change subject: Remove use of no longer existing $wgUseDumbLinkUpdate variable ...................................................................... Remove use of no longer existing $wgUseDumbLinkUpdate variable $wgUseDumbLinkUpdate and LinksUpdate::doDumbUpdate were removed from MediaWiki in 1.22: I115f8cf9 Bug: T112915 Change-Id: I89781f78de7c7df7a1bc62802652987c3d1e06d1 --- M GeoDataHooks.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GeoData refs/changes/43/239143/1 diff --git a/GeoDataHooks.php b/GeoDataHooks.php index c17d819..95bda5a 100644 --- a/GeoDataHooks.php +++ b/GeoDataHooks.php @@ -109,7 +109,7 @@ * @return bool */ public static function onLinksUpdate( &$linksUpdate ) { - global $wgUseDumbLinkUpdate, $wgGeoDataBackend; + global $wgGeoDataBackend; $out = $linksUpdate->getParserOutput(); $data = array(); @@ -125,7 +125,7 @@ } elseif ( $coordFromMetadata ) { $data[] = $coordFromMetadata; } - if ( $wgGeoDataBackend == 'db' && ( $wgUseDumbLinkUpdate || !count( $data ) ) ) { + if ( $wgGeoDataBackend == 'db' && !count( $data ) ) { self::doDumbUpdate( $data, $linksUpdate->mId ); } else { self::doSmartUpdate( $data, $linksUpdate->mId ); -- To view, visit https://gerrit.wikimedia.org/r/239143 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I89781f78de7c7df7a1bc62802652987c3d1e06d1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/GeoData Gerrit-Branch: master Gerrit-Owner: Aude <aude.w...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits