Jeroen De Dauw has submitted this change and it was merged. Change subject: Update / remove references to TermCache interface ......................................................................
Update / remove references to TermCache interface TermCache has been renamed to TermIndex. Change-Id: I088f4408958a0c2d6339eecfb75c6e32a108c8ad --- M lib/includes/store/TermIndex.php M lib/includes/store/sql/TermSqlIndex.php 2 files changed, 10 insertions(+), 12 deletions(-) Approvals: WikidataJenkins: Verified Jeroen De Dauw: Looks good to me, approved diff --git a/lib/includes/store/TermIndex.php b/lib/includes/store/TermIndex.php index 3b838c2..7f4ea0d 100644 --- a/lib/includes/store/TermIndex.php +++ b/lib/includes/store/TermIndex.php @@ -9,8 +9,6 @@ * * @licence GNU GPL v2+ * @author Jeroen De Dauw < jeroended...@gmail.com > - * - * @todo: rename to TermIndex */ interface TermIndex extends TermCombinationMatchFinder { diff --git a/lib/includes/store/sql/TermSqlIndex.php b/lib/includes/store/sql/TermSqlIndex.php index 7f0bf78..7973bd3 100644 --- a/lib/includes/store/sql/TermSqlIndex.php +++ b/lib/includes/store/sql/TermSqlIndex.php @@ -76,7 +76,7 @@ } /** - * @see TermCache::saveTermsOfEntity + * @see TermIndex::saveTermsOfEntity * * @since 0.1 * @@ -317,7 +317,7 @@ } /** - * @see TermCache::deleteTermsOfEntity + * @see TermIndex::deleteTermsOfEntity * * @since 0.5 * @@ -349,7 +349,7 @@ /** * Returns the terms stored for the given entity. - * @see TermCache::getTermsOfEntity + * @see TermIndex::getTermsOfEntity * * @param EntityId $id * @@ -390,7 +390,7 @@ /** * Returns the terms stored for the given entities. * - * @see TermCache::getTermsOfEntities + * @see TermIndex::getTermsOfEntities * * @param EntityId[] $ids * @param string $entityType @@ -475,7 +475,7 @@ } /** - * @see TermCache::termExists + * @see TermIndex::termExists * * @since 0.1 * @@ -524,7 +524,7 @@ } /** - * @see TermCache::getEntityIdsForLabel + * @see TermIndex::getEntityIdsForLabel * * @since 0.1 * @@ -585,7 +585,7 @@ } /** - * @see TermCache::getMatchingTerms + * @see TermIndex::getMatchingTerms * * @since 0.2 * @@ -634,7 +634,7 @@ } /** - * @see TermCache::getMatchingIDs + * @see TermIndex::getMatchingIDs * * @since 0.4 * @@ -866,7 +866,7 @@ } /** - * @see TermCache::clear + * @see TermIndex::clear * * @since 0.2 * @@ -880,7 +880,7 @@ } /** - * @see TermCache::getMatchingTermCombination + * @see TermIndex::getMatchingTermCombination * * Note: the interface specifies capability for only a single join, which in this implementation * is enforced by the $joinCount var. The code itself however could handle multiple joins. -- To view, visit https://gerrit.wikimedia.org/r/152056 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I088f4408958a0c2d6339eecfb75c6e32a108c8ad Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com> Gerrit-Reviewer: WikidataJenkins <wikidata-servi...@wikimedia.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits