
When more results are available, use this to continue. Type: integer or max Default: 10 lecontinue
#Mediawiki delete user code#
An example of the location would be: Select the LocalSettings.php file and click code editor.
#Mediawiki delete user how to#
No more than 500 (5,000 for bots) allowed. This section will explain how to disable the Create account link at the top of the MediaWiki site. Only list event entries tagged with this tag. One of the following values: newer, older Default: older leuserįilter entries to those made by the given user.įilter entries to those related to a page.įilter entries to those in the given namespace. Note: lestart has to be later than leend. protect, rights, delete, upload, move, import, patrol, merge, suppress, tag. One of the following values: usermerge/mergeuser, usermerge/deleteuser, block/block, block/reblock, block/unblock, contentmodel/change, contentmodel/new, delete/delete, delete/delete_redir, delete/event, delete/restore, delete/revision, import/interwiki, import/upload, managetags/activate, managetags/create, managetags/deactivate, managetags/delete, merge/merge, move/move, move/move_redir, patrol/patrol, patrol/autopatrol, protect/modify, protect/move_prot, protect/protect, protect/unprotect, rights/autopromote, rights/rights, suppress/block, suppress/delete, suppress/event, suppress/reblock, suppress/revision, tag/update, upload/overwrite, upload/revert, upload/upload, newusers/newusers, newusers/create, newusers/create2, newusers/byemail, newusers/autocreate lestart Values (separate with or alternative): ids, title, type, user, userid. In the list of possible values, values with the asterisk wildcard such as action/* can have different strings after the slash (/). One of the following values: Can be empty, or usermerge, block, protect, rights, delete, upload, move, import, patrol, merge, suppress, tag, managetags, contentmodel, newusers leactionįilter log actions to only this action. Values (separate with | or alternative): ids, title, type, user, userid, timestamp, comment, parsedcomment, details, tags Default: ids|title|type|user|timestamp|comment|details letype details Lists additional details about the log event. With all the spam accounts deleted, you can simply do: DELETE FROM revision WHERE revuser > 0 AND revuser NOT IN (SELECT userid FROM user) If your wiki had anonymous editing disabled (which I strongly recommend for private / test wikis), the query above should be enough to get rid of all the spam revisions. parsedcomment Adds the parsed comment of the log event.

comment Adds the comment of the log event. timestamp Adds the timestamp for the log event. userid Adds the user ID who was responsible for the log event. user Adds the user responsible for the log event. title Adds the title of the page for the log event.
