Background
A common practice on WMF wikis is to archive talk pages as subpages. For instance see https://en.wikipedia.org/wiki/Special:PrefixIndex/Talk:Polar_bear/. Conveniently, MediaWiki let's you know if you are about to delete a page with subpages, so that you don't forget to delete those subpages, too (it does not let you mass-delete all of those subpages, though, that's tracked at T15491). With the new "delete associated talk page" checkbox, we never need to browse to the talk page. Thus the problem is that we aren't notified that the talk page has subpages, so the admin may not know they need to delete them.
Acceptance criteria
- When deleting a subject page that has a talk page with subpages, I should be shown a message like "The associated talk page has N subpages" warning, similar to the "The page you are about to delete has N subpages" warning shown currently when deleting the talk page directly.
- The warning message should be shown or hidden depending on the status of the Delete associated talk page checkbox