B
B
Bright2012-08-02 09:57:57
CMS
Bright, 2012-08-02 09:57:57

[MediaWiki] How to roll back all user edits at once? (+ suggest good admin/anti-spam plugins)

Good afternoon.

One new project is currently using MediaWiki. The engine is new to me, so some questions arise.

1. How to roll back all the user's edits in one action?
That is, there is a SpamBot user who managed to spoil a dozen pages. Rolling back changes on each page is somehow sad, I would like to delete all user edits at once.

2. What add-ons that make administration/fighting spam easier can you recommend?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Eremin, 2012-08-02
@Sergei_Erjemin

And at the same time, how to prevent anonymous users from creating pages? In the "default" settings, you can disable only anonymous editing.

@
@sledopit, 2012-08-02
_

en.wikipedia.org/wiki/Help :Reverting#Bot_rollback

D
Denis Turenko, 2012-08-02
@Dennion

If the wiki portal is filled from under one address, then it is most reliable to enter in the root index.php a ban on editing from other addresses, except for this IP. The easiest way to clean up spam is in phpmyadmin.

if($_SERVER["REMOTE_ADDR"] != 'X.X.X.X' and isset($_REQUEST['action'])){
exit('<h1>Запрещено</h1>');
}

Then you can remove unnecessary links and authorization in the /skins/MonoBook.php template (choose your design), indicate before prohibited blocks
if(empty($_SESSION['wsUserID'])) return true;

Unauthorized users will not see these blocks, and since we have prohibited authorization and editing, no one except the admin will see special pages, etc.
I struggled with spam for a long time, now silence.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question