Jeroen De Dauw has uploaded a new change for review.

Change subject: Adding sites handling
......................................................................

Adding sites handling

This commit introduces a new table to hold site data and configuration,
objects to represent the table, site objects and lists of sites and
associated tests.

The sites code is a more generalized and less contrived version of the
interwiki code we currently have and is meant to replace it eventually.
This commit does not do away with the existing interwiki code in any way yet.

The reasons for this change where outlined and discussed on wikitech here:
http://lists.wikimedia.org/pipermail/wikitech-l/2012-June/061069.html

Change-Id: Ic372f959109e572d309342c2a942fc7e9eba8ab8
---
M includes/AutoLoader.php
M includes/DefaultSettings.php
M includes/Defines.php
M includes/installer/MysqlUpdater.php
M includes/installer/SqliteUpdater.php
M includes/interwiki/Interwiki.php
A includes/sites/MediaWikiSite.php
A includes/sites/Site.php
A includes/sites/SiteConfig.php
A includes/sites/SiteConfigObject.php
A includes/sites/SiteList.php
A includes/sites/SiteRow.php
A includes/sites/Sites.php
A includes/sites/SitesTable.php
A maintenance/archives/patch-sites-table.sql
A maintenance/sqlite/archives/patch-sites-table.sql
M maintenance/tables.sql
A tests/phpunit/includes/sites/MediaWikiSiteTest.php
A tests/phpunit/includes/sites/SiteConfigObjectTest.php
A tests/phpunit/includes/sites/SiteListTest.php
A tests/phpunit/includes/sites/SiteRowTest.php
A tests/phpunit/includes/sites/SitesTest.php
22 files changed, 2,408 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/81/14181/1
--
To view, visit https://gerrit.wikimedia.org/r/14181
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic372f959109e572d309342c2a942fc7e9eba8ab8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to