Last modified: 2010-05-15 16:03:32 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 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