Tobias Gritschacher has uploaded a new change for review. https://gerrit.wikimedia.org/r/56160
Change subject: Make setClaim non-experimental ...................................................................... Make setClaim non-experimental Change-Id: I1c2da996211eefe90677a9e77863b3db757f5e19 --- M repo/Wikibase.hooks.php M repo/Wikibase.php M repo/config/Wikibase.experimental.php 3 files changed, 8 insertions(+), 10 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/60/56160/1 diff --git a/repo/Wikibase.hooks.php b/repo/Wikibase.hooks.php index 5072483..dc9cb66 100755 --- a/repo/Wikibase.hooks.php +++ b/repo/Wikibase.hooks.php @@ -180,6 +180,7 @@ 'api/SetClaimValue', 'api/SetReference', 'api/RemoveReferences', + 'api/SetClaim', //'api/RemoveQualifiers', 'content/EntityContentFactory', diff --git a/repo/Wikibase.php b/repo/Wikibase.php index 5098c7e..736d690 100644 --- a/repo/Wikibase.php +++ b/repo/Wikibase.php @@ -133,7 +133,7 @@ $wgAutoloadClasses['Wikibase\SubmitQueryAction'] = $dir . 'includes/actions/EditQueryAction.php'; // includes/api -$wgAutoloadClasses['Wikibase\Api\ApiWikibase'] = $dir . 'includes/api/ApiWikibase.php'; +$wgAutoloadClasses['Wikibase\Api\ApiWikibase'] = $dir . 'includes/api/ApiWikibase.php'; $wgAutoloadClasses['Wikibase\Api\IAutocomment'] = $dir . 'includes/api/IAutocomment.php'; $wgAutoloadClasses['Wikibase\Api\EditEntity'] = $dir . 'includes/api/EditEntity.php'; $wgAutoloadClasses['Wikibase\Api\GetEntities'] = $dir . 'includes/api/GetEntities.php'; @@ -145,13 +145,13 @@ $wgAutoloadClasses['Wikibase\Api\SetDescription'] = $dir . 'includes/api/SetDescription.php'; $wgAutoloadClasses['Wikibase\Api\SetLabel'] = $dir . 'includes/api/SetLabel.php'; $wgAutoloadClasses['Wikibase\Api\SetSiteLink'] = $dir . 'includes/api/SetSiteLink.php'; -$wgAutoloadClasses['Wikibase\Api\CreateClaim'] = $dir . 'includes/api/CreateClaim.php'; -$wgAutoloadClasses['Wikibase\Api\GetClaims'] = $dir . 'includes/api/GetClaims.php'; +$wgAutoloadClasses['Wikibase\Api\CreateClaim'] = $dir . 'includes/api/CreateClaim.php'; +$wgAutoloadClasses['Wikibase\Api\GetClaims'] = $dir . 'includes/api/GetClaims.php'; $wgAutoloadClasses['Wikibase\Api\RemoveClaims'] = $dir . 'includes/api/RemoveClaims.php'; -$wgAutoloadClasses['Wikibase\Api\SetClaimValue'] = $dir . 'includes/api/SetClaimValue.php'; +$wgAutoloadClasses['Wikibase\Api\SetClaimValue'] = $dir . 'includes/api/SetClaimValue.php'; $wgAutoloadClasses['Wikibase\Api\SetReference'] = $dir . 'includes/api/SetReference.php'; -$wgAutoloadClasses['Wikibase\Api\RemoveReferences'] = $dir . 'includes/api/RemoveReferences.php'; - +$wgAutoloadClasses['Wikibase\Api\RemoveReferences'] = $dir . 'includes/api/RemoveReferences.php'; +$wgAutoloadClasses['Wikibase\Api\SetClaim'] = $dir . 'includes/api/SetClaim.php'; // includes/content $wgAutoloadClasses['Wikibase\EntityContent'] = $dir . 'includes/content/EntityContent.php'; @@ -227,7 +227,7 @@ $wgAPIModules['wbsetclaimvalue'] = 'Wikibase\Api\SetClaimValue'; $wgAPIModules['wbsetreference'] = 'Wikibase\Api\SetReference'; $wgAPIModules['wbremovereferences'] = 'Wikibase\Api\RemoveReferences'; - +$wgAPIModules['wbsetclaim'] = 'Wikibase\Api\SetClaim'; // Special page registration $wgSpecialPages['NewItem'] = 'SpecialNewItem'; diff --git a/repo/config/Wikibase.experimental.php b/repo/config/Wikibase.experimental.php index a342639..48abec8 100644 --- a/repo/config/Wikibase.experimental.php +++ b/repo/config/Wikibase.experimental.php @@ -38,7 +38,6 @@ $wgAutoloadClasses['Wikibase\Api\RemoveQualifiers'] = $dir . 'includes/api/RemoveQualifiers.php'; $wgAutoloadClasses['Wikibase\Api\SetQualifier'] = $dir . 'includes/api/SetQualifier.php'; $wgAutoloadClasses['Wikibase\Api\SetStatementRank'] = $dir . 'includes/api/SetStatementRank.php'; -$wgAutoloadClasses['Wikibase\Api\SetClaim'] = $dir . 'includes/api/SetClaim.php'; $wgAutoloadClasses['SpecialEntityData'] = $dir . 'includes/specials/SpecialEntityData.php'; @@ -117,7 +116,6 @@ $wgAPIModules['wbremovequalifiers'] = 'Wikibase\Api\RemoveQualifiers'; $wgAPIModules['wbsetqualifier'] = 'Wikibase\Api\SetQualifier'; $wgAPIModules['wbsetstatementrank'] = 'Wikibase\Api\SetStatementRank'; -$wgAPIModules['wbsetclaim'] = 'Wikibase\Api\SetClaim'; $wgSpecialPages['EntityData'] = 'SpecialEntityData'; @@ -139,7 +137,6 @@ 'api/RemoveQualifiers', 'api/SetStatementRank', 'api/SetQualifier', - 'api/SetClaim', 'content/QueryContent', 'content/QueryHandler', -- To view, visit https://gerrit.wikimedia.org/r/56160 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1c2da996211eefe90677a9e77863b3db757f5e19 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Tobias Gritschacher <tobias.gritschac...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits