Extension talk:InterwikiExtracts

Jump to navigation Jump to search

About this board

How to use with non english wikipedia?

Quattroecci (talkcontribs)


with the english Wikipedia it works perfectly for me.

I guess it should also be possible to use it with non english Wikipedia articles, e.g. german Wikipedia, but I don't know how.

I added in Special:Interwikitable

wikipedia_de | https://de.wikipedia.org/wiki/$1


I get the error message: "The specified wiki has no API endpoint defined"

Maybe somebody can help me, thanks in advance!

Sophivorus (talkcontribs)

Hi! The problem is that when you add a new interwiki via Special:Interwiki, it's not possible to enter the URL of the API (the interface doesn't support that). You must add it directly to the interwiki table with a SQL command like the following:

UPDATE interwiki SET iw_api = "https://de.wikipedia.org/w/api.php" WHERE iw_prefix = "wikipedia_de";

Let me know if you manage to do it and I'll add these instructions to the documentation.

Quattroecci (talkcontribs)

Hi! I am not so experienced with SQL tables and commands, but I simply executed your sql via phpMyAdmin and it worked perfectly.

Thank you!

There are no older topics