Last modified: 2011-01-05 19:46:01 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 T28485, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26485 - add a elextlinks param to prop=extlinks
add a elextlinks param to prop=extlinks
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-29 21:13 UTC by db [inactive,noenotif]
Modified: 2011-01-05 19:46 UTC (History)
4 users (show)

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


Attachments

Description db [inactive,noenotif] 2010-12-29 21:13:29 UTC
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.
Comment 1 Sam Reed (reedy) 2011-01-03 23:28:12 UTC
* list=exturlusage (eu) *
  Enumerate pages that contain a given URL

And it's usable as a generator....
Comment 2 Sam Reed (reedy) 2011-01-03 23:44:29 UTC
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..
Comment 3 Sam Reed (reedy) 2011-01-05 03:05:33 UTC
Do you want to be searching by url and protocol? I'm guessing so...
Comment 4 db [inactive,noenotif] 2011-01-05 11:34:59 UTC
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
Comment 5 Sam Reed (reedy) 2011-01-05 19:46:01 UTC
r79659

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


Navigation
Links