Page MenuHomePhabricator

maintenance/cleanupSpam.php try to access private method LinkFilter::makeRegex
Closed, ResolvedPublic

Description

patch for maintenance/cleanupSpam.php

when i run maintenance/cleanupSpam.php to search for spam, i get this fatal error :
Fatal error: Call to private method LinkFilter::makeregex() from context '' in /path/to/wiki/maintenance/cleanupSpam.php on line 17
I made a patch for maintenance/cleanupSpam.php so that it uses LinkFilter::matchEntry() wich is a public function.


Version: 1.12.x
Severity: minor

Attached:

Details

Reference
bz12430

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:56 PM
bzimport set Reference to bz12430.
bzimport added a subscriber: Unknown Object (MLST).

Applied to 1.12 release branch in r31470