Page MenuHomePhabricator

Stop accessing global config variables from SecurePoll's ListPager (OT)
Closed, ResolvedPublic2 Estimated Story Points

Description

See T71084 for the motivation behind this work.

ListPager accesses a couple of global config variables directly.

Instead it can use e.g.:

$this->listPage->specialPage->getConfig()->get('ScriptPath');

Event Timeline

Niharika renamed this task from Stop accessing global config variables from SecurePoll's ListPager to Stop accessing global config variables from SecurePoll's ListPager (OT).Jan 6 2021, 7:17 AM
Niharika triaged this task as Medium priority.

Change 657226 had a related patch set uploaded (by AdhamKhatean; owner: AdhamKhatean):
[mediawiki/extensions/SecurePoll@master] Stop accessing global config variables from SecurePoll's ListPager

https://gerrit.wikimedia.org/r/657226

Change 657226 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Stop accessing global config variables from SecurePoll's ListPager

https://gerrit.wikimedia.org/r/657226