Page MenuHomePhabricator

The use of $wgUser and $wgTitle in UserBoard.php is scary
Open, Needs TriagePublic

Description

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.

Event Timeline

Restricted Application added a project: Social-Tools. · View Herald TranscriptAug 21 2018, 2:32 PM