Page MenuHomePhabricator

Manual heading tags ( <h1> et al. ) confuse section edit links
Closed, ResolvedPublic

Description

Author: zigger

Description:
In the post-1.5beta1 on en.wikipedia.org, <h2> 'sections' are getting edit links.

See also bug 2128 (1.4 <h*> sections break edit-link section numbering) and bug
2129 (1.5-cvs puts <h*> sections in the TOC).


Version: unspecified
Severity: normal

Details

Reference
bz2607

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:38 PM
bzimport set Reference to bz2607.
  • This bug has been marked as a duplicate of 2129 ***

zigger wrote:

(posting comment anyway following "mid-air collision")

Test case 1 - editing "1" gives whole page :

<h2>1</h2>
one

2

two

3

three

Test case 2 (putting h2 in a table) - editing "1" gives section "2" (like bug

  1. :

{|

<h2>1</h2> one
}

2

two

3

three

zigger wrote:

Re-opening with test cases and changed summary.

Thanks, those particular cases do indeed fail.

zigger wrote:

Second test case was simplified from the original report
[[Wikipedia:MediaWiki_1.5_bugs#Clicking_on_.22section_edit_link.22.2C_edits_wrong_section]]
by [[User:Paul_August]]:

I've experienced the situation where clicking on a section "edit link", edits
wrong section. See for example [[User:Paul_August/Subpage_13]]. It has three
"sections", the first section being a table. Clicking on the first "section edit
link" for the table brings up an edit window for "section two", clicking on the
second "section edit link" brings up an edit window for "section three",
clicking on the third "section edit link" brings up a blank edit window. Paul
August ☎ June 29, 2005 16:06 (UTC)

zigger wrote:

*** Bug 4527 has been marked as a duplicate of this bug. ***

stux wrote:

*** Bug 2128 has been marked as a duplicate of this bug. ***