Added sites functionality, a much more generic and flexible version of the existing...
authorjeroendedauw <jeroendedauw@gmail.com>
Wed, 12 Sep 2012 17:22:39 +0000 (19:22 +0200)
committerjeroendedauw <jeroendedauw@gmail.com>
Fri, 12 Oct 2012 15:47:44 +0000 (17:47 +0200)
commit7389d7c69035c968553fbd2eaf1cf47038c4577c
tree48536d37470b5359a6602df6bf8e6dd4340a242a
parent21484ddacfd980e84accb44128a2c036cdda3e8d
Added sites functionality, a much more generic and flexible version of the existing interwiki code

This code is meant to replace the current interwiki code, but does not do so just yet. It is however used by the Wikibase extension. This allows us to try out some more things and have the code stabilize more before we migrate over existing interwiki functionality.

Change-Id: I23c47c2c3909a1500350fb560a5f2ec654e2c37e
21 files changed:
includes/AutoLoader.php
includes/DefaultSettings.php
includes/installer/MysqlUpdater.php
includes/installer/SqliteUpdater.php
includes/site/MediaWikiSite.php [new file with mode: 0644]
includes/site/Site.php [new file with mode: 0644]
includes/site/SiteArray.php [new file with mode: 0644]
includes/site/SiteList.php [new file with mode: 0644]
includes/site/SiteObject.php [new file with mode: 0644]
includes/site/Sites.php [new file with mode: 0644]
includes/site/SitesTable.php [new file with mode: 0644]
maintenance/archives/patch-sites.sql [new file with mode: 0644]
maintenance/sqlite/archives/patch-sites.sql [new file with mode: 0644]
maintenance/tables.sql
tests/phpunit/includes/libs/GenericArrayObjectTest.php
tests/phpunit/includes/site/MediaWikiSiteTest.php [new file with mode: 0644]
tests/phpunit/includes/site/SiteArrayTest.php [new file with mode: 0644]
tests/phpunit/includes/site/SiteListTest.php [new file with mode: 0644]
tests/phpunit/includes/site/SiteObjectTest.php [new file with mode: 0644]
tests/phpunit/includes/site/SitesTest.php [new file with mode: 0644]
tests/phpunit/includes/site/TestSites.php [new file with mode: 0644]