Last modified: 2009-02-17 22:39:38 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 T13124, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11124 - Render onsite URLs written in external link form like internal links
Render onsite URLs written in external link form like internal links
Status: RESOLVED DUPLICATE of bug 11477
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-30 16:53 UTC by Danny B.
Modified: 2009-02-17 22:39 UTC (History)
2 users (show)

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


Attachments

Description Danny B. 2007-08-30 16:53:24 UTC
All links written in external link form ([http://example.tld example]) are displayed with class="external text". However not all of them are external:

1. [{{fullurl:foo|action=history}} History of foo]
2. [http://such.wikipedia.org/w/index.php?title=foo&actionhistory History of foo]
3. [{{fullurl:foo|action=history}}]
4. [http://such.wikipedia.org/w/index.php?title=foo&actionhistory]
5. {{fullurl:foo|action=history}}
6. http://such.wikipedia.org/w/index.php?title=foo&actionhistory

Examples above produce the same output although it's page on local wiki. At least first two or four examples should be rendered as internal links (with class="internal").
Comment 1 Tim Starling 2008-01-17 13:47:57 UTC
There is no "internal" class. 
Comment 2 Danny B. 2008-01-17 14:12:18 UTC
It actually has been meant the way that this kind of links should not have class="external text" but class="internal" instead thus different formatting than regular external links to sites outside as well as to regular wikilinks can be set.

[[foo|bar]]
 -> <a href="/wiki/foo" title="foo">bar</a>

[{{fullurl:foo|action=history}} history] (and other cases shown above)
 -> <a href="/w/index.php?title=foo&amp;action=history" class="internal" title="foo">history</a>

[http://example.tld example]
 -> <a href="http://example.tld" class="external text" title="http://example.tld" rel="nofollow">example</a>
Comment 3 Chad H. 2009-02-17 22:39:38 UTC

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

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


Navigation
Links