FlominatorTM / wikiblame

http://wikipedia.ramselehof.de/wikiblame.php
GNU General Public License v3.0
54 stars 13 forks source link

Not working for fandom? #51

Open PlNG opened 3 months ago

PlNG commented 3 months ago

I don't know if something changed here or there. The blame tool is querying https://<language>.fandom.com/w/api.php Which is not the correct URL, it gets forwarded to /wiki/ and turned into an article lookup. The fandom API is at https://<language>.fandom.com/api.php

Wikipedia still works.

FlominatorTM commented 3 months ago

This hacky fix should do for the moment. Is there any smarter approach?

kidhanis commented 3 months ago

There's a link element inside the head of wiki pages for RSD discovery of the API. For example, the element in community.fandom.com pages is

<link rel="EditURI" type="application/rsd+xml" href="https://community.fandom.com/api.php?action=rsd">

If that doesn't work, then Special:Version has a section for Entry point URLs.