Remove ORM use from DBSiteStore
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 6 Oct 2015 17:08:56 +0000 (13:08 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 6 Oct 2015 20:20:53 +0000 (16:20 -0400)
commit4191a167003be97e75da7988353a066006640fb8
tree7bb3fdda248f6ba43e9ebb32823f3cd17884fefe
parent4c4deabac0811bacb8dc4f006d20e6c2be20a6dd
Remove ORM use from DBSiteStore

This loses something of the genericity of the former DBSiteStore (i.e.
it's now tied to MediaWiki's database and sites table, and subclasses
and users can't easily override that), but nothing in core or extensions
in Gerrit was using that genericity so it's probably no big loss.

Further, T113034 (an RFC to actually use this 'site' stuff for its
original purpose) proposes getting rid of SiteStore anyway.

Bug: T114538
Change-Id: I7e7ca257451e6307a7e5bb11fd393283d0d19e77
includes/site/DBSiteStore.php
includes/site/SiteSQLStore.php