Page MenuHomePhabricator

Add version compatibily information to README
Closed, ResolvedPublic

Description

Author: dankirkd

Description:
Line 194: $links = implode( "\n", array_keys( $out->getExternalLinks() ) ); causes saves
to fail because the function getExternalLinks cannot be found.

I believe that I have installed and set up things correctly.

My page is called: Spam_blacklist

I've added the following to the bottom of my LocalSettings.php file:

require_once( "$IP/extensions/SpamBlacklist/SpamBlacklist.php" );
$wgSpamBlacklistFiles = array("DB: wikidb Spam_blacklist");

I am running MediaWiki 1.5.8 out of necessity (my how is running MySQL 3.23).

getExternalLinks() appears to be in Parser.php in later versions.

My workaround is to comment out line 194. Seems to work.


Version: unspecified
Severity: minor

Details

Reference
bz9094

Event Timeline

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

robchur wrote:

The spam blacklist is almost certainly broken with MediaWiki 1.5.x.

dankirkd wrote:

Could the README be updated with compatibility information then?