Interwiki/pt-br

Links Interwiki são tipos especiais de links para sites fora do seu wiki que se parecem com links normais.

Para que o MediaWiki saiba para onde você deseja fazer o link, os links interwiki precisam de um prefixo seguido pela página para a qual você está ligando. Por exemplo, se você criar um link para a página "Wikipedia:Requirements for adminship" na Wikipedia em inglês, um link direto para ela seria semelhante a: https://en.wikipedia.org/wiki/Wikipedia:Requirements_for_adminship ou se você adicionar texto a ela, como isso aqui. Se você fosse usar um link interwiki, você poderia usar $ wprfanw em vez do link que resultaria em: w:Wikipedia:Requirements for adminship, ou se você adicionou um texto, como isso.

How to use
Interwiki links work just like normal links, the only difference is that you need to tell MediaWiki where you're linking to. To do this, you need to add a prefix that has a website assigned to it to tell MediaWiki where to send users to.

For example, Miraheze has globally assigned the w prefix to the English Wikipedia and will redirect you to any article on there if you prefix the link with w (e.g. w :Wikipedia:Requirements for adminship will redirect you to the English Wikipedia article "Wikipedia:Requirements for adminship"). To check what websites are usable by default via interwiki, check Special:Interwiki here on Miraheze Meta.

For your safety, interwiki prefixes need to be added manually to your local interwiki table by a global Interwiki administrator to make sure no one can trick users into clicking a link which redirects them to an unsafe website. To learn how to request a new website added to your local interwiki table, see the Requesting additions section.

Linking to other Miraheze wikis
To link to any Miraheze wiki through Interwiki links, simply use the following format: mh::. For example, to link to the page "TestWiki:Testing pages" on the Public Test Wiki (test.miraheze.org), you can use mh:test:TestWiki:Testing pages and it would render as mh:test:TestWiki:Testing pages or if you add text, as whatever you choose the text to be!

Linking off Miraheze
Miraheze also supports custom interwiki links to websites off Miraheze. For example, to link to the English Wikipedia, you can use . To see a full list of global interwiki prefixes, check Special:Interwiki here on Miraheze Meta.

You can also request new websites be added to your local interwiki table. See Requesting additions for more information.

Requesting additions
To request a new addition to your local interwiki prefix by a global Interwiki administrator, you may ask on the Community noticeboard, on IRC, or Discord. Make sure to include what website you want added to the interwiki table, what prefix it should use and if Forwarding or Transclusion should be enabled. Note that you can always request a global interwiki prefix be overridden on your wiki.

Forwarding in Interwiki terms means that if another website links to your wiki and links to a page containing the interwiki prefix, should your wiki redirect them to the destination? For example, if a website links to https://wiki.miraheze.org/wiki/w:WP:1984, should your wiki redirect them correctly to https://en.wikipedia.org/wiki/WP:1984? If set to no then your wiki will return a "Bad title" error.
 * What's Forwarding?

Transclusion is what templates do; when you invoke a template on a page, it displays the content of the template on that page. In that same way, if you enable cross-wiki transclusion, you would be able to display the contents of the linked page if you used it like a template even if the page isn't on your wiki. For example, on your wiki, if you were to use, it would display the content of this page on your wiki even though this page doesn't exist on your wiki!
 * What's Transcluding?

An interwiki administrator will ensure the destination website is safe and will add it to the table. Once done, it should be usable immediately.

Interlanguage
See Help:Interlanguage for more information.

Interlanguage links are special links displayed on the sidebar, menu, or somewhere else depending on the skin which link to articles in other languages. For more information on requesting it setup, please check the aforementioned article.