[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 917 – external links in section headers cause problems with internal anchor links

Last modified: 2010-05-15 15:32:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 917 - external links in section headers cause problems with internal anchor links
external links in section headers cause problems with internal anchor links
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.4.x
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Help:S...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-20 05:58 UTC by lɛʁi לערי ריינהארט
Modified: 2010-05-15 15:32 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2004-11-20 05:58:19 UTC
See [[meta:Help:Section#Section_linking_bugzilla_917]] (a extra 
anchor at [[meta:Help:Section#Section_linking]]).

If "http:" is included in the anchor no internal link will be 
generated.

Another extra anchor to a similar example is available at 
[[en:User_talk:IMSoP#bugzilla_917]].

Regards Reinhardt
Comment 1 Leonard G. Barton 2004-12-30 16:30:45 UTC
Added by Leonard G.: Troubleshooting info. If you this is in a redirect and you click on the redirect info at the top of the destination page to get to the 
redirect page, then click on the link there, it will go to the correct subsection. Example at http://en.wikipedia.org/wiki/Mission_Style, a redirect to a section 
in http://en.wikipedia.org/wiki/California_mission ~~~~
Comment 2 Rowan Collins [IMSoP] 2005-04-06 16:21:35 UTC
(In reply to comment #1)
> Added by Leonard G.: Troubleshooting info. If you this is in a redirect [...]

Redirects to sections don't work, and probably never will. I see no external
links there, so that's a completely unrelated issue.

Comment 3 Rowan Collins [IMSoP] 2005-04-06 17:12:35 UTC
A bit of testing shows that, under 1.4.1:
* links to a heading containing an external link now work as expected if you
copy the escaped form from the link in the TOC (e.g.
[[#foo.A0.28http:.2F.2Fexample.com.2Ffoo.29]]). It's not pretty, but it works.

* typing the link as it *appears* in the TOC still breaks (for some reason, the
space becomes ".A0" in the anchor, but "_" in the link; more importantly, the
URL part gets parsed as an external link). This is relatively minor, since at
least you *can* link to the heading; the ".A0" thing's weird though.

* a heading with just a bare URL at the beginning breaks all attempts to link to
it (see
http://en.wikipedia.org/w/index.php?title=User:IMSoP/sandbox&oldid=11960099 for
an example). This is more of a problem - although easily worked around by just
not using a bare URL as a heading! The key difference is that
"#http://example.com" on its own would be a valid link (whereas
"#foohttp://example.com" wouldn't); the change from "//" into ".2F.2F" should
make that irrelevant, but the parser currently counts links like
"http:example.com" as valid (which, strictly, it shouldn't - see bug 787)
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-17 22:23:31 UTC
This was fixed at some point.

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


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011