CollaborationListContent.php
Two instances of this, but $context is never used
```lang=php
$context = wfEscapeWikiText( substr( $part, 30 ) );
if ( strlen( $context ) === 30 ) {
$context .= '...';
}
```
CollaborationListContent.php
* Line 964, $column is undefined
* sortUsersIntoColumns is $column actually an array? $column->items usage suggests it's not...
* Line 601 $itemTags; what is this to do?
~~CollaborationHubContent.php~~
* ~~Lines 857 and 858 are the same array key~~
~~CollaborationListContent.php~~
* ~~Lines 724 and 725 are the same array key~~
General/Multiple
* UsageException is deprecated
CollaborationListContent.php
```lang=php
private function matchesTag( array $tagSpecifier, array $itemTags ) {
if ( !$tagSpecifier ) {
return true;
}
$matchesAllGroups = true;
foreach ( $tagSpecifier as $tagGroups ) {
foreach ( $tagGroups as $tagAlt ) {
$matchesOneAlternative = false;
$itemTags;
if ( in_array( $tagAlt, $itemTags ) ) {
$matchesOneAlternative = true;
break;
}
}
if ( !$matchesOneAlternative ) {
$matchesAllGroups = false;
break;
}
}
return $matchesAllGroups;
}
```
* matchesOneAlternative is questionably defined
JS files missing "use strict", I know it's not compulsory, but generally recommended...