Topic on Extension talk:BlockAndNuke

Exception encountered, of type "InvalidArgumentException"

5
Dog1994 (talkcontribs)
Posysikiw (talkcontribs)

I get the same error with a fresh install of 1.3 and BlockAndNuke.

Product Version

MediaWiki 1.30.0

PHP 5.6.31 (litespeed)

MySQL 5.6.29-76.2-log

OS: Linux (hosted by whois.com)

BlockAndNuke 1.1

Throws this exception with your code in LocalSettings.php:

[WroANAVkmqAABQRzHrAAAABG] 2018-03-27 08:26:31: Fatal exception of type "InvalidArgumentException"

CaseyMills (talkcontribs)

I'm also getting this error. At this point it might be easier to uninstall MediaWiki and reinstall. Some bot put a ton of pages on my Wiki, filling my hosting space and SQL server. I really wish this worked.

CaseyMills (talkcontribs)

I worked with this extension a little more and found out a few things. This extension VASTLY underestimates the volume of users and content that needs to be deleted. I had thousands of accounts created by a bot, and even more pages in the Wiki. If I selected a couple dozen users the process would successfully complete. Although I had to run the program on the list of users twice to delete all the content.

Unchecking thousands of users to run this extension twice on small groups took forever. Yes, I used the click+shift method to uncheck all the boxes.

After successfully blocking and deleting the content the user names still showed up in the list. Which required me to remember the beginning and ending user name in a list of thousands.

2600:1005:B14A:211F:45B2:71F5:2207:C8B6 (talkcontribs)

go to file BlockAndNuke.body.php

and change

Xml::check( 'names[]', true,

to

Xml::check( 'names[]', false,


This creates the list with the names all UNCHECKED.


I hope that helps!

Jason

Reply to "Exception encountered, of type "InvalidArgumentException""