About [[MediaWiki:Interwiki local 0 intro]] and [[MediaWiki:Interwiki local 1 intro]]
Appearance
The english messages are wrong. Look at mw:Manual:Interwiki_table.
- MediaWiki:Interwiki local 0 intro
- not honored, usually blocked by "page not found".
- Problem: You don't get a page not found error, but a bad title one, which is very different! you can't even create that page on the wiki (with that preffix), and any page with that preffix will be not accessible.
- Suggested change: not honored, a bad title page will be displayed instead (probably using {{int:badtitle}} here).
- MediaWiki:Interwiki local 1 intro
- redirected to the target URL given in the interwiki link definitions (i.e. treated like references in local pages).
- Problem: What does treated like references in local pages mean? No, they're not references in local pages, since you're being redirected to a whole different wiki/server! This makes no sense to me.
- Suggested change: Simply remove the (i.e. treated like references in local pages) part
I don't know if they can be changed here or need to be changed directly in code.
Directly in code, see FAQ.
- The first change you propose is ok, though you may need to check if there's enough space to quote the error.
- The second I think you misinterpreted: it's just bad English meaning "treated like links to local pages". From a practical perspective and from the original goal of the feature, i.e. a network of wikis which are interlinked like a single wiki, that's not so incorrect. Though of course there are differences, like the HTTP code returned (301 is not an error though) and the colour.
# Non-local interwiki $ curl -I https://meta.wikimedia.org/wiki/betawiki:Foo HTTP/1.1 400 Bad Request # Local interwiki $ curl -I https://meta.wikimedia.org/wiki/mw:Foo HTTP/1.1 301 Moved Permanently # Local redirect $ curl -I https://meta.wikimedia.org/wiki/S HTTP/1.1 200 OK
Can you submit a patch? :)
Ok, there's enough room for the message, since it's displayed on the legend at Special:Interwiki (collapsed)
About the second one, I still think that the clarification is misleading, suggesting that you'll see the foreign wiki content on the local wiki (domain, URL, etc), but that's OK. Will submit the patch when I have time.
Patch submitted: gerrit:113541. Awaiting review