Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add number of edits by user per namespace #169

Open
alex-mashin opened this issue Oct 30, 2021 · 0 comments
Open

Add number of edits by user per namespace #169

alex-mashin opened this issue Oct 30, 2021 · 0 comments
Assignees

Comments

@alex-mashin
Copy link
Collaborator

Currently, there is ___USEREDITCNT property that gives access to the total number of edits by a user.

It would be useful to allow to get number of edits by a user in a certain namespace.

This can be done by adding a property of the type Record or a subobject, with two fields: namespace number and number of edits. There will be one such record or subobject per user per namespace.

Setting the property will require querying page, revision_actor_temp and actor tables. Updating the property could be done by a hook RevisionRecordInserted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants