Page MenuHomePhabricator

Make a special page to expose iwbacklinks
Open, LowPublic

Description

For a few releases now we have iwbacklinks. However, while it is exposed in the API, there is no special page for it.

This would be similar to Special:LinkSearch and Special:WhatLinksHere from the user perspective in that it takes a target (in this case an interwiki prefix and title), and paginates through pages on the current wiki that link to it.


See Also:
T3886: A cross-wiki "What links here" (aggregate local iwbacklinks from wikis)
T14833: Provide Special:ExternalLinksFromHere which displays in-line links from Wikipedia, Wikibooks, commons, meta, etc.

Details

Reference
bz66293

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:23 AM
bzimport set Reference to bz66293.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle created this task.Jun 6 2014, 11:47 PM
01tonythomas added a subscriber: 01tonythomas.EditedMar 16 2015, 5:52 AM

For a few releases now we have iwbacklinks. However, while it is exposed in the API, there is no special page for it.

If someone added more information to the description, like 'which API', it would be easy for a potential contributor to fix this. Its tagged with good first task tag though.

Nemo_bis set Security to None.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 7 2016, 9:03 PM
Reedy added a subscriber: Reedy.Jan 7 2016, 9:12 PM

For a few releases now we have iwbacklinks. However, while it is exposed in the API, there is no special page for it.

If someone added more information to the description, like 'which API', it would be easy for a potential contributor to fix this. Its tagged with good first task tag though.

I presume it's https://en.wikipedia.org/w/api.php?action=help&modules=query%2Biwbacklinks

Is this feature currently working?
The example link given at: https://en.wikipedia.org/w/api.php?action=help&modules=query%2Biwbacklinks
doesn't work: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=iwbacklinks&iwbltitle=Test&iwblprefix=wikibooks
plus iwbacklinks doesn't appear in the dropdown menu at https://www.mediawiki.org/wiki/Special:ApiSandbox

If so, something needs to be fixed there.
If not, the manual page needs to be updated: https://www.mediawiki.org/wiki/API:Iwbacklinks

Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptNov 8 2016, 11:41 PM
Reedy added a comment.Nov 8 2016, 11:42 PM

Is this feature currently working?
The example link given at: https://en.wikipedia.org/w/api.php?action=help&modules=query%2Biwbacklinks
doesn't work: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=iwbacklinks&iwbltitle=Test&iwblprefix=wikibooks
plus iwbacklinks doesn't appear in the dropdown menu at https://www.mediawiki.org/wiki/Special:ApiSandbox

If so, something needs to be fixed there.
If not, the manual page needs to be updated: https://www.mediawiki.org/wiki/API:Iwbacklinks

Wikidata?

Anomie added a subscriber: Anomie.Nov 10 2016, 6:06 PM

That's because nothing on enwiki links to wikibooks:Test. It's not possible for API examples to give examples that will always give results every single time, many simply include a valid query that might need tweaking for the particular wiki you're on.

If you try it with no title, or with a title that is linked from enwiki, it works fine.

https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=iwbacklinks&iwblprefix=wikibooks
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=iwbacklinks&iwbltitle=0.999...&iwblprefix=wikibooks

plus iwbacklinks doesn't appear in the dropdown menu at https://www.mediawiki.org/wiki/Special:ApiSandbox

Yes it does.

Aklapper removed a subscriber: Anomie.Oct 16 2020, 5:03 PM