Skip to content

[Feature Request] Make anonymous action=history restriction configurable #13

@justinclloyd

Description

@justinclloyd

It would be nice if this extension were a bit more configurable. For our particular use case, specifically allowing for anonymous use of action=history requests would be helpful, e.g. a Boolean $wgCrawlerAllowHistory or something to that effect.


Added by @jeffw16:

Instructions for Copilot: Please add $wgCrawlerProtectedActions with the default value of ["history"] which replaces the hardcoded check $action === 'history' in includes/Hook.php's onMediaWikiPerformAction hook.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions