Daniel Kinzler has uploaded a new change for review.

Change subject: Refactored link normalization, moved to SiteLink
......................................................................

Refactored link normalization, moved to SiteLink

Site link normalization is now performed by the SiteLink class.
Several other minor aspects of the usage of SiteLink have been clarified,
such as Item::addSiteLink now taking a SiteLink object as input.

Also, SiteLinkTest is now actually registered and executed.

Change-Id: Iebde3fe547986900ff001162be5d0b00217a92da
---
M lib/WikibaseLib.hooks.php
M lib/includes/Item.php
M lib/includes/ItemObject.php
M lib/includes/SiteLink.php
M lib/tests/phpunit/ItemNewEmptyTest.php
M lib/tests/phpunit/ItemObjectTest.php
M lib/tests/phpunit/SiteLinkTest.php
M lib/tests/phpunit/TestItems.php
M repo/includes/api/ApiSetItem.php
M repo/includes/api/ApiSetSiteLink.php
M repo/tests/phpunit/includes/api/ApiSetSiteLinkTest.php
11 files changed, 239 insertions(+), 423 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/00/16200/1
--
To view, visit https://gerrit.wikimedia.org/r/16200
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iebde3fe547986900ff001162be5d0b00217a92da
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Kinzler <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to