Hi all!
I'm trying to run cleanupSpam.php in MediaWiki-1.11.1. However, I'm getting some errors:
<<<<<<<<<<<<<< wiki_osdc@hush:~/htdocs/maintenance$ /usr/local/apache/bin/php cleanupSpam.php "authenticsteroids.com" Found 1 articles containing authenticsteroids.com Index.php ...PHP Fatal error: Call to private method LinkFilter::makeregex() from context '' in /usr/local/apache-php/home/wiki.osdc.org.il/htdocs/maintenance/cleanupSpam.php on line 17
Fatal error: Call to private method LinkFilter::makeregex() from context '' in /usr/local/apache-php/home/wiki.osdc.org.il/htdocs/maintenance/cleanupSpam.php on line 17
>>>>>>>>
Here is the Special:Version:
http://wiki.osdc.org.il/index.php/Special:Version
Any help would be appreciated.
Regards,
Shlomi Fish ------------------------------------------ Shlomi Fish http://www.shlomifish.org/
Electrical Engineering studies. In the Technion. Been there. Done that. Forgot a lot. Remember too much.
Shlomi Fish wrote:
Hi all!
I'm trying to run cleanupSpam.php in MediaWiki-1.11.1. However, I'm getting some errors:
<<<<<<<<<<<<<< wiki_osdc@hush:~/htdocs/maintenance$ /usr/local/apache/bin/php cleanupSpam.php "authenticsteroids.com" Found 1 articles containing authenticsteroids.com Index.php ...PHP Fatal error: Call to private method LinkFilter::makeregex() from context '' in /usr/local/apache-php/home/wiki.osdc.org.il/htdocs/maintenance/cleanupSpam.php on line 17
Fatal error: Call to private method LinkFilter::makeregex() from context '' in /usr/local/apache-php/home/wiki.osdc.org.il/htdocs/maintenance/cleanupSpam.php on line 17
As a quick hackaround, remove the 'private' from the function declaration in includes/LinkFilter.php.
-- brion vibber (brion @ wikimedia.org)
Resolved in in r31466, http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=31466.
The problem is that will be only aviable in 1.13, maybe this should be backported to 1.12, but i'll let an developer do it.
Regards,
Alexandre Emsenhuber
Le 1.3.2008 9:24, « Shlomi Fish » shlomif@gmail.com a écrit :
Hi all!
I'm trying to run cleanupSpam.php in MediaWiki-1.11.1. However, I'm getting some errors:
<<<<<<<<<<<<<< wiki_osdc@hush:~/htdocs/maintenance$ /usr/local/apache/bin/php cleanupSpam.php "authenticsteroids.com" Found 1 articles containing authenticsteroids.com Index.php ...PHP Fatal error: Call to private method LinkFilter::makeregex() from context '' in /usr/local/apache-php/home/wiki.osdc.org.il/htdocs/maintenance/cleanupSpam.php on line 17
Fatal error: Call to private method LinkFilter::makeregex() from context '' in /usr/local/apache-php/home/wiki.osdc.org.il/htdocs/maintenance/cleanupSpam.php on line 17
>>>>>>
Here is the Special:Version:
http://wiki.osdc.org.il/index.php/Special:Version
Any help would be appreciated.
Regards,
Shlomi Fish
Shlomi Fish http://www.shlomifish.org/
Electrical Engineering studies. In the Technion. Been there. Done that. Forgot a lot. Remember too much.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org