Page MenuHomePhabricator

Section editing link pointing to wrong section.
Closed, ResolvedPublic

Description

Author: tim.ivorson

Description:
When trying to edit the Noted University of Sheffield Alumni section of
http://en.wikipedia.org/wiki/University_of_Sheffield , the edit section link
took me to the wrong section. Perhaps this problem occurs for pages containing
sections with similar names (the page also contains a Noted University of
Sheffield Faculty section and I seem to remember experiencing this problem for
another Wikipedia university page). Clicking on the link to edit the "see also"
section allowed me to edit the Noted University of Sheffield Alumni section.


Version: unspecified
Severity: minor
URL: http://en.wikipedia.org/wiki/University_of_Sheffield

Details

Reference
bz1269
TitleReferenceAuthorSource BranchDest Branch
Bump to 0.3.135repos/search-platform/flink-rdf-streaming-updater!12dcausse0.3.135main
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:09 PM
bzimport set Reference to bz1269.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

The problem seems to be caused by this line in the page:

<h1 style="font: inherit; font-size: 100%; font-weight: bold; text-align:
center; border: none; margin: 0; padding: 0; color: #6a6c76;">University of
Sheffield</h1>

After replacing h1 by font, the section editing works fine.

rowan.collins wrote:

I can confirm that there is a long-standing issue with <h1>, <h2>, etc, and the
section editing code; it seems that the code that chooses a section to edit
makes different assumptions from the code that inserts the "[edit]" links. This
is already covered by bug 966.

*** This bug has been marked as a duplicate of 966 ***