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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14430, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12430 - maintenance/cleanupSpam.php try to access private method LinkFilter::makeRegex
maintenance/cleanupSpam.php try to access private method LinkFilter::makeRegex
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.12.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links