Last modified: 2008-03-02 21:42:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12430 - maintenance/cleanupSpam.php try to access private method LinkFilter::makeRegex
maintenance/cleanupSpam.php try to access private method LinkFilter::makeRegex
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2007-12-27 15:56 UTC by Alexandre Emsenhuber [IAlex]
Modified: 2008-03-02 21:42 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

patch for maintenance/cleanupSpam.php (666 bytes, patch)
2007-12-27 15:56 UTC, Alexandre Emsenhuber [IAlex]

Description Alexandre Emsenhuber [IAlex] 2007-12-27 15:56:29 UTC
Created attachment 4475 [details]
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.
Comment 1 Alexandre Emsenhuber [IAlex] 2008-03-02 20:17:26 UTC
Fixed in r31466.
Comment 2 Brion Vibber 2008-03-02 21:42:21 UTC
Applied to 1.12 release branch in r31470

Note You need to log in before you can comment on or make changes to this bug.