Mediawiki mass user delete / merge / block

I have 500 or so spambots and about 5 actual registered users on my wiki. I used nuke to delete my pages, but they just save the resubmission. I have a spambot registration under control using reCaptcha. Now I just need a way to remove / block / merge about 500 users at a time.

+5
source share
2 answers

You can simply delete accounts from the table usermanually, or at least disable their credentials using a query, for example:

UPDATE /*_*/user SET
  user_password    = '',
  user_newpassword = '',
  user_email       = '',
  user_token       = ''
WHERE
  /* condition to select the users you want to nuke */

(Replace /*_*/with $wgDBprefix, if any. Oh, and backup first.)

user_password user_newpassword . user_email , user_token , .


:. , MediaWiki. , ( , , , rebuildall.php ) Webmasters Stack Exchange.


Extension:RegexBlock:

"RegexBlock - , , IP- ".

+7

, . ! , .

( , ):

. , - ! ( ; python script; )

 A: http: //(Your Wiki domain)/Special:UserMerge?olduser= 

 B: (OldUserNameHere) 

 C: &newuser=(NewUserNameHere)&deleteuser=1 

 D: &token=0d30d8b4033a9a523b9574ccf73abad8%2B\
  1. , , A , C D. C NewUser ( ). D, Token - , , . , , / .

  2. URL-, Merge & Delete . HTML , , DownThemAll Firefox. "Linktext" . (,:) userlist.html

  3. Firefox, DownThemAll ! " " !

, , .

, , html ( ).

, MySQL. .

, .

+2

All Articles