Harej has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/336724 )
Change subject: Changing default color to lightgrey. ...................................................................... Changing default color to lightgrey. Bug: T157627 Change-Id: I03ced8f401c77316d17ec7264d2d4725fce80769 --- M includes/CollaborationHubContentEditor.php M includes/SpecialCreateCollaborationHub.php M includes/content/CollaborationHubContent.php 3 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollaborationKit refs/changes/24/336724/1 diff --git a/includes/CollaborationHubContentEditor.php b/includes/CollaborationHubContentEditor.php index e6edcf3..8f5d75a 100644 --- a/includes/CollaborationHubContentEditor.php +++ b/includes/CollaborationHubContentEditor.php @@ -58,7 +58,7 @@ $colours[ 'collaborationkit-' . $colour ] = $colour; } if ( $parts[4] == '' ) { - $selectedColour = 'darkblue'; + $selectedColour = 'lightgrey'; } else { $selectedColour = $parts[4]; } diff --git a/includes/SpecialCreateCollaborationHub.php b/includes/SpecialCreateCollaborationHub.php index 4401229..c56750e 100644 --- a/includes/SpecialCreateCollaborationHub.php +++ b/includes/SpecialCreateCollaborationHub.php @@ -71,7 +71,7 @@ 'cssclass' => 'mw-ck-colour-input', 'label-message' => 'collaborationkit-hubedit-colour', 'options' => $this->getOptions( $colours ), - 'default' => 'darkblue' + 'default' => 'lightgrey' ]; /* Comment this out until it's actually implemented (T135408) diff --git a/includes/content/CollaborationHubContent.php b/includes/content/CollaborationHubContent.php index 439f753..451a1f3 100644 --- a/includes/content/CollaborationHubContent.php +++ b/includes/content/CollaborationHubContent.php @@ -121,7 +121,7 @@ // Set colour to default if empty or missing if ( !isset( $data->colour ) || $data->colour == '' ) { - $this->themeColour = 'darkblue'; + $this->themeColour = 'lightgrey'; } else { $this->themeColour = $data->colour; } -- To view, visit https://gerrit.wikimedia.org/r/336724 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I03ced8f401c77316d17ec7264d2d4725fce80769 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CollaborationKit Gerrit-Branch: master Gerrit-Owner: Harej <jamesmh...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits