Summary
Currently, enabling SecurePoll on a wiki always allows creating global elections, or elections on other wikis in the same wiki farm. This is undesired when a wiki wants to use SecurePoll to manage its local elections only.
We should introduce a config variable or permission to restrict this.
Background
We'd like to allow local wikis to manage their local elections in-place instead of using votewiki, see T301180.
Technical notes
TBD
Acceptance criteria
- create a configuration variable such as $wgSecurePollEditOtherWikis (boolean), defaulting to false
- write and deploy a patch to initializeSettings.php that adds this configuration variable to our wikifarm. code should be something like...
'wgSecurePollEditOtherWikis' => [ 'default' => false, 'votewiki' => true, ],



