HomePhabricator

Set a default for $wgEditNotifyAlerts

Description

Set a default for $wgEditNotifyAlerts

On a stock installation, editing a page would cause:

Invalid argument supplied for foreach() in
extensions/EditNotify/EditNotify.hooks.php on line 917

Set $wgEditNotifyAlerts to be an empty array by default.

Bug: T196431
Change-Id: I14f8210f8b0ef4440387c708338f27fb7309590d
(cherry picked from commit 82abb3f0c34ba320ef923029ee2d4da906a9263d)

Details

Provenance
hasharAuthored on Jun 5 2018, 8:13 AM
LegoktmCommitted on Jan 1 2021, 9:14 AM
Parents
rEENF278d86f152aa: build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Branches
Unknown
Tags
Unknown
References
refs/changes/30/652930/1
ChangeId
I14f8210f8b0ef4440387c708338f27fb7309590d