Daniel Kinzler has submitted this change and it was merged.

Change subject: Use only the list of supported wikis
......................................................................


Use only the list of supported wikis

Previously the list of all valid wikis was returned, with this
change only the list of wikis belonging to the Wikipedia group
is listed as valid. The members of the group is as it is defined
at any time in the internal table, or its fake alternative, and
may or may not have a direct resemblance with sites listed in
the sitematrix.

Patchset 2: Moved getGroup outside loop, its more efficient that
way compared to getting the group for each sitelink.

Change-Id: I4d672067da502cc3fe497db2335ef5622b2f9f9d
---
M repo/includes/api/ApiGetItems.php
M repo/includes/api/ApiModifyItem.php
M repo/includes/api/ApiSetItem.php
M repo/includes/api/ApiSetSiteLink.php
M repo/tests/phpunit/includes/api/ApiEditPageTest.php
M repo/tests/phpunit/includes/api/ApiJSONPCompleteTest.php
M repo/tests/phpunit/includes/api/ApiJSONPTest.php
M repo/tests/phpunit/includes/api/ApiLanguageAttributeTest.php
M repo/tests/phpunit/includes/api/ApiModifyItemBase.php
M repo/tests/phpunit/includes/api/ApiPermissionsTest.php
M repo/tests/phpunit/includes/api/ApiSetAliasesTest.php
M repo/tests/phpunit/includes/api/ApiSetSiteLinkTest.php
12 files changed, 21 insertions(+), 12 deletions(-)

Approvals:
  Daniel Kinzler: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/16727
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4d672067da502cc3fe497db2335ef5622b2f9f9d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: John Erling Blad <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Jens Ohlig <[email protected]>
Gerrit-Reviewer: John Erling Blad <[email protected]>

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

Reply via email to