Daniel Kinzler has submitted this change and it was merged. Change subject: Put sql classes in store/sql directory in lib ......................................................................
Put sql classes in store/sql directory in lib Change-Id: If39cb6343ce8d4bc2cc2c369b3baa8c8ca491feb --- M lib/WikibaseLib.php R lib/includes/store/sql/CachingEntityLoader.php R lib/includes/store/sql/SiteLinkTable.php R lib/includes/store/sql/WikiPageEntityLookup.php 4 files changed, 5 insertions(+), 4 deletions(-) Approvals: Daniel Kinzler: Verified; Looks good to me, approved jenkins-bot: Checked Objections: John Erling Blad: There's a problem with this change, please improve diff --git a/lib/WikibaseLib.php b/lib/WikibaseLib.php index b5e7506..44dd3da 100644 --- a/lib/WikibaseLib.php +++ b/lib/WikibaseLib.php @@ -101,7 +101,6 @@ // includes $wgAutoloadClasses['Wikibase\Arrayalizer'] = $dir . 'includes/Arrayalizer.php'; $wgAutoloadClasses['Wikibase\ByPropertyIdArray'] = $dir . 'includes/ByPropertyIdArray.php'; -$wgAutoloadClasses['Wikibase\CachingEntityLoader'] = $dir . 'includes/store/CachingEntityLoader.php'; $wgAutoloadClasses['Wikibase\ChangeNotifier'] = $dir . 'includes/ChangeNotifier.php'; $wgAutoloadClasses['Wikibase\ChangeNotificationJob'] = $dir . 'includes/ChangeNotificationJob.php'; $wgAutoloadClasses['Wikibase\ChangesTable'] = $dir . 'includes/ChangesTable.php'; @@ -173,13 +172,15 @@ $wgAutoloadClasses['Wikibase\Lib\Serializers\SnakSerializer'] = $dir . 'includes/serializers/SnakSerializer.php'; $wgAutoloadClasses['Wikibase\Lib\Serializers\Unserializer'] = $dir . 'includes/serializers/Unserializer.php'; - // includes/store $wgAutoloadClasses['Wikibase\EntityLookup'] = $dir . 'includes/store/EntityLookup.php'; $wgAutoloadClasses['Wikibase\SiteLinkCache'] = $dir . 'includes/store/SiteLinkCache.php'; $wgAutoloadClasses['Wikibase\SiteLinkLookup'] = $dir . 'includes/store/SiteLinkLookup.php'; -$wgAutoloadClasses['Wikibase\SiteLinkTable'] = $dir . 'includes/store/SiteLinkTable.php'; -$wgAutoloadClasses['Wikibase\WikiPageEntityLookup'] = $dir . 'includes/store/WikiPageEntityLookup.php'; + +// includes/store/sql +$wgAutoloadClasses['Wikibase\CachingEntityLoader'] = $dir . 'includes/store/sql/CachingEntityLoader.php'; +$wgAutoloadClasses['Wikibase\SiteLinkTable'] = $dir . 'includes/store/sql/SiteLinkTable.php'; +$wgAutoloadClasses['Wikibase\WikiPageEntityLookup'] = $dir . 'includes/store/sql/WikiPageEntityLookup.php'; // tests $wgAutoloadClasses['Wikibase\Test\HashArrayTest'] = $dir . 'tests/phpunit/hasharray/HashArrayTest.php'; diff --git a/lib/includes/store/CachingEntityLoader.php b/lib/includes/store/sql/CachingEntityLoader.php similarity index 100% rename from lib/includes/store/CachingEntityLoader.php rename to lib/includes/store/sql/CachingEntityLoader.php diff --git a/lib/includes/store/SiteLinkTable.php b/lib/includes/store/sql/SiteLinkTable.php similarity index 100% rename from lib/includes/store/SiteLinkTable.php rename to lib/includes/store/sql/SiteLinkTable.php diff --git a/lib/includes/store/WikiPageEntityLookup.php b/lib/includes/store/sql/WikiPageEntityLookup.php similarity index 100% rename from lib/includes/store/WikiPageEntityLookup.php rename to lib/includes/store/sql/WikiPageEntityLookup.php -- To view, visit https://gerrit.wikimedia.org/r/54148 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If39cb6343ce8d4bc2cc2c369b3baa8c8ca491feb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Aude <[email protected]> Gerrit-Reviewer: Aude <[email protected]> Gerrit-Reviewer: Daniel Kinzler <[email protected]> Gerrit-Reviewer: John Erling Blad <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
