Last modified: 2011-08-20 16:21:51 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 T32475, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30475 - Add an option to skip missing articles and resolve redirects from links / pl results
Add an option to skip missing articles and resolve redirects from links / pl ...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-20 12:50 UTC by Mihael Simonič
Modified: 2011-08-20 16:21 UTC (History)
4 users (show)

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


Attachments

Description Mihael Simonič 2011-08-20 12:50:49 UTC
Would it be possible to add an option to filter out missing articles (red links) and resolve redirects (i.e. if both "ab" and "abc" links appear as link on page and both are redirects to "abcd", only "abcd" would show up) from "links / pl" (API Query) results? 

Greetings, 
Mihael
Comment 1 Roan Kattouw 2011-08-20 13:21:18 UTC
Using a generator does both of those things:

http://en.wikipedia.org/w/api.php?action=query&generator=links&titles=FUBAR&gpllimit=max&redirects
Comment 2 Mihael Simonič 2011-08-20 16:21:51 UTC
Thanks.

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


Navigation
Links