Page MenuHomePhabricator

Missing argument 2 for TitleBlacklist::parseBlacklist()
Closed, ResolvedPublic

Description

Warning: Missing argument 2 for TitleBlacklist::parseBlacklist(), called in /usr/local/apache/common-local/php-1.21wmf11/extensions/TitleBlacklist/TitleBlacklist.hooks.php on line 119 and defined in /usr/local/apache/common-local/php-1.21wmf11/extensions/TitleBlacklist/TitleBlacklist.list.php on line 129


Version: master
Severity: normal

Details

Reference
bz45991

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:36 AM
bzimport added a project: TitleBlacklist.
bzimport set Reference to bz45991.
bzimport added a subscriber: Unknown Object (MLST).

$bl = $blackList->parseBlacklist( $text );

/**

  • Parse blacklist from a string *
  • @param $list string Text of a blacklist source
  • @return array of TitleBlacklistEntry entries
	 */

public static function parseBlacklist( $list, $sourceName ) {