Last modified: 2012-05-08 16:52:44 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 T38434, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36434 - titles in TOC should have all mediawiki markup filtered out
titles in TOC should have all mediawiki markup filtered out
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-02 12:47 UTC by Waldir
Modified: 2012-05-08 16:52 UTC (History)
2 users (show)

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


Attachments

Description Waldir 2012-05-02 12:47:32 UTC
Most wikimarkup is ignored when generating TOC entries, but bold, italic and references get rendered in the TOC.

While I agree that it might make sense to render these formattinc commands in the section headings (which btw also support other markup such as images), it seems to me that the TOC should contain only plain, unformatted links (it already cleans up most wikimarkup anyway).
Comment 1 Mark A. Hershberger 2012-05-04 13:46:31 UTC
Making this change would cause lots of confusion on wiki since people have come to rely on it, wouldn't it?  And unlike the diff colors change, there isn't a usability reason.
Comment 2 Waldir 2012-05-04 14:07:18 UTC
(In reply to comment #1)
> Making this change would cause lots of confusion on wiki since people have come
> to rely on it, wouldn't it?
I wouldn't say lot's of confusion. I've been editing since 2005 and yesterday was the first time I noticed that bold text renders in the TOC. I'm not saying my experience is typical, but I wouldn't expect many people to know or care much about that.

> And unlike the diff colors change, there isn't a usability reason.
I'm not sure about the reason for this comparison. Why does it have to be a usability reason? This is an inconsistency in MediaWiki which breaks assumptions/logic about the behavior of the software. It looks like a bug to me.
Comment 3 Mark A. Hershberger 2012-05-08 16:44:31 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > And unlike the diff colors change, there isn't a usability reason.
> I'm not sure about the reason for this comparison. Why does it have to be a
> usability reason? This is an inconsistency in MediaWiki which breaks
> assumptions/logic about the behavior of the software. It looks like a bug to
> me.

My point is that I think there has to be a good reason to make the change besides "It looks like a bug to me."  A bug that has been around for a while is not a bug -- it is a feature people have come to depend on.
Comment 4 Liangent 2012-05-08 16:52:44 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > And unlike the diff colors change, there isn't a usability reason.
> > I'm not sure about the reason for this comparison. Why does it have to be a
> > usability reason? This is an inconsistency in MediaWiki which breaks
> > assumptions/logic about the behavior of the software. It looks like a bug to
> > me.
> 
> My point is that I think there has to be a good reason to make the change
> besides "It looks like a bug to me."  A bug that has been around for a while is
> not a bug -- it is a feature people have come to depend on.

So the bug can be:

* It's not possible to make section titles italic and TOC normal.
* <ref> rendered in TOC may confuse users: normally users clicking on "[1]" in superscript are sent to corresponding reference while users clicking on "[1]" in TOC are sent to the section text
 or: it's difficult to understand what "[1]" mean in TOC.

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


Navigation
Links