The use of $wgUser and $wgTitle globals in UserBoard.php is scary. Ideally a context should be passed in the constructor with user and title.
The title should probably be forced to 'Special:UserBoard' or some other fixed value anyway.
The use of $wgUser and $wgTitle globals in UserBoard.php is scary. Ideally a context should be passed in the constructor with user and title.
The title should probably be forced to 'Special:UserBoard' or some other fixed value anyway.
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 | |||
Open | DannyS712 | T247793 Non-WMF deployed extensions need uses of global $wgUser removed [tracking] | |||
Resolved | DannyS712 | T244453 Social tools extensions need uses of global $wgUser removed [tracking] | |||
Resolved | DannyS712 | T242679 SocialProfile needs uses of global $wgUser removed | |||
Open | None | T202411 The use of $wgUser and $wgTitle in UserBoard.php is scary |