Harej has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/340423 )
Change subject: Cleanup of CollaborationListContent.php ...................................................................... Cleanup of CollaborationListContent.php Change-Id: I078470d8eeffb33a5b57cfab8dcbc523fe919c5d --- M includes/content/CollaborationListContent.php 1 file changed, 2 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CollaborationKit refs/changes/23/340423/1 diff --git a/includes/content/CollaborationListContent.php b/includes/content/CollaborationListContent.php index aa0ecc1..e8a47f7 100644 --- a/includes/content/CollaborationListContent.php +++ b/includes/content/CollaborationListContent.php @@ -25,7 +25,7 @@ const HUMAN_DESC_SPLIT = "\n-----------------------\n"; // Splitter denoting the beginning of a list column const HUMAN_COLUMN_SPLIT = "\n---------~-~---------\n"; - // Splitter denoting the beginning og the list itself within the column + // Splitter denoting the beginning of the list itself within the column const HUMAN_COLUMN_SPLIT2 = "\n---------------------\n"; /** @var $decoded boolean Have we decoded the data yet */ @@ -108,10 +108,7 @@ // Special handling for DISPLAYMODE if ( $name == 'DISPLAYMODE' ) { - if ( $value == 'members' || $value == 'normal' || $value == 'error' ) { - return true; - } - return false; + return ( $value == 'members' || $value == 'normal' || $value == 'error' ); } // Force intrepretation as boolean for certain options -- To view, visit https://gerrit.wikimedia.org/r/340423 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I078470d8eeffb33a5b57cfab8dcbc523fe919c5d 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