Author: Kevin_b_er
Description:
As can be whitnessed on
http://en.wikipedia.org/wiki/User:Kevin_Breitenstein/T_test_main.
Basically, there are two transcluded templates on the page. Subpage 1 and
subpage 2. Subpage 1 has its 2nd section surrounded by <noinclude>, and subpage
2 and its 1st section surrounded by <noinclude>.
Attempting to use the section edit links for the first template's 1st section is
easy and understandable. But if you attempt to edit the 2nd section that
appears, you are taken to an edit page for a completely different section of the
template.
The attempt to produce a section edit link relies on only counting what ends up
on the transcluded page, but the edit link it produces relies upon the natural
layout of the page in question.
Its all messed up really. Subpage 3 edits just fine, but try actually going to
subpage 3, you'll find that the includeonly has made it so that the only section
displayed
To summarize: Section edit links are generated based upon displayed content, but
going to said section edit links leads to a section that does not take into
account noinclude or includeonly tags. Therefor, section edit links should be
generated based upon content as if there were no <includeonly> or <noinclude>
links.
This got annoying with Wikipedia's Request for Checkuser as we wanted a requests
related to a username to be on one page, and transcluded to the main page, but
edit links started acting 'strange'.
This bug may be related to 4926, and is still currently a problem as of 1.7alpha
r14796.
Version: 1.12.x
Severity: normal
URL: http://en.wikipedia.org/wiki/User:Kevin_Breitenstein/T_test_main