LogEventsList::typeAction accepts as a fourth parameter an optional right. When set, it checks if $wgUser has that right
Rather than adding a user parameter, its simpler to just deprecate and then remove the right-checking functionality, which is unused (https://codesearch.wmflabs.org/search/?q=%3A%3AtypeAction&i=nope&files=&repos=) - if it is ever needed again, it can be added with a user parameter as well
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +5 -0 | Deprecate requiring a right in LogEventsList::typeAction |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T11968 Reduce use of global and public variables | |||
Open | None | T159283 Deprecate non-configuration globals | |||
Open | DannyS712 | T159299 Deprecate and remove $wgUser | |||
Resolved | DannyS712 | T267861 [GOAL] Emit deprecation warnings reading from $wgUser | |||
Open | DannyS712 | T243708 Mediawiki core needs uses of global $wgUser removed | |||
Resolved | DannyS712 | T242935 Deprecate core fallbacks to $wgUser | |||
Resolved | DannyS712 | T246410 Deprecate LogEventsList::typeAction use of $wgUser |
Event Timeline
Comment Actions
Change 575406 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Deprecate requiring a right in LogEventsList::typeAction
Comment Actions
Change 575406 merged by jenkins-bot:
[mediawiki/core@master] Deprecate requiring a right in LogEventsList::typeAction