https://bugzilla.wikimedia.org/show_bug.cgi?id=18562
Summary: Indicate in output whether an interwiki link is marked
local
Product: MediaWiki
Version: 1.15-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Page rendering
AssignedTo: [email protected]
ReportedBy: [email protected]
We have a number of different types of links that the parser can generate,
which are rendered with different classes:
*[[foo|internal link]] --> <a>
*[[meta:Foo|interwiki link]] --> <a class="extiw">
*[[:Fr:Foo|inline interlanguage]] --> <a class="extiw">
*[[google:Foo|external interwiki]] --> <a class="extiw">
*[http://www.google.com external] --> <a class="external text">
There is no distinction between 'local' interwikis or interlanguage links, and
'nonlocal' interwikis. It would be nice if this were the case. That is, it
would be nice if, eg:
*[[foo|internal link]] --> <a class="internal">
*[[meta:Foo|interwiki link]] --> <a class="internal extiw">
*[[:Fr:Foo|inline interlanguage]] --> <a class="internal extiw">
*[[google:Foo|external interwiki]] --> <a class="external extiw">
*[http://www.google.com external] --> <a class="external text">
Repurposing the then-somewhat-obscurely-named "extiw" class to indicate the
interwiki origin of the link, rather than its nature as a 'local' or 'nonlocal'
link.
This could be tricky because, as far as I can tell (and as the quip from Tim at
the top of the screen occasionaly indicates) the evil mess of code in
Parser::replaceInternalLinks() doesn't really do anything, it's just cover for
the imps that actually do the link processing :D
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l