Last modified: 2009-02-17 22:39:38 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 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)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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. [ History of foo]
3. [{{fullurl:foo|action=history}}]
4. []
5. {{fullurl:foo|action=history}}

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.

 -> <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.