Wikimedia

Fix warnings shown when creating a new newsletter via Special:CreateNewsletter

In MediaWiki's Newsletter extension, several warnings are shown when creating a new newsletter via Special:CreateNewsletter. You are supposed to fix them in a patch in Wikimedia Gerrit:

Warning: Missing argument 1 for NewsletterValidator::validate(), called in /var/www/core/core/extensions/Newsletter/includes/specials/SpecialNewsletterCreate.php on line 82 and defined in /var/www/core/core/extensions/Newsletter/includes/NewsletterValidator.php on line 34

Notice: Undefined variable: new in /var/www/core/core/extensions/Newsletter/includes/NewsletterValidator.php on line 35

Notice: Undefined variable: new in /var/www/core/core/extensions/Newsletter/includes/NewsletterValidator.php on line 43

Task tags

  • php
  • newsletter

Students who completed this task

Filip

Task type

  • code Code
close

2016