In the new page-issues treatment, multiple-issues templates that are placed in page sections don't show up in the page-issues modal.
This is visible on readers-web-master on page like Stone_Cold_Steve_Austin. Other pages with this template can be found on English wikipedia using this insource search.
This does not happen on pages that have a multiple-issues template in the lead section of the article, such as Organic_compound
Developer notes
For the sake of others trying to understand what the issue is here, I'll try to convey it to the best of my understanding. Unfortunately words are hard, so I made pictures to help.
On the page Samsung, there are two sections with multiple-issue templates, "Operations" and "Acquisitions and attempted acquisitions". The DOM structure between the two is virtually identical.
Acquisitions and attempted acquisitions | Operations |
And yet, Acquisitions appears in the modal, but Operations doesn't!
The reason for this is that when we look foramboxes within sections, we split the sections into fake subsections when there is more than one heading, and when we look through that fake subsection, we only select the top-level ambox, whereas when we look through real sections, or sections that do not have subsections, we select all nested amboxes.
When we parse these amboxes further along, we run into a condition that checks if there is only one ambox in the selected set of nodes. If there is, then we proceed, but if there's "not exactly one" (i.e. more than one), then we stop, and the issued don't get added to the dataset that renders them in the modal.
To illustrate:
Acquisitions section
Works because the section doesn't have subsections, and all nested amboxes are selected.
Operations section
Doesn't work because only the top level ambox is selected, which has nested amboxes inside.