Project

General

Profile

Bug #220

Feature #171: Create a Testwiki

Investigate and create a Cron Job for deleting accounts

Added by Dennis Roczek almost 7 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
Wiki
Target version:
-
Start date:
2015-03-25
Due date:
2015-03-25
% Done:

0%

Tags:
URL:

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. ;-)

History

#1

Updated by Alexander Werner almost 7 years ago

  • Assignee set to Alexander Werner
#2

Updated by Florian Effenberger almost 7 years ago

  • Priority changed from Low to High
#3

Updated by Florian Effenberger almost 7 years ago

  • Priority changed from High to Low
#4

Updated by Jean Spiteri over 6 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?

#5

Updated by Dennis Roczek over 6 years ago

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

#6

Updated by Florian Effenberger about 6 years ago

  • Assignee changed from Alexander Werner to Dennis Roczek
#7

Updated by Jean Spiteri about 6 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.

#8

Updated by Dennis Roczek over 5 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

Also available in: Atom PDF