Last modified: 2010-05-15 15:38:26 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 T4129, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2129 - 1.5-cvs puts <h*> sections in the TOC
1.5-cvs puts <h*> sections in the TOC
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.5.x
All All
: Normal major with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.leuksman.com/index.php/2129
: need-parsertest, parser
: 2776 2956 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-10 02:36 UTC by Ævar Arnfjörð Bjarmason
Modified: 2010-05-15 15:38 UTC (History)
3 users (show)

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


Attachments

Description Ævar Arnfjörð Bjarmason 2005-05-10 02:36:45 UTC
1.5-cvs puts <h*> sections in the TOC, the only reason we keep them around
anymore is to make sections that you *don't* want in the TOC, <h*> should either
be deprecated or this bug fixed.

Testcase, will display section edit links for all these sections if section
editing is turned on:

<h2> Section 1 </h2>
Section 1Section 1Section 1Section 1Section 1
<h2> Section 2 </h2>
Section 2 Section 2 Section 2 Section 2 Section 2 Section 2 
== Section 3 ==
Section 3Section 3Section 3Section 3Section 3Section 3Section 3Section 3
=== Section 4 ===
Section 4Section 4Section 4Section 4Section 4Section 4Section 4Section 4
=== Section 5 ===
Section 5Section 5Section 5Section 5Section 5Section 5Section 5Section 5
=== Section 6 ===
Section 6 Section 6 Section 6 Section 6 Section 6 Section 6
Comment 1 Ævar Arnfjörð Bjarmason 2005-05-10 02:37:54 UTC
See also bug 2128, a section editing bug in 1.4.
Comment 2 Zigger 2005-06-06 13:14:41 UTC
Dropping severity to normal, as it does not affect the edit-link functionality,
unlike bug 2128.
Comment 3 Rowan Collins [IMSoP] 2005-06-06 15:43:17 UTC
Personally, I've considered tags like "<h*>" "deprecated" for a long time, and
the use of them to not appear in the TOC as a thoroughly ugly hack. Maybe it
should just do nothing, and make people use the "proper" wiki-markup, but that's
more of a cosmetic issue than a release-halting bug, I'd say.

In other words, I would call this more of a fix than a bug. ;)
Comment 4 Dashiva 2005-06-06 16:04:37 UTC
(In reply to comment #3)
> Personally, I've considered tags like "<h*>" "deprecated" for a long time, and
> the use of them to not appear in the TOC as a thoroughly ugly hack. 

I am not opposed to removing <h*>, as I don't really like using HTML in wikitext. But if it happens there needs to be wiki syntax for 
headers that don't belong in the TOC. If not by changing the current syntax to accomodate it, something like __NOTOCSECTION__ similar to 
for section edit links would work.
Comment 5 Ævar Arnfjörð Bjarmason 2005-06-09 21:36:02 UTC
(In reply to comment #2)
> Dropping severity to normal, as it does not affect the edit-link functionality,
> unlike bug 2128.

The reason I marked it as major was that the only reason we even keep <h[1-6]>
around anymore is this particular functionality (i.e. it doensn't add to the TOC).

Moving severety back to major since this would break alot of 1.4 pages when 1.5
rolls out.
Comment 6 Brion Vibber 2005-06-29 17:38:13 UTC
*** Bug 2607 has been marked as a duplicate of this bug. ***
Comment 7 Brion Vibber 2005-06-29 17:38:59 UTC
Not a bug; this is a *fix* for bug 2128.
Comment 8 Ævar Arnfjörð Bjarmason 2005-07-09 16:27:45 UTC
*** Bug 2776 has been marked as a duplicate of this bug. ***
Comment 9 River Tarnell 2005-07-25 10:38:50 UTC
*** Bug 2956 has been marked as a duplicate of this bug. ***

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


Navigation
Links