jenkins-bot has submitted this change and it was merged.
Change subject: Make Constraints on Property page experimental
......................................................................
Make Constraints on Property page experimental
Since the UI does not yet support claims on peroperties,
don't show a Constraints section on Property pages
unless experimental features are enabled.
Change-Id: I7787c9929345d76ac994509eb286b610b5e66664
---
M repo/includes/PropertyView.php
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
WikidataJenkins: Verified
Thiemo Mättig (WMDE): Looks good to me, approved
jenkins-bot: Verified
diff --git a/repo/includes/PropertyView.php b/repo/includes/PropertyView.php
index 2f86870..06960c6 100644
--- a/repo/includes/PropertyView.php
+++ b/repo/includes/PropertyView.php
@@ -50,7 +50,10 @@
$html .= $this->getHtmlForAliases( $property, $editable );
$html .= $this->getHtmlForToc();
$html .= $this->getHtmlForTermBox( $property, $editable );
- $html .= $this->getHtmlForClaims( $property, $editable );
+
+ if ( defined( 'WB_EXPERIMENTAL_FEATURES' ) &&
WB_EXPERIMENTAL_FEATURES ) {
+ $html .= $this->getHtmlForClaims( $property, $editable
);
+ }
$footer = $this->msg( 'wikibase-property-footer' );
--
To view, visit https://gerrit.wikimedia.org/r/123226
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7787c9929345d76ac994509eb286b610b5e66664
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: WikidataJenkins <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits