Extension talk:EditNotify

Related documentation
Thanks for the documentation! When you consider the extension ready to be used by others, please add links from related documentation, like the MediaWiki core feature Manual:$wgUsersNotifiedOnAllChanges. Nemo 08:39, 1 September 2016 (UTC)

Exclude some namespaces
This extension could be very useful if one can exclude notifications from some namespaces (action => create), i.e. "File" namespace, because it produces enormous amount of notifications. 217.108.170.8 15:04, 20 December 2016 (UTC)
 * and another one, allow only one unread notification for one page, i.e. if some one made multiple edits of one page in an hour 217.108.170.8 10:50, 21 December 2016 (UTC)

Warnings and notices
Setup
 * MediaWiki 	1.27.1 (36b636d) 20:26, 11. Jan. 2017
 * PHP 	5.6.29-0+deb8u1 (apache2handler)
 * MariaDB 	10.0.29-MariaDB-0+deb8u1
 * Page Forms	4.1 (f97847f) 18:30, 15. Nov. 2016
 * Edit Notify 1.0.0
 * Edit Notify Connector 0.1.0

Issue Warning: Invalid argument supplied for foreach in /.../w/extensions/EditNotify/EditNotify.hooks.php on line 807 Warning: Invalid argument supplied for foreach in /.../w/extensions/EditNotify/EditNotify.hooks.php on line 807 Notice: Undefined variable: categoryUserArray in /.../w/extensions/EditNotify/EditNotify.hooks.php on line 850 Warning: array_diff: Argument #1 is not an array in /.../w/extensions/EditNotify/EditNotify.hooks.php on line 850 Warning: array_unique expects parameter 1 to be array, null given in /.../w/extensions/EditNotify/EditNotify.hooks.php on line 850 Warning: array_merge: Argument #2 is not an array in /.../w/extensions/EditNotify/EditNotify.hooks.php on line 853 Warning: Invalid argument supplied for foreach in /.../w/extensions/EditNotify/EditNotify.hooks.php on line 855

This armada of notices and warnings is emitted multiple times when editing a page using the Page Forms extension.

Cheers --&#91;&#91;kgh&#93;&#93; (talk) 23:12, 14 February 2017 (UTC)

FYI.


 * It sounds like the problem might be just that you haven't set $wgEditNotifyAlerts. (Although the code should itself set a default value of a blank array for that variable, to prevent these error messages - that's a bug.) What's "Edit Notify Connector", by the way - an extension of yours? Yaron Koren (talk) 15:19, 15 February 2017 (UTC)


 * Oops, I indeed set nothing to $wgEditNotifyAlerts. EditNotify was added to the BlueSpice software bundle which also includes the Edit Notify Connector extension integrating this extension into the bundle. I just deployed Edit Notify without further thought. It is automatically invoked via one of the config files they provide so I relied on this. Having a default value preventing the error messages from happening will indeed be cool. Cheers --&#91;&#91;kgh&#93;&#93; (talk) 21:03, 15 February 2017 (UTC)


 * Oh, good to know. Yaron Koren (talk) 01:12, 16 February 2017 (UTC)