Last modified: 2007-09-04 14:47:35 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 T12980, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10980 - add exclude redirects on backlinks or indicate redirect in result
add exclude redirects on backlinks or indicate redirect in result
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-18 01:24 UTC by Carl Fürstenberg
Modified: 2007-09-04 14:47 UTC (History)
1 user (show)

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


Attachments

Description Carl Fürstenberg 2007-08-18 01:24:52 UTC
Either add an option blexcluderedirect, or add a isredirect="true" to <bl />

probably similar should be done to other lists.

This is important for some applications, where redirects should be ignored.
Comment 1 Roan Kattouw 2007-09-03 20:41:39 UTC
Assigning to self, as a reminder to fix this tomorrow.
Comment 2 Roan Kattouw 2007-09-04 14:47:35 UTC
Fixed in r25476. I added the blfilterredir param, which you can set to redirects (only redirects), nonredirects (only non-redirects) or all (default). If you want to know which of your backlinks are redirects, use a generator:

api.php?action=query&generator=backlinks&gbltitle=Main%20Page&prop=info

This will feed Main Page's backlinks to prop=info, who will happily tell you whether or not it's a redirect.

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


Navigation
Links