*/
public static function makeLikeArray( $filterEntry, $protocol = 'http://' ) {
$db = wfGetDB( DB_REPLICA );
+ $like = [];
$target = $protocol . $filterEntry;
$bits = wfParseUrl( $target );
}
}
- $like = [];
$like[] = $bits['scheme'] . $bits['delimiter'] . $bits['host'];
if ( $subdomains ) {