Last modified: 2012-05-05 19:18:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38512, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36512 - Links to page sections may work incorrectly when the headings are the same
Links to page sections may work incorrectly when the headings are the same
Status: RESOLVED DUPLICATE of bug 18700
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2012-05-04 09:45 UTC by Amir E. Aharoni
Modified: 2012-05-05 19:18 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Amir E. Aharoni 2012-05-04 09:45:03 UTC
This bothered me for a while and I finally decided to open this bug. I couldn't find a similar bug, which is a bit surprising, but maybe I didn't look well enough.

Consider the following semi-imaginary article:
'''Mick Hucknall''' is a British singer.

He was born and raised the UK.

He played a lot of songs.

He released the album ''Life'' with the band Simply Red in 1995.

If you use the edit-section link to edit the paragraph about the album "Life" and then save your changes, the browser will come back to the first section titled "Life".

More generally, if you link to a section on a page which has more than section with such a title, the link will lead to the first such section, which may not be the intention.

I can think of three ways to solve this:

1. Disallow the saving of pages with identical section headings.

2. Allow such pages, but give a warning.

3. Allow such pages, and come up with a clever way to link to the correct section.
Comment 1 db [inactive,noenotif] 2012-05-05 19:18:31 UTC

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

Note You need to log in before you can comment on or make changes to this bug.