On a protected page, no section edit links are shown, even for sections that are transcluded from (unprotected) templates. This is quite bad on "discussion overview" pages like commons' deletion page (see url in the summary): the overview page being protected causes non-admins to have a hard time to find a way to edit individual discussions.
This is probably caused by two rules interacting: If sections are transcluded from a template, the edit links on those sections point to the template. And if a page is protected, no section edit links are show. Each is sane enough, but the check if a section edit link is to be shown must be done for the actual target of the edit link for each section, instead for the entire page the linsk are shown on.
This is the reverse of Bug 6089 ("Section edit button shows up for transcluded protected page"), a fix should probably address both issues.