mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
9f37ba0511
Some Echo events include 'revid' in their extra info. It can be used to check if a revision is minor in order to respect the 'enotifminoredits' preference. This patch ensures that it is not trying to call a function on a null revision reference and it logs to debug to help troubleshooting. Also encapsulate the "is minor" check to a private function to (hopefully) make the relationship with the preference more clear. Bug: T204795 Change-Id: I28a4c54f610dccc1356f6af0de9c2623d7bf94f0 |
||
---|---|---|
db_patches | ||
i18n | ||
images | ||
includes | ||
maintenance | ||
modules | ||
scripts | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
Echo.alias.php | ||
echo.sql | ||
extension.json | ||
Gruntfile.js | ||
jsduck.external.js | ||
jsduck.json | ||
jsduck_custom_tags.rb | ||
Makefile | ||
package.json | ||
RELEASE_NOTES |