Jump to content

Topic on User talk:Ostrzyciel/Flow

Dallacozz (talkcontribs)

Thanks for all your great work. I am trying to use your Advanced Backlinks extension to get backlinks for a bunch of pages within the wikitext but excluding Nav Bar links. I have been trying to do this using Python. Is this possible?

Ostrzyciel (talkcontribs)

Hi!

First of all, please remember that this extension requires you to hack MediaWiki core and add two hooks there. I do not offer any specific instructions on that beyond an old patch that is linked on the extension page.

If that doesn't scare you off, the extension actually has a fully-fledged API with filters that can do that. Use the "query" action with the "ab_linkshere" prop. Example of how this could work: https://nonsa.pl/index.php?title=Specjalna:%C5%9Arodowisko_testowe_API&uselang=en#action=query&format=json&prop=ab_linkshere&titles=PKP%20Intercity&ablhshow=direct

Reply to "Advanced Backlinks"