Project

General

Profile

Actions

Bug #220

open

Feature #171: Create a Testwiki

Investigate and create a Cron Job for deleting accounts

Added by Dennis Roczek about 10 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
Wiki
Target version:
-
Start date:
2015-03-25
Due date:
2015-03-25 (over 9 years late)
% Done:

0%

Tags:

Description

Investigate to delete unused and spam accounts on a regular basis with a script.

I found following existing PHP scripts:

http://www.mediawiki.org/wiki/Manual:RemoveUnusedAccounts.php
and
http://www.mediawiki.org/wiki/Manual:DeleteArchivedRevisions.php

The first script might need a change to add an additional parameter (how long the account is unused)

Of course these scripts should first be tested in a testwiki. ;-)

Actions #1

Updated by Alexander Werner about 10 years ago

  • Assignee set to Alexander Werner
Actions #2

Updated by Florian Effenberger about 10 years ago

  • Priority changed from Low to High
Actions #3

Updated by Florian Effenberger about 10 years ago

  • Priority changed from High to Low
Actions #4

Updated by Jean Spiteri over 9 years ago

Can't the --ignore-touched parameter be used to not delete account touched in the last N days. If it is set to 30, for example, every account not touched/used in those 30 days. If an account has been inactive for more than 30 days, then it's deleted. Is this what is needed?

Actions #5

Updated by Dennis Roczek over 9 years ago

well I have to check that. I have never administrated a wiki where this was needed (registration on by admin-approvement)

Actions #6

Updated by Florian Effenberger over 9 years ago

  • Assignee changed from Alexander Werner to Dennis Roczek
Actions #7

Updated by Jean Spiteri about 9 years ago

If you want, we can use my VM to test this. We'll have to set up a time where we can meet.

Actions #8

Updated by Dennis Roczek almost 9 years ago

Jean, Thanks for the offer. Alex already have created vm156 for wiki test for me. So I will do it there.

For there reference for some "documentation": https://www.mediawiki.org/wiki/Manual:RemoveUnusedAccounts.php

Actions

Also available in: Atom PDF