add a elextlinks param to prop=extlinks
Closed, ResolvedPublic

Description

It is possible to add a "elextlinks" param, which only list specified external urls?. "Useful for checking whether a certain page contains a certain external url."

Thanks.


Version: 1.18.x
Severity: enhancement

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 11:19 PM
bzimport set Reference to bz26485.
duplicatebug created this task.Via LegacyDec 29 2010, 9:13 PM
Reedy added a comment.Via ConduitJan 3 2011, 11:28 PM
  • list=exturlusage (eu) * Enumerate pages that contain a given URL

And it's usable as a generator....

Reedy added a comment.Via ConduitJan 3 2011, 11:44 PM

Oh, I suppose this makes some sense

list=exturlusage&elextlinks="http://www.google.co.uk"...

Return the page and the url if it contains both, else nothing..

Reedy added a comment.Via ConduitJan 5 2011, 3:05 AM

Do you want to be searching by url and protocol? I'm guessing so...

duplicatebug added a comment.Via ConduitJan 5 2011, 11:34 AM

This bug ask for *prop*=extlinks, not list *list*=exturlusage.

Searching for a url with protocol in a list of titles:

prop=extlinks&titles=Google|Yahoo!&elextlinks=http://www.google.co.uk

Reedy added a comment.Via ConduitJan 5 2011, 7:46 PM

r79659

Add Comment