Last modified: 2012-03-19 17:45:44 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 T37256, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35256 - Italian API: action=parse props=iwlinks, it no longer retrieves iw with prefix="commons"
Italian API: action=parse props=iwlinks, it no longer retrieves iw with prefi...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-16 10:33 UTC by paontis
Modified: 2012-03-19 17:45 UTC (History)
7 users (show)

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


Attachments

Description paontis 2012-03-16 10:33:00 UTC
For example: http://it.wikipedia.org/w/api.php?action=parse&format=xml&prop=iwlinks&page=milano

The iw links with prefix="commons" are no longer retrieved
Before we used this to retrieve the wikimedia pages for a given page
Comment 1 Sam Reed (reedy) 2012-03-16 14:48:30 UTC
Still there in the IW map..

https://it.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local
Comment 2 Mark A. Hershberger 2012-03-16 15:56:31 UTC
The link is from a template, so it doesn't count in the interwiki links on the page, does it?

  {{interprogetto|commons=Category:Milan|q|q_preposizione=su|n=Categoria:Milano|wikt}}
Comment 3 db [inactive,noenotif] 2012-03-17 09:34:43 UTC
Why reparse the page for that information?

http://it.wikipedia.org/w/api.php?action=query&format=xml&prop=iwlinks&titles=milano

The [[it:Template:Interprogetto/CollegamentoUselang]] is using fullurl, which is not stored in the iwlinks table and cannot get with prop=iwlinks.

https://it.wikipedia.org/w/index.php?title=Template:Interprogetto&diff=47705604&oldid=47680173 changes the behaviour, because it sets a uselang=it for commons and that is an external link.
Comment 4 paontis 2012-03-19 17:45:44 UTC
Ok, so now to retrieve the Wikimedia links I have to use props=extlinks instead, and filter on the domain.
Thanks a lot for the explanation and for the quickness of the answer!

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


Navigation
Links