Last modified: 2006-02-09 18:42:50 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 T2897, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 897 - Wiki link not displaying correctly if surrounded by <H1> </H1> tags
Wiki link not displaying correctly if surrounded by <H1> </H1> tags
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-11-16 20:30 UTC by George Marselis
Modified: 2006-02-09 18:42 UTC (History)
1 user (show)

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


Description George Marselis 2004-11-16 20:30:28 UTC
I was playing around with the sandbox, so, i thought i'd add an "in soviet
russia" heading. and i did. here's the html text: 
<H1>[[Sandbox]] EDITS YOU!!!</H1> 
it's section 6 (currently) in the sandbox article page. Once saved, the wiki
link does not display correctly. it does, though in the test page
Comment 1 George Marselis 2004-11-16 20:32:24 UTC
excuse me, i meant /s/test/talk/ :) my apologies
Comment 2 Rowan Collins [IMSoP] 2004-11-16 20:54:02 UTC
1) you shouldn't use HTML when editing wiki-pages, you should use the equivalent
wiki syntax (in this case =Heading=)
2) first-level headings are rarely used anyway, because they're reserved for the
title of the page
3) you were editing the wrong page: "Sandbox" should be an article about the
term "sandbox"; you were looking for [[Wikipedia:Sandbox]]. (This threw me for a
while: I couldn't find your edits!)
4) the reason the link doesn't show up as a link, is because it is a
*self-reference*. Links from an article to itself are styled as bold, because
there is no genuine use for a self-link of this kind. This explains why it
worked "on the talk page" - there, "[[Sandbox]]" is not a self-reference; if you
tried "[[Talk:Sandbox]]", the same thing would happen.

Thank you for taking the trouble to submit this bug, and sorry for the
misunderstandings that caused you to go to the trouble.
Comment 3 Brion Vibber 2004-11-16 21:10:25 UTC
While annoying, that should be perfectly valid -- and in fact it is.

The reason it didn't work in this case is that you gave a link to the 
page you were editing; self-links are special-cased to display as bold 
text and *not* be a link.

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