Last modified: 2010-05-15 16:03:32 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 T16028, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14028 - Differentiate between interwiki and interlang links in siprop=interwikimap
Differentiate between interwiki and interlang links in siprop=interwikimap
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-07 21:28 UTC by Splarka
Modified: 2010-05-15 16:03 UTC (History)
2 users (show)

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


Attachments

Description Splarka 2008-05-07 21:28:35 UTC
If possible, please add an indicator for interlanguage links (links that form a portlet link rather than an inline link, if not on a talk page) in the interwiki map, for example

 <iw prefix="aa" lang="" local="" url="http://aa.wikipedia.org/wiki/$1" />

I am told this happens auto-magically from the list of valid languages in /languages/Names.php (also depending on some settings), so possibly might need to compare the interwiki map entries to $wgLanguageNames and $wgExtraLanguageNames

Reason: It is not possible to *completely* predict, from siprop=interwikimap, whether a given interwiki prefix will become an inline link or language link, as some wikis may have older/newer versions of Names.php, or custom language names.
Comment 1 Roan Kattouw 2008-05-09 09:42:42 UTC
Fixed in r34499. The output looks like:

<iw prefix="de" local="" language="Deutsch" url="http://de.wikipedia.org/wiki/$1" />

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


Navigation
Links