Wikimedia

Create a new subpage to list the subscribers for a newsletter

For a GCI student, this task is advanced and more complex than previous Newsletter extension tasks. It will take you more time, but it would be really rewarding - and we would be happy to extend the deadline on considerable progress!

Its requirements are:

  • Create a new subpage at Special:Newsletter/id/subscribers which lists down all the usernames of subscribers to a given newsletter (read only for starters)
  • The page should list out subscribers one line per row. You can take in this data from nl_subscribers table. I think there are existing functions which you can call to get the subscribers ( public function getSubscribersFromID( $id ) in https://github.com/wikimedia/mediawiki-extensions-Newsletter/blob/master/includes/NewsletterDb.php#L335 )
  • This page should be viewable only for people with newsletter-manage rights
  • There should be navigation links and subtitle links as well (you can copy this from existing code)

Task tags

  • php
  • newsletter

Students who completed this task

pppery

Task type

  • code Code
close

2016