# Wiki issues

Thread in 'Discussion' started by Pineapple, 4 May 2007.

1. ### Pineapple

Fatal error: Call to undefined function: getexternallinks() in /home/nico/public_html/wiki/extensions/SpamBlacklist/SpamBlacklist_body.php on line 194

Attempting to edit a page while logged in. Previewing the edit worked without problems; the error occurs while trying to save the change.

2. ### caffeine

this is the line in question:

$links = implode( "\n", array_keys($out->getExternalLinks() ) );

should i uninstall?

3. ### chrisUnregistered

Or you could define the function? (:

4. ### caffeine

anyone know how to?

5. ### chrisUnregistered

I'm sure I could help, but I'd have to access to the full codebase.

If you want to scour around yourself, basically you just need to find where the "$out" variable is assigned a class (something like "$out = new ClassName;"), and then look for the getExternalLinks() method under that class. There are any number of reasons why that could be failing though, hard to give useful instructions.

7. ### tepplesLockjaw developer

You need newer MediaWiki to use the current version:

8. ### caffeine

psh... k maybe later.

9. ### tepplesLockjaw developer

Does your hosting provider offer PHP 5 hosting instead of PHP 4 hosting?

10. ### Rosti LFC

I assume the two IP's that spammed up a dozen articles have been banned. I repaired some of the damage, but I had other stuff to do.

11. ### colour_thief

The spamming has been utterly ridiculous for a while now.

12. ### tepplesLockjaw developer

The spammers' IP addresses change every day. Sometimes we get spam from a half dozen or more IPs in a day. It's more likely than not that the spam is coming from proxies operated by spammers on home PCs whose security has been compromised.

PHP 5 would allow for an upgrade to recent MediaWiki, which has more up-to-date anti-spam extensions available for it.

13. ### caffeine

yes, my server has php5, but it takes a little work to enable it on top of updating the wiki. i know the spam's been bad lately, and i'm really sorry i haven't got around to fixing it. it's just i've been really swamped lately. i promise i'll get to it when i get a chance.

14. ### colour_thief

No worries Nick, we can handle it in the meantime.

15. ### Rosti LFC

Yeah, it just requires us devoted users to be vigilant.

16. ### Taratang

Why such leniency towards the spam bots with only 2 week bans? Why not just perm ban immediately on a first offence?

17. ### DIGITALUnregistered

I'm guessing that because the bots are using proxies, a temporary ban would prevent future users of that proxy from being banned as well.

18. ### colour_thief

It's also extremely rare that an IP is a repeat offender. I'm personally yet to see it.

19. ### Pineapple

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

20. ### caffeine

i know it. pending return call from hosting company. this is what happens when i try to update the wiki =/