Extension talk:Interwiki

About this board

Just a note to say that this works with 1.5 too! Thanks.

Previous discussion was archived at Extension talk:Interwiki/Archive 1 on 2019-01-24.

Modifying interwiki URLs with SQL?

1
Justin C Lloyd (talkcontribs)

I have a procedure for "backporting" the contents (i.e. databases and uploaded files) of our production wikis to their dev copies. The wikis are in AWS using Aurora MySQL, so part of the procedure is to create snapshots of the four production database clusters and restoring them as new dev clusters. However, the iw_url values that link pages across the four wikis (EN, DE, FR, ES languages) contain the hostnames of the production wikis, so the dev wikis' interwiki links redirect to the production wikis. Would it be safe to simply run a SQL command to update the iw_url values in the dev wikis' databases, or might there be a better approach (other than manually logging in to each wiki to edit the Special:Interwiki pages manually)?

Reply to "Modifying interwiki URLs with SQL?"

Problem with adding protocol-relative URLs on some browsers

3
CharredShorthand (talkcontribs)

The field to enter the URL on Special:Interwiki is an <input type="url">, and Firefox checks that such fields contain valid URLs before allowing form submission. The protocol-relative syntax starting with //is treated as invalid - rightly, since it's not a real URL - so you can't submit the form. (Unless you use inspect element to change the input type to "text", which is what I did).

I think probably what should be done is just change the markup so the input type is "text".

Dinoguy1000 (talkcontribs)

Protocol-relative URLs should not generally be used anyways - if a site supports HTTPS, links to it should exclusively be HTTPS, and otherwise links will need to be HTTP. Protocol-relative URLs were only used on WMF wikis as a stopgap interim measure when secure viewing was being rolled out to everyone by default.

CharredShorthand (talkcontribs)

That makes good sense, but if the feature is still to be supported at all then it's probably worth the trivial fix to the markup, and if it should never be used then perhaps it should just be removed.

Reply to "Problem with adding protocol-relative URLs on some browsers"

Interwiki links dependancy from ULS with Vector-2022 and MW 1.39

2
Summary by Fokebox

The issue has been resolved at MW 1.40.0

Fokebox (talkcontribs)

Hi,

I have updated my multilanguage wiki website to current MW version:

Product Version
MediaWiki 1.39.3
PHP 8.0.28 (cgi-fcgi)
MySQL 5.7.34

And I interwiki links installed. What I have noticed that with MW 1.39.3 interwiki links disappeared and requires to install ULS extension to be shown. As this extension works not properly at my website and I never need this extension, is there a way to switch interwiki links without ULS extenaion. What strange is that only Vector-2022 skin requires ULS for interwiki. With other skins I do see all my language links. Please help.

Fokebox (talkcontribs)

The issue has been resolved at MW 1.40.0

Interwiki add error

1
Funa-enpitu (talkcontribs)

When adding Interwiki, I get "Could not add prefix 'xxx' to Interwiki table. It may already exist in the interwiki table" and cannot be added. I checked and couldn't find an interwiki with the same name.

URL: https://repl-test-wiki.funa7.repl.co

LocalSettings.php:

Reply to "Interwiki add error"

Transclude field deprecated?

1
Vollbracht (talkcontribs)

There must have been a transclude field in interwiki prefix table. Why is it still mentioned in :w:special:interwiki. Is this still anything good for?

Reply to "Transclude field deprecated?"

Central interwiki table for Wikimedia

3
Sophivorus (talkcontribs)

So is Wikimedia using the central interwiki feature? And if so, then what is the central wiki? Is it Meta?

Kghbln (talkcontribs)

I think they are using Wikidata for this if I am not mistaken.

Dinoguy1000 (talkcontribs)

The interwiki list is still pulled from meta:Interwiki map, somehow. I don't know the details, though.

Reply to "Central interwiki table for Wikimedia"
There are no older topics