Brian Wolff has uploaded a new change for review.
https://gerrit.wikimedia.org/r/293621
Change subject: Make source only show up if applicable on
Special:CreateCollaborationHub
......................................................................
Make source only show up if applicable on Special:CreateCollaborationHub
Bug: T135412
Change-Id: I7e1768811a006ad309182ee31cc86ce52a0d858e
---
M includes/SpecialCreateCollaborationHub.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollaborationKit
refs/changes/21/293621/1
diff --git a/includes/SpecialCreateCollaborationHub.php
b/includes/SpecialCreateCollaborationHub.php
index 282a890..564dc34 100644
--- a/includes/SpecialCreateCollaborationHub.php
+++ b/includes/SpecialCreateCollaborationHub.php
@@ -60,6 +60,7 @@
$fields['source'] = array(
'type' => 'text',
'label-message' => 'collaborationkit-create-source',
+ 'hide-if' => [ '===', 'wpcontent_source', 'new' ]
);
$fields['description'] = array(
--
To view, visit https://gerrit.wikimedia.org/r/293621
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e1768811a006ad309182ee31cc86ce52a0d858e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CollaborationKit
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits